Re: Default valid shells and home dir permissions

2012-01-11 Thread Davit Avsharyan
I know how to change it :). I just wanted to understand why it comes 
with 755 and not 700 ?

Few years ago, if I'm not mistaken, everything was 700.

TRJ

On 12/01/12 4:49 AM, Jordon Bedwell wrote:

On Wed, Jan 11, 2012 at 3:37 AM, Kees de Jong  wrote:

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"  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


Change the dir_mode in /etc/adduser.conf



--
To UNSUBSCRIBE, email to debian-security-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f0e824b@gmail.com



Default valid shells and home dir permissions

2012-01-11 Thread Davit Avsharyan

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