Re: useradd with empty -k doesn't chown/chmod new home directory

2013-08-31 Thread patrick keshishian
On Sat, Aug 31, 2013 at 06:23:25AM -0600, Todd C. Miller wrote: > Assuming we want to make this a non-fatal error the following should > do. You meant non-existent skel dir, not empty. Unless you meant empty argument for -k option, i.e., -k "", but is there a good use-case for that? Also, I recal

Re: useradd with empty -k doesn't chown/chmod new home directory

2013-08-31 Thread Kenneth R Westerback
On Sat, Aug 31, 2013 at 06:23:25AM -0600, Todd C. Miller wrote: > Assuming we want to make this a non-fatal error the following should > do. > > - todd > > Index: usr.sbin/user/user.c > === > RCS file: /home/cvs/openbsd/src/usr.sbin

Re: useradd with empty -k doesn't chown/chmod new home directory

2013-08-31 Thread Todd C. Miller
Assuming we want to make this a non-fatal error the following should do. - todd Index: usr.sbin/user/user.c === RCS file: /home/cvs/openbsd/src/usr.sbin/user/user.c,v retrieving revision 1.95 diff -u -r1.95 user.c --- usr.sbin/user/