For the home dirs try this: dpkg-reconfigure adduser. Then choose 'no'. I
think that should do the trick. I am on my Android right now so I can't
check it for you.
--
Met vriendelijke groet,
Kees de Jong
On Jan 11, 2012 10:09 AM, "Davit Avsharyan"<avsharyan@gmail.com> wrote:
Hi ppl.,
1/ I'm wondering why most of the system users have valid shells by
default ?
cat /etc/passwd | grep -E '(sh|bash)' | wc -l
21
2/ Why, by default, new users' home directories have 755 ?
Every time I create a new account, I have to change it to 700.
Why it's like this ? any special reasons ?
These are what I've checked on my Squeeze boxes.
Rgrds,
Davit