Advertisement
Guest User

Untitled

a guest
May 7th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.82 KB | None | 0 0
  1. # login.conf - login class capabilities database.
  2. #
  3. # Remember to rebuild the database after each change to this file:
  4. #
  5. # cap_mkdb /etc/login.conf
  6. #
  7. # This file controls resource limits, accounting limits and
  8. # default user environment settings.
  9. #
  10. # $FreeBSD: src/etc/login.conf,v 1.51.6.1 2008/11/25 02:59:29 kensmith Exp $
  11. #
  12.  
  13. # Default settings effectively disable resource limits, see the
  14. # examples below for a starting point to enable them.
  15.  
  16. # defaults
  17. # These settings are used by login(1) by default for classless users
  18. # Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
  19. #
  20. # Note that since a colon ':' is used to separate capability entries,
  21. # a \c escape sequence must be used to embed a literal colon in the
  22. # value or name of a capability (see the ``CGETNUM AND CGETSTR SYNTAX
  23. # AND SEMANTICS'' section of getcap(3) for more escape sequences).
  24.  
  25. default:\
  26. :passwd_format=md5:\
  27. :copyright=/etc/COPYRIGHT:\
  28. :welcome=/etc/motd:\
  29. :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
  30. :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\
  31. :nologin=/var/run/nologin:\
  32. :cputime=unlimited:\
  33. :datasize=unlimited:\
  34. :stacksize=unlimited:\
  35. :memorylocked=unlimited:\
  36. :memoryuse=unlimited:\
  37. :filesize=unlimited:\
  38. :coredumpsize=unlimited:\
  39. :openfiles=unlimited:\
  40. :maxproc=unlimited:\
  41. :sbsize=unlimited:\
  42. :vmemoryuse=unlimited:\
  43. :priority=0:\
  44. :ignoretime@:\
  45. :umask=022:
  46. :charset=iso-8859-15:\
  47. :lang=fr_FR.ISO8859-15:
  48. lang=fr_FR:\
  49. lc_all=fr_FR:\
  50. lc_collate=fr_FR:\
  51. lc_cty pe=fr_FR:\
  52. lc_messages=fr_FR:\
  53. lc_monetary=fr_FR:\
  54. lc_numeric=fr_FR:\
  55. lc_time=fr_FR:\
  56.  
  57.  
  58. #
  59. # A collection of common class names - forward them all to 'default'
  60. # (login would normally do this anyway, but having a class name
  61. # here suppresses the diagnostic)
  62. #
  63. standard:\
  64. :tc=default:
  65. xuser:\
  66. :tc=default:
  67. staff:\
  68. :tc=default:
  69. daemon:\
  70. :tc=default:
  71. news:\
  72. :tc=default:
  73. dialer:\
  74. :tc=default:
  75.  
  76. #
  77. # Root can always login
  78. #
  79. # N.B. login_getpwclass(3) will use this entry for the root account,
  80. # in preference to 'default'.
  81. root:\
  82. :ignorenologin:\
  83. :tc=default:
  84.  
  85. #
  86. # Russian Users Accounts. Setup proper environment variables.
  87. #
  88. russian|Russian Users Accounts:\
  89. :charset=KOI8-R:\
  90. :lang=ru_RU.KOI8-R:\
  91. :tc=default:
  92.  
  93.  
  94. ######################################################################
  95. ######################################################################
  96. ##
  97. ## Example entries
  98. ##
  99. ######################################################################
  100. ######################################################################
  101.  
  102. ## Example defaults
  103. ## These settings are used by login(1) by default for classless users
  104. ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max"
  105. #
  106. #default:\
  107. # :cputime=infinity:\
  108. # :datasize-cur=22M:\
  109. # :stacksize-cur=8M:\
  110. # :memorylocked-cur=10M:\
  111. # :memoryuse-cur=30M:\
  112. # :filesize=infinity:\
  113. # :coredumpsize=infinity:\
  114. # :maxproc-cur=64:\
  115. # :openfiles-cur=64:\
  116. # :priority=0:\
  117. # :requirehome@:\
  118. # :umask=022:\
  119. # :tc=auth-defaults:
  120. #
  121. #
  122. ##
  123. ## standard - standard user defaults
  124. ##
  125. #standard:\
  126. # :copyright=/etc/COPYRIGHT:\
  127. # :welcome=/etc/motd:\
  128. # :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\
  129. # :path=~/bin /bin /usr/bin /usr/local/bin:\
  130. # :manpath=/usr/share/man /usr/local/man:\
  131. # :nologin=/var/run/nologin:\
  132. # :cputime=1h30m:\
  133. # :datasize=8M:\
  134. # :vmemoryuse=100M:\
  135. # :stacksize=2M:\
  136. # :memorylocked=4M:\
  137. # :memoryuse=8M:\
  138. # :filesize=8M:\
  139. # :coredumpsize=8M:\
  140. # :openfiles=24:\
  141. # :maxproc=32:\
  142. # :priority=0:\
  143. # :requirehome:\
  144. # :passwordtime=90d:\
  145. # :umask=002:\
  146. # :ignoretime@:\
  147. # :tc=default:
  148. #
  149. #
  150. ##
  151. ## users of X (needs more resources!)
  152. ##
  153. #xuser:\
  154. # :manpath=/usr/share/man /usr/local/man:\
  155. # :cputime=4h:\
  156. # :datasize=12M:\
  157. # :vmemoryuse=infinity:\
  158. # :stacksize=4M:\
  159. # :filesize=8M:\
  160. # :memoryuse=16M:\
  161. # :openfiles=32:\
  162. # :maxproc=48:\
  163. # :tc=standard:
  164. #
  165. #
  166. ##
  167. ## Staff users - few restrictions and allow login anytime
  168. ##
  169. #staff:\
  170. # :ignorenologin:\
  171. # :ignoretime:\
  172. # :requirehome@:\
  173. # :accounted@:\
  174. # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
  175. # :umask=022:\
  176. # :tc=standard:
  177. #
  178. #
  179. ##
  180. ## root - fallback for root logins
  181. ##
  182. #root:\
  183. # :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
  184. # :cputime=infinity:\
  185. # :datasize=infinity:\
  186. # :stacksize=infinity:\
  187. # :memorylocked=infinity:\
  188. # :memoryuse=infinity:\
  189. # :filesize=infinity:\
  190. # :coredumpsize=infinity:\
  191. # :openfiles=infinity:\
  192. # :maxproc=infinity:\
  193. # :memoryuse-cur=32M:\
  194. # :maxproc-cur=64:\
  195. # :openfiles-cur=1024:\
  196. # :priority=0:\
  197. # :requirehome@:\
  198. # :umask=022:\
  199. # :tc=auth-root-defaults:
  200. #
  201. #
  202. ##
  203. ## Settings used by /etc/rc
  204. ##
  205. #daemon:\
  206. # :coredumpsize@:\
  207. # :coredumpsize-cur=0:\
  208. # :datasize=infinity:\
  209. # :datasize-cur@:\
  210. # :maxproc=512:\
  211. # :maxproc-cur@:\
  212. # :memoryuse-cur=64M:\
  213. # :memorylocked-cur=64M:\
  214. # :openfiles=1024:\
  215. # :openfiles-cur@:\
  216. # :stacksize=16M:\
  217. # :stacksize-cur@:\
  218. # :tc=default:
  219. #
  220. #
  221. ##
  222. ## Settings used by news subsystem
  223. ##
  224. #news:\
  225. # :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
  226. # :cputime=infinity:\
  227. # :filesize=128M:\
  228. # :datasize-cur=64M:\
  229. # :stacksize-cur=32M:\
  230. # :coredumpsize-cur=0:\
  231. # :maxmemorysize-cur=128M:\
  232. # :memorylocked=32M:\
  233. # :maxproc=128:\
  234. # :openfiles=256:\
  235. # :tc=default:
  236. #
  237. #
  238. ##
  239. ## The dialer class should be used for a dialup PPP/SLIP accounts
  240. ## Welcome messages/news suppressed
  241. ##
  242. #dialer:\
  243. # :hushlogin:\
  244. # :requirehome@:\
  245. # :cputime=unlimited:\
  246. # :filesize=2M:\
  247. # :datasize=2M:\
  248. # :stacksize=4M:\
  249. # :coredumpsize=0:\
  250. # :memoryuse=4M:\
  251. # :memorylocked=1M:\
  252. # :maxproc=16:\
  253. # :openfiles=32:\
  254. # :tc=standard:
  255. #
  256. #
  257. ##
  258. ## Site full-time 24/7 PPP/SLIP connections
  259. ## - no time accounting, restricted to access via dialin lines
  260. ##
  261. #site:\
  262. # :ignoretime:\
  263. # :passwordtime@:\
  264. # :refreshtime@:\
  265. # :refreshperiod@:\
  266. # :sessionlimit@:\
  267. # :autodelete@:\
  268. # :expireperiod@:\
  269. # :graceexpire@:\
  270. # :gracetime@:\
  271. # :warnexpire@:\
  272. # :warnpassword@:\
  273. # :idletime@:\
  274. # :sessiontime@:\
  275. # :daytime@:\
  276. # :weektime@:\
  277. # :monthtime@:\
  278. # :warntime@:\
  279. # :accounted@:\
  280. # :tc=dialer:\
  281. # :tc=staff:
  282. #
  283. #
  284. ##
  285. ## Example standard accounting entries for subscriber levels
  286. ##
  287. #
  288. #subscriber|Subscribers:\
  289. # :accounted:\
  290. # :refreshtime=180d:\
  291. # :refreshperiod@:\
  292. # :sessionlimit@:\
  293. # :autodelete=30d:\
  294. # :expireperiod=180d:\
  295. # :graceexpire=7d:\
  296. # :gracetime=10m:\
  297. # :warnexpire=7d:\
  298. # :warnpassword=7d:\
  299. # :idletime=30m:\
  300. # :sessiontime=4h:\
  301. # :daytime=6h:\
  302. # :weektime=40h:\
  303. # :monthtime=120h:\
  304. # :warntime=4h:\
  305. # :tc=standard:
  306. #
  307. #
  308. ##
  309. ## Subscriber accounts. These accounts have their login times
  310. ## accounted and have access limits applied.
  311. ##
  312. #subppp|PPP Subscriber Accounts:\
  313. # :tc=dialer:\
  314. # :tc=subscriber:
  315. #
  316. #
  317. #subslip|SLIP Subscriber Accounts:\
  318. # :tc=dialer:\
  319. # :tc=subscriber:
  320. #
  321. #
  322. #subshell|Shell Subscriber Accounts:\
  323. # :tc=subscriber:
  324. #
  325. ##
  326. ## If you want some of the accounts to use traditional UNIX DES based
  327. ## password hashes.
  328. ##
  329. #des_users:\
  330. # :passwd_format=des:\
  331. # :tc=default:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement