On Thursday 01 March 2001 17:37, Joe Njeru wrote:
>  Hi All,
>
>  Is there a way I can export the users in my Linux machine to a mysql
>  database. Together with their passwords without manually entering all of
>  them.

the passwords are usually encrypted and stored in /etc/passwd or /etc/shadow

you'll have to make a script that takes values from here and stores them in 
the DB.

these passwords cannot usually be decrypted, so for verification/validation 
you will have to use the same encryption algorithm on the password that the 
users have sent and compare this with the encrypted key.

>  I will appreciate any input.
>  Thanks in advance,
>
>  Joe Njeru
>  Nairobi, Kenya.
>  "Where the sun shines all day!!"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to