Re: Read /etc/shadow...

2001-10-18 Thread Hengky Stevanus
oke thx RaFaL, I'm trying to create the web base mail, first thing to do is i'll like to create the authentication user first. ok by simple does anybody using mailman... i've been try to look at the script and i still don't understand how the mailman login to another mailserver... if anybody ha

Re: Read /etc/shadow...

2001-10-15 Thread RaFaL Pocztarski
ile) or die "$passwdfile: $!\n"; and you'll know why it exits. Ordinary users can't read /ets/shadow (and that's the only reason why /etc/shadow is more secure than single /etc/passwd). If you really have to read /etc/shadow (and you really know what you are doing), you can

Re: Read /etc/shadow...

2001-10-12 Thread Hengky Stevanus
hi all, i'm reading at cpan.org using a module CfgTie::TieShadow how to use it...? i'm newbie here... what should i add at the top of a script before i can use the CfgTie::TieShadow thx > Hello hengky, > > Do you realy need the password ot the user ? In your script, you only > check on the

Read /etc/shadow...

2001-10-11 Thread Hengky Stevanus
does anybody can help me... the script below has been change 'chown root.root checklogin.pl' ## Start Script ### $passwdfile = "/etc/shadow"; open (PASSWD, $passwdfile) or exit 1; # Always exit when we running not as root while (defined($line = )) { chomp($line); ($usr,$pswd) = (split(/