Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how to compare password in fedora core 3?

    i want to design login page ....
    i want to compare system user password to password which user entered in login page....

    hoping u u'stand what i mean....

  2. #2
    Linux User
    Join Date
    Aug 2005
    Passwrd are encrypted on /etc/passwd or /etc/shadow (with shadowing system).

    You should crypt the password provided and compare the two hashes. If they are equal, the password is right.

    I know you can use crypt routine, but I don't know if it's available for your language.

    Hoever, man crypt should give you enought informations.
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts