Home » Infrastructure » Linux » User Password Changed (Red Hat Linux)
User Password Changed [message #284387] Thu, 29 November 2007 08:51 Go to next message
neelabh_SE
Messages: 20
Registered: October 2007
Junior Member
Hello,

One of the user password has been changed and now i want to modify it. I'm able to use the root password but while i did su - username and passwd: it asks for current password. I don't know this passowrd so please suggest me a workaround.

I have Red Hat Linux environment but only have access to $ prompt.

Also can someone suggest me how to check the log to see how and who changed the user password.

thanks,
neel
Re: User Password Changed [message #284388 is a reply to message #284387] Thu, 29 November 2007 08:54 Go to previous messageGo to next message
Ronald Beck
Messages: 121
Registered: February 2003
Senior Member
As root, you should be able to enter...

passwd <username>

which would then allow you to set a new password for <username>. At least that's how it works in Sun Solaris.

HTH,
Ron
Re: User Password Changed [message #284530 is a reply to message #284388] Fri, 30 November 2007 00:21 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member

>>how to check the log to see how and who changed the user password

Go to System tools >system logs
Nov 30 11:41:39 kitcomp passwd(pam_unix)[8546]: password changed for oracle

There is lil piece of info when it was changed.May be u can dig more and update in forum ur findings .
Re: User Password Changed [message #284540 is a reply to message #284387] Fri, 30 November 2007 00:33 Go to previous messageGo to next message
BlackSwan
Messages: 25050
Registered: January 2009
Location: SoCal
Senior Member
>May be u can dig more and update in forum ur findings .
FYI, neither "u" nor "ur" are members of this forum.
Re: User Password Changed [message #284551 is a reply to message #284540] Fri, 30 November 2007 01:02 Go to previous messageGo to next message
gkrishn
Messages: 506
Registered: December 2005
Location: Putty a dark screen
Senior Member
>>There is lil piece of info

Neither "lil"
Re: User Password Changed [message #284765 is a reply to message #284387] Fri, 30 November 2007 21:25 Go to previous messageGo to next message
neelabh_SE
Messages: 20
Registered: October 2007
Junior Member
Thanks a lot guys for all the help......

Quote:

As root, you should be able to enter...

passwd <username>

which would then allow you to set a new password for <username>.


Well I tried doing that but "passwd <username>" prompted me for old password of <username> (which i was not aware about)...
Then I just did passwd -d <username> which made the account passwordless and I was able to set a new password for it.


Quote:

Go to System tools >system logs

I think to go to system logs folder probably I need access to any sort of GUI but in my case as i mentioned earlier also I can only access command line interface.Anyways I will try to dig into logs and update the relevant findings...

Thanks once again....

neel
Re: User Password Changed [message #284767 is a reply to message #284765] Fri, 30 November 2007 23:13 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

http://linuxgazette.net/107/tomar.html

Hope this help
Re: User Password Changed [message #284951 is a reply to message #284767] Mon, 03 December 2007 00:08 Go to previous message
babuknb
Messages: 1734
Registered: December 2005
Location: NJ
Senior Member


Thanks for all.

Babu
Previous Topic: Setting oraenv
Next Topic: Oracle developer For Linux ubuntu
Goto Forum:
  


Current Time: Sat Dec 10 13:11:08 CST 2016

Total time taken to generate the page: 0.07199 seconds