Re: How to distinguish good or bad user using unlang and passwd module?

2009-03-08 Thread bastardinho69
t...@kalik.net wrote: I am using a passwd module to authorize users. No, you are using passwd module to store passwords. First passwd module checks It doesn't check anything - it returns the password stored for that user. cisco_users file (format = "*User-Name:Cleartext-Pa

Re: How to distinguish good or bad user using unlang and passwd module?

2009-03-08 Thread tnt
>I am using a passwd module to authorize users. No, you are using passwd module to store passwords. >First passwd module >checks It doesn't check anything - it returns the password stored for that user. >cisco_users file (format = "*User-Name:Cleartext-Password") and >then passwd module must ch

How to distinguish good or bad user using unlang and passwd module?

2009-03-08 Thread bastardinho69
Hi, I am using a passwd module to authorize users. First passwd module checks cisco_users file (format = "*User-Name:Cleartext-Password") and then passwd module must check cisco_groups file (format = "~Cisco-Group:*,User-Name"). However when passwd module checks the cisco_user file, it return