how to set crypted password in 'users' file?
Hi all, I'm able to make clear text password work by adding entry in 'users' file: mqiu Auth-Type := Local, User-Password == "clear-text" However, cut and past the crypted password from /etc/shadow to the entry failed: mqiu Auth-Type := Local, User-Password == "$1$CWOjXm2v$dzjrc385t1iQXMN0" Change above Auth-Type to "pam" or "unix" does not work. My question is how to set an crypted password in 'users' file? In addition, how to set different passwords for the same user in different hosts? something like: mqiu@10.1.1.0/24 Auth-Type := Local, User-Password == "pass1" mqiu@10.1.2.0/24 Auth-Type := Local, User-Password == "pass2" ... mqiu@10.1.N.0/24 Auth-Type := Local, User-Password == "passN" I have freeradius-1.0.4-1.FC4.1 installed. Thanks a lot, Min
participants (2)
-
Alan DeKok -
Min Qiu