Re: [gentoo-user] Users in passwd/shadow

2007-10-01 Thread Bertram Scharpf
Hi, Am Sonntag, 30. Sep 2007, 20:15:06 -0500 schrieb Dan Farrell: On Sun, 30 Sep 2007 04:30:11 +0200 Bertram Scharpf [EMAIL PROTECTED] wrote: Now I detect there are users in passwd that don't have a shadow entry... that makes sense, because some users aren't allowed to log in. For

Re: [gentoo-user] Users in passwd/shadow

2007-10-01 Thread Dan Farrell
On Mon, 1 Oct 2007 09:47:37 +0200 Bertram Scharpf [EMAIL PROTECTED] wrote: Hi, Am Sonntag, 30. Sep 2007, 20:15:06 -0500 schrieb Dan Farrell: On Sun, 30 Sep 2007 04:30:11 +0200 Bertram Scharpf [EMAIL PROTECTED] wrote: Now I detect there are users in passwd that don't have a shadow

Re: [gentoo-user] Users in passwd/shadow

2007-09-30 Thread Dan Farrell
On Sun, 30 Sep 2007 04:30:11 +0200 Bertram Scharpf [EMAIL PROTECTED] wrote: Hi, I'm fetching the users from the files '/etc/passwd' and '/etc/shadow'. (I use a simple Ruby script.) def users fn ; File.open fn do |f| f.map { |l| l[ /^[^:]*/] } end ; end pw = users /etc/passwd

[gentoo-user] Users in passwd/shadow

2007-09-29 Thread Bertram Scharpf
Hi, I'm fetching the users from the files '/etc/passwd' and '/etc/shadow'. (I use a simple Ruby script.) def users fn ; File.open fn do |f| f.map { |l| l[ /^[^:]*/] } end ; end pw = users /etc/passwd sh = users /etc/shadow Now I detect there are users in passwd that don't have a shadow