in reply to Passwords on unix
Hi,
Sorry, but the way proposed by robartes, while certanly a solution is not 'the right thing'.
If you want to authenticate a user there are two aspects that must be adressed:
The first problem depends on the kind of interface you use (GUI, command line...). I'll try to help you there if you say something more about your interface.
the second problem is where the meat is. If, as it is the case of allmost all Unix installation these days, your system uses PAM, you could use the wonderfull modules avaible on CPAN Authen::PAM and Authen::SimplePam. The first is more powerfull, while the second, as the name suggests, is simpler and generally adapted to solve the kind of problems you have.
If any problem should arise using these modules, feel free to ask again, I'll try to help as well as I can
Hoping the help does some good...
|
|---|