PERFORCE change 44951 for review
Chris Vance
cvance at FreeBSD.org
Thu Jan 8 08:20:59 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=44951
Change 44951 by cvance at cvance_sony on 2004/01/08 08:19:56
The SEBSD policy doesn't permit login to follow symlinks, and since
FreeBSD seems to make /home a link to /usr/home, just create new
user account home dirs in /usr/home.
Affected files ...
.. //depot/projects/trustedbsd/sebsd/usr.sbin/sysinstall/user.c#2 edit
Differences ...
==== //depot/projects/trustedbsd/sebsd/usr.sbin/sysinstall/user.c#2 (text+ko) ====
@@ -713,7 +713,7 @@
/* Prevent this from being irritating if user really means NO */
if (filled < 3) {
if ((uname[0]) && !homedir[0]) {
- SAFE_STRCPY(homedir,"/home/");
+ SAFE_STRCPY(homedir,"/usr/home/");
strcat(homedir,uname);
RefreshStringObj(userLayout[LAYOUT_HOMEDIR].obj);
++filled;
More information about the p4-projects
mailing list