bin/175181: bsdinstall doesn't install base files from /usr/share/skel; breaks POLA

Garrett Cooper yanegomi at gmail.com
Thu Jan 10 15:00:00 UTC 2013


>Number:         175181
>Category:       bin
>Synopsis:       bsdinstall doesn't install base files from /usr/share/skel; breaks POLA
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 10 15:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        10-CURRENT
>Organization:
EMC Isilon
>Environment:
FreeBSD fallout.local 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r+96bb463: Tue Jan  8 00:39:55 PST 2013     root at fallout.local:/usr/obj/usr/src/sys/FALLOUT  amd64
>Description:
I grabbed one of gjb's livecd releases and when I was going through trying to set things up, I noticed that .profile wasn't installed to my home directory like I expect if I would have run pw useradd -m.

bsdinstall (and the password utility it uses) needs to follow an equivalent process because otherwise it's silly that one has to manually setup files in user's home directories when installing from the livecd.
>How-To-Repeat:
- Install from a FreeBSD 9.0+ LiveCD.
- Create a user foo.
- Note that ~foo/ doesn't contain .profile and other files from /usr/share/skel.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list