Brandin Creech wrote these words on 09/20/05 14:33 CST:
> So, here's what I suggest:
> 
> umask 0077
> mkdir /home/username &&
> useradd -m username

I don't have time to research it, but couldn't a rule be set in
/etc/default/useradd?

BTW - The instructions above could be made simpler by this:

install -m700 -d /home/username
useradd -m username
chown username/usergroup /home/username (this was added)

The stuff in /etc/skel will copy over with the same perms.

-- 
Randy

rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3]
[GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686]
14:37:00 up 171 days, 14:10, 3 users, load average: 0.00, 0.07, 0.32
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to