![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2008
Posts: 25
OS: Windows XP with SP3
|
Regarding password
Hi, My system is loaded with RedHat Linux AS 4 and I need to reset/remove/change the login password that is prompted as soon as the pc boots. Plz provide me the procedure for this purpose.
Thanks in advance |
|
|
|
|
|
#2 (permalink) |
|
Tech Hardware Team
Join Date: Apr 2008
Posts: 810
OS: MS SBS 2003 SP2
|
Re: Regarding password
valmiki.prasad,
If you installed the Linux OS and already know the root password and can login as root, this is as simple as opening a terminal screen, and type "su" to become root, then type "passwd" and it will prompt you for a new password. If you don't know the root password, this site is not authorized to provide advice about hacking or changing OS passwords. - John |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 407
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix
|
Re: Regarding password
If you a superuser and need to change another users password, then do "passwd other-user-name". You can then change the other users password. Use the following to lock out a user: "passwd -d other-user-name". The user account now only becomes accessible to the root account, that means, only the superuser can re-enable the account by giving it new password. Actually all that happens is that and exclamation point (bang) is written into the password field of the file '/etc/shadow'.
Look at the passwd programs option -l (ell). This locks the account perpending the bang on the hashed password. The -u option will unlock the account and still preserve the old password. By the way, if you type in a short password or a password that is easy to crack (NOT A GOOD IDEA), the passwd program will complain. But if you type the same short password, when it asks, in a second time, it will accept the password. |
|
|
|
![]() |
| Thread Tools | |
|
|