Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/pw/tests/pw-modified.conf
Show All 17 Lines | |||||
skeleton = "/usr/share/skel" | skeleton = "/usr/share/skel" | ||||
# Mail this file to new user (/etc/newuser.msg or no) | # Mail this file to new user (/etc/newuser.msg or no) | ||||
newmail = "no" | newmail = "no" | ||||
# Log add/change/remove information in this file | # Log add/change/remove information in this file | ||||
logfile = "/var/log/userlog" | logfile = "/var/log/userlog" | ||||
# Mode for the log file, will be modified by umask | |||||
logmode = 0600 | |||||
ngie: It would probably be a good idea to use a a) non-default value and a b) default value to ensure… | |||||
# Root directory in which $HOME directory is created | # Root directory in which $HOME directory is created | ||||
home = "/home" | home = "/home" | ||||
# Mode for the new $HOME directory, will be modified by umask | # Mode for the new $HOME directory, will be modified by umask | ||||
homemode = 0777 | homemode = 0777 | ||||
# Colon separated list of directories containing valid shells | # Colon separated list of directories containing valid shells | ||||
shellpath = "/bin" | shellpath = "/bin" | ||||
Show All 29 Lines |
It would probably be a good idea to use a a) non-default value and a b) default value to ensure that a) the logmode value is honored and b) the default value for a logfile is 0600, per the spec.