su: incorrect password [message #121086] |
Wed, 25 May 2005 23:35 |
infoguy
Messages: 3 Registered: March 2005 Location: Bangalore
|
Junior Member |
|
|
I created a new user "oracle",
but when i try logging in, it throws error incorrect password.
su: incorrect password although it's correct
and if i login as root and then su postgres , it works.
Then command i used in creating user is
./useradd -d /home/oracle -p oracle oracle
Can anybody help us in solving it out.
Thanks in advance.
|
|
|
Re: su: incorrect password [message #121097 is a reply to message #121086] |
Thu, 26 May 2005 01:26 |
Frank Naude
Messages: 4587 Registered: April 1998
|
Senior Member |
|
|
If you use "useradd -p", you need to specify the encrypted password as returned by the crypt command. The easiest solution is not to specify -p, but do a "passwd oracle" to set the user's initial password.
Best regards.
Frank
|
|
|