login.conf revision 26021
115103Sphk# Sample login.conf - login class capabilities database. 215103Sphk# To speed up access to this data, you can use /usr/bin/cap_mkdb 315103Sphk# to create a database form of this file: 415103Sphk# 515103Sphk# cap_mkdb /etc/login.conf 615103Sphk# 715103Sphk# Don't forget to do this after each edit as well! 815103Sphk# 915103Sphk# This file controls resource limits, accounting limits and 1015103Sphk# default user environment settings. 1115103Sphk# 1215103Sphk# $Id: login.conf,v 1.10 1997/05/19 00:03:48 gpalmer Exp $ 1315103Sphk# 1415103Sphk 1515103Sphk 1615103Sphk# Authentication methods 1715103Sphk 1815103Sphkauth-defaults:\ 1915103Sphk :auth=krb_skey_or_passwd,passwd,kerberos,skey: 2015103Sphk 2115103Sphkauth-root-defaults:\ 2215103Sphk :auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\ 2315103Sphk :auth-rlogin=krb_or_skey,kerberos,skey:\ 2415103Sphk 2515103Sphkauth-ftp-defaults:\ 2615103Sphk :auth=skey_or_pwd,passwd,skey: 2715103Sphk 2815103Sphk 2915103Sphk# Example defaults 3015103Sphk# These settings are used by login(1) by default for classless users 3115103Sphk# Note that entries like "cputime" set both "cputime-cur" and "cputime-max" 3215103Sphk 3315103Sphkdefault:\ 3415103Sphk :cputime=infinity:\ 3515103Sphk :datasize-cur=16M:\ 3615103Sphk :stacksize-cur=8M:\ 3715103Sphk :memorylocked-cur=10M:\ 38116182Sobrien :memoryuse-cur=30M:\ 39116182Sobrien :filesize=infinity:\ 40116182Sobrien :coredumpsize=infinity:\ 41175417Sjhb :maxproc-cur=64:\ 4286190Srwatson :openfiles-cur=64:\ 43169604Swkoszek :priority=0:\ 4484611Srwatson :requirehome@:\ 4515103Sphk :umask=022:\ 4615103Sphk :tc=auth-defaults: 47169507Swkoszek 4815103Sphk 4915103Sphk# 5015103Sphk# standard - standard user defaults 5187275Srwatson# 5287275Srwatsonstandard:\ 5346155Sphk :copyright=/etc/COPYRIGHT:\ 5476078Sjhb :welcome=/etc/motd:\ 55105046Smike :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\ 5628918Skato :path=~/bin /bin /usr/bin /usr/local/bin:\ 5715103Sphk :manpath=/usr/share/man /usr/local/man:\ 5815103Sphk :nologin=/etc/nologin:\ 5915103Sphk :cputime=1h30m:\ 6015103Sphk :datasize=8M:\ 6115103Sphk :stacksize=2M:\ 6215103Sphk :memorylocked=4M:\ 6323382Sbde :memoryuse=8M:\ 6415103Sphk :filesize=8M:\ 6515103Sphk :coredumpsize=8M:\ 6615103Sphk :openfiles=24:\ 6715103Sphk :maxproc=32:\ 6815103Sphk :priority=0:\ 6948891Sphk :requirehome:\ 7048891Sphk :passwordperiod=90d:\ 7115103Sphk :umask=002:\ 7215103Sphk :ignoretime@:\ 7315103Sphk :tc=default: 7415103Sphk 7515103Sphk 7615103Sphk# 7734925Sdufault# users of X (needs more resources!) 7834925Sdufault# 7934029Sdufaultxuser:\ 8050465Smarcel :manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\ 8150465Smarcel :cputime=4h:\ 8289414Sarr :datasize=12M:\ 8389414Sarr :stacksize=4M:\ 8486190Srwatson :filesize=8M:\ 8586190Srwatson :memoryuse=16M:\ 8686190Srwatson :openfiles=32:\ 8786190Srwatson :maxproc=48:\ 8850465Smarcel :tc=standard: 89116090Sjmallett 90116105Sjmallett 91116090Sjmallett# 9286189Srwatson# Staff users - few restrictions and allow login anytime 9388019Sluigi# 9415103Sphkstaff:\ 9586189Srwatson :ignorenologin:\ 9646381Sbillf :ignoretime:\ 9715103Sphk :requirehome@:\ 9886189Srwatson :accounted@:\ 9946381Sbillf :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ 10015103Sphk :umask=022:\ 10186189Srwatson :tc=standard: 10246381Sbillf 10315103Sphk 104119203Seivind# 105119203Seivind# root - fallback for root logins 106119203Seivind# 107119203Seivindroot:\ 10886189Srwatson :path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ 109119203Seivind :cputime=infinity:\ 11015103Sphk :datasize=infinity:\ 111121307Ssilby :stacksize=infinity:\ 11246381Sbillf :memorylocked=infinity:\ 11315103Sphk :memoryuse=infinity:\ 11486189Srwatson :filesize=infinity:\ 11546381Sbillf :coredumpsize=infinity:\ 11615103Sphk :openfiles=infinity:\ 117121307Ssilby :maxproc=infinity:\ 11880418Speter :memoryuse-cur=32M:\ 11980418Speter :maxproc-cur=64:\ 12086189Srwatson :openfiles-cur=1024:\ 12146381Sbillf :priority=0:\ 12215103Sphk :requirehome@:\ 12386189Srwatson :umask=022:\ 124105046Smike :tc=auth-root-defaults:\ 12515103Sphk 12686189Srwatson 12746381Sbillf# 12815103Sphk# Settings used by /etc/rc 12986189Srwatson# 13046381Sbillfdaemon:\ 13115103Sphk :cputime=infinity:\ 13215103Sphk :filesize=64M:\ 13386189Srwatson :datasize=32M:\ 13446381Sbillf :stacksize=16M:\ 13515103Sphk :coredumpsize=0:\ 13686189Srwatson :memoryuse-cur=64M:\ 13746381Sbillf :memorylocked-cur=64M:\ 13815103Sphk :maxproc=32:\ 13915103Sphk :openfiles=1024:\ 14015103Sphk :tc=default: 14115103Sphk 14286189Srwatson 14346381Sbillf# 14415103Sphk# Settings used by news subsystem 14586189Srwatson# 14646381Sbillfnews:\ 14715103Sphk :path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\ 14886189Srwatson :cputime=infinity:\ 14946381Sbillf :filesize=128M:\ 15015103Sphk :datasize-curr=64M:\ 15186189Srwatson :stacksize-cur=32M:\ 15246381Sbillf :coredumpsize-cur=0:\ 15315103Sphk :maxmemorysize-cur=128M:\ 154106605Stmm :memorylocked=32M:\ 155169727Skan :maxproc=128:\ 156169727Skan :openfiles=256:\ 157169727Skan :tc=default: 158169727Skan 159169727Skan 160169727Skan# 161169727Skan# The dialer class should be used for a dialup PPP/SLIP accounts 162169727Skan# Welcome messages/news suppressed 163169727Skan# 164169727Skandialer:\ 165169727Skan :hushlogin:\ 166169727Skan :requirehome@:\ 167106605Stmm :cputime=unlimited:\ 168106605Stmm :filesize=2M:\ 169106605Stmm :datasize=2M:\ 170106605Stmm :stacksize=4M:\ 171106605Stmm :coredumpsize=0:\ 172106605Stmm :memoryuse=4M:\ 173106605Stmm :memorylocked=1M:\ 174106605Stmm :maxproc=16:\ 175106605Stmm :openfiles=32:\ 176106605Stmm :tc=standard: 177106605Stmm 178106605Stmm 179142834Swes# 180142834Swes# Site full-time 24/7 PPP/SLIP connections 181142834Swes# - no time accounting, restricted to access via dialin lines 182142834Swes# 183142834Swessite:\ 184142834Swes :ignoretime:\ 185142834Swes :passwordperiod@:\ 186142834Swes :refreshtime@:\ 187142834Swes :refreshperiod@:\ 188106605Stmm :sessionlimit@:\ 189106605Stmm :autodelete@:\ 190106605Stmm :expireperiod@:\ 191106605Stmm :graceexpire@:\ 192170170Sattilio ;gracetime@:\ 193106605Stmm :warnexpire@:\ 194106605Stmm :warnpassword@:\ 195106605Stmm :idletime@:\ 196106605Stmm :sessiontime@:\ 197106605Stmm :daytime@:\ 198106605Stmm :weektime@:\ 199106605Stmm :monthtime@:\ 200106605Stmm :warntime@:\ 20128885Skato :accounted@:\ 20228885Skato :tc=dialer:\ 20346381Sbillf :tc=staff: 20428885Skato 20515103Sphk 20615103Sphk# 20746155Sphk# Example standard accounting entries for subscriber levels 20862573Sphk# 20946155Sphk 21087072Srwatsonsubscriber|Subscribers:\ 21187275Srwatson :accounted:\ 21246155Sphk :refreshtime=180d:\ 21315103Sphk :refreshperiod@:\ 21491406Sjhb :sessionlimit@:\ 21587072Srwatson :autodelete=30d:\ 21657163Srwatson :expireperiod=180d:\ 21786190Srwatson :graceexpire=7d:\ 21887275Srwatson :gracetime=10m:\ 21987275Srwatson :warnexpire=7d:\ 22087275Srwatson :warnpassword=7d:\ 22187275Srwatson :idletime=30m:\ 22287275Srwatson :sessiontime=4h:\ 22387275Srwatson :daytime=6h:\ 22487275Srwatson :weektime=40h:\ 22587275Srwatson :monthtime=120h:\ 22687275Srwatson :warntime=4h:\ 22787275Srwatson :tc=standard: 22887072Srwatson 22987275Srwatson 23087275Srwatson# 23187275Srwatson# Subscriber accounts. These accounts have their login times 23287275Srwatson# accounted and have access limits applied. 23387275Srwatson# 23487275Srwatsonsubppp|PPP Subscriber Accounts:\ 23587275Srwatson :tc=dialer:\ 23687275Srwatson :tc=subscriber: 23787275Srwatson 23887275Srwatson 23957111Srwatsonsubslip|SLIP Subscriber Accounts:\ 24086189Srwatson :tc=dialer:\ 24146155Sphk :tc=subscriber: 24246155Sphk 24346155Sphk 24446155Sphksubshell:Shell Subscriber Accounts:\ 24586189Srwatson :tc=subscriber: 24646155Sphk 24746381Sbillf 24846155Sphk# 24986190Srwatson# Russian Users Accounts. Setup proper environment variables. 25084611Srwatson# 25187072Srwatsonrussian:Russian Users Accounts:\ 25284611Srwatson :charset=KOI8-R:\ 25384611Srwatson :lang=ru_RU.KOI8-R:\ 25486190Srwatson :tc=default: 25584611Srwatson