Re: NIS password hashes fails from Redhat/Mandriva Linux

2012-01-12 Thread Luis M
El Jan 12, 2012, a las 18:32, Bichoy Waguih escribió: > I highly appreciate your support and suggestions. > > -Bichoy Disregarding the fact that your question is probably off topic, I'll try to point you in a direction that might help you. You may want to submit this to a "user" list or use a

Re: NIS password hashes fails from Redhat/Mandriva Linux

2012-01-12 Thread Mike Mestnik
On 01/12/12 17:32, Bichoy Waguih wrote: > Hello Debian World, > > I have a small problem with Debian NIS authentication. Mainly, I have NIS > server running on a Mandriva Linux machine and I want to configure a > Debian > machine to be a client for this NIS server. > > The Debian client receives th

Re: Default valid shells and home dir permissions

2012-01-12 Thread Mike Mestnik
On 01/12/12 16:16, Karl Goetz wrote: > On Thu, 12 Jan 2012 11:19:41 +0100 > Poison Bit wrote: > >> On Thu, Jan 12, 2012 at 7:48 AM, Davit Avsharyan >> wrote: >>> 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,

NIS password hashes fails from Redhat/Mandriva Linux

2012-01-12 Thread Bichoy Waguih
Hello Debian World, I have a small problem with Debian NIS authentication. Mainly, I have NIS server running on a Mandriva Linux machine and I want to configure a Debian machine to be a client for this NIS server. The Debian client receives the 'passwd' table correctly and I am able to check it w

Re: Default valid shells and home dir permissions

2012-01-12 Thread Karl Goetz
On Thu, 12 Jan 2012 11:19:41 +0100 Poison Bit wrote: > On Thu, Jan 12, 2012 at 7:48 AM, Davit Avsharyan > wrote: > > 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. > > No less than 9 yea

Re: Default valid shells and home dir permissions

2012-01-12 Thread Mike Mestnik
On 01/12/12 04:19, Poison Bit wrote: > On Thu, Jan 12, 2012 at 7:48 AM, Davit Avsharyan wrote: >> 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. The commit log(2000) is: Load adduser-3.12 int

Re: Default valid shells and home dir permissions

2012-01-12 Thread Poison Bit
On Thu, Jan 12, 2012 at 5:11 PM, Chris Davies wrote: > Poison Bit wrote: >> Why filter to those in /etc/shells ? I mean... the filter should be >> applied by the system :) > > Mainly because it's a convenient list of "real" shells, and some of the > remote service applications require a shell to

Re: Default valid shells and home dir permissions

2012-01-12 Thread Chris Davies
Poison Bit wrote: > Why filter to those in /etc/shells ? I mean... the filter should be > applied by the system :) Mainly because it's a convenient list of "real" shells, and some of the remote service applications require a shell to be in that list. FTP is one such that springs to mind. As a cou

Re: Default valid shells and home dir permissions

2012-01-12 Thread Poison Bit
On Thu, Jan 12, 2012 at 12:26 PM, Chris Davies wrote: > Davit Avsharyan wrote: >> 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*/ > > That's not necessarily sufficient to determine valid shells: the absenc

Re: Default valid shells and home dir permissions

2012-01-12 Thread Chris Davies
Davit Avsharyan wrote: > 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*/ That's not necessarily sufficient to determine valid shells: the absence of a shell definition implies the use of /bin/sh, so you need

Re: Default valid shells and home dir permissions

2012-01-12 Thread Poison Bit
On Thu, Jan 12, 2012 at 7:48 AM, Davit Avsharyan wrote: > 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. No less than 9 years. In 2003 I see the 755: http://anonscm.debian.org/viewvc/add