Home » Infrastructure » Linux » su: incorrect password
su: incorrect password [message #121086] Wed, 25 May 2005 23:35 Go to next message
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 Go to previous message
Frank Naude
Messages: 4579
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
Previous Topic: oracle 9i installation on redhat linux
Next Topic: Help with connection tracking!!
Goto Forum:
  


Current Time: Fri Apr 19 13:47:37 CDT 2024