Date: Thu, 8 Jan 2004 08:20:56 -0800 (PST) From: Chris Vance <cvance@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 44951 for review Message-ID: <200401081620.i08GKumn039767@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=44951 Change 44951 by cvance@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401081620.i08GKumn039767>