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
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
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 "/et
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
shad
4 matches
Mail list logo