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



Re: Default valid shells and home dir permissions

2012-01-11 Thread Kees de Jong
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 avshar...@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




Upcoming stable point release

2012-01-11 Thread Adam D. Barratt

Hi,

The next point release for squeeze (6.0.4) is scheduled for Saturday 
January 28th.  Stable NEW will be frozen during the preceeding weekend 
(21st/22nd).


As usual, base-files can be uploaded at any point before the freeze.

If there is a further kernel update planned for inclusion in the point 
release, it would be ideal if that could be uploaded over the coming 
weekend so that we can look at finalising the installer later next week.


Regards,

Adam


--
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/b0343660143780d37f8c02ff126c5...@mail.adsl.funky-badger.org



Re: Default valid shells and home dir permissions

2012-01-11 Thread Jordon Bedwell
On Wed, Jan 11, 2012 at 3:37 AM, Kees de Jong keesdej...@gmail.com 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 avshar...@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



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/CAN5oe!u2bdwpowgkz6_pwrusgcqel7i+dj97cqxpu_6em...@mail.gmail.com



Re: Default valid shells and home dir permissions

2012-01-11 Thread Karl Goetz
On Wed, 11 Jan 2012 13:05:11 +0400
Davit Avsharyan avshar...@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*/

I've been wondering this too. If they're meant to be like that, I'm
forced to wonder why the Tiger packages WARN about them too.
thanks,
kk

-- 
Karl Goetz, (Kamping_Kaiser / VK7FOSS)
http://www.kgoetz.id.au
No, I won't join your social networking group


signature.asc
Description: PGP signature


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 Jongkeesdej...@gmail.com  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 Avsharyanavshar...@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


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