in reply to Using Unix passwd/shadow to authenticate in perl

  1. Indeed. On Linux, you will only get the (encrypted) password if you run your program with root permissions, as that's the only UID that can read /etc/shadow.
  2. 'perldoc -f crypt' has an example.

Abigail

  • Comment on Re: Using Unix passwd/shadow to authenticate in perl