Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Encrypting a password
> -----Original Message-----
> From: Rick_Stephenson_at_ovid.com [mailto:Rick_Stephenson_at_ovid.com]
>
> The problem is that I need one to encrypt a password in the
> same manner as
> the Sun OS. This is because we use the database to populate
> /etc/passwd.
> So if the OS can't compare passwords with what is stored in
> the database,
> then nobody will be able to log into the Unix box.
Could you write an external procedure on the Sun box that
a) changes the password for the user with the passwd command; b) retrieves the new password from the /etc/shadow file; c) returns the encrypted password to the database for storing in an Oracle table?