diff options
author | jim-p <jimp@pfsense.org> | 2015-06-08 08:23:03 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2015-06-08 08:25:00 -0400 |
commit | d969299690bbe14cdcc0241c1df4b21d15ef206a (patch) | |
tree | f7ffec05c6ed7bc84b1d289871db65bcae0f75a7 /etc/inc | |
parent | 5b2b1f4e57caec234fbc1ed1d61b28a79e67ef8c (diff) | |
download | pfsense-d969299690bbe14cdcc0241c1df4b21d15ef206a.zip pfsense-d969299690bbe14cdcc0241c1df4b21d15ef206a.tar.gz |
Use skel as the source of new user files rather than copying from root.
Reported-By: https://twitter.com/fitchitis/status/607850849172373504
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/auth.inc | 1 | ||||
-rw-r--r-- | etc/inc/dot.hushlogin | 0 |
2 files changed, 0 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 0a2cbfa..8b9377b 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -504,7 +504,6 @@ function local_user_set(& $user) { /* create user directory if required */ if (!is_dir($user_home)) { mkdir($user_home, 0700); - mwexec("/bin/cp /root/.* {$home_base}/", true); } @chown($user_home, $user_name); @chgrp($user_home, $user_group); diff --git a/etc/inc/dot.hushlogin b/etc/inc/dot.hushlogin new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/etc/inc/dot.hushlogin |