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-12 Thread Hengky Stevanus
you only > check on the user-name. > If you want to use the autdentication, then start another extern > checking program from your perl-script. > Hope this will help. > > Peter > > Hengky Stevanus wrote: > > > > hi Peter, > > thx for the information, but h

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(/

changing suid & groupid from webbase

2001-10-10 Thread Hengky Stevanus
i'm like to create a webbase mail... but while i reading at /var/spool/mail/$user it's not a valid user at the system, so how do i change the userid & groupid as the user login prompt ? i'm using seteuid, setuid, setpgrp but still not working... the uid & gid still nobody Please help me..