How to reset root password via command Redhat 5.2

Answers were Sorted based on User's Feedback



How to reset root password via command Redhat 5.2..

Answer / sureshkumar

using command passwd or passwd root

Is This Answer Correct ?    67 Yes 9 No

How to reset root password via command Redhat 5.2..

Answer / support

You can reset the password from your shell

root@[~]passwd

Is This Answer Correct ?    43 Yes 11 No

How to reset root password via command Redhat 5.2..

Answer / abhay kumar

if u don't know root password then during system startup and
choose kernel mode you press e then again u press e then
press spacebar and press there 1 then press Enter and after
thar press b for boot after booting system is going in
singel user mode then apply command ther
sh 3.2> # passwd root
type your password
again type your password
.......... ):

Is This Answer Correct ?    23 Yes 2 No

How to reset root password via command Redhat 5.2..

Answer / anantharaman

you can reset the password by loggin into the single user mode.

Is This Answer Correct ?    17 Yes 2 No

How to reset root password via command Redhat 5.2..

Answer / gopi

let see,

root#passwd <user name>

ex:

root#passwd root

Is This Answer Correct ?    13 Yes 2 No

How to reset root password via command Redhat 5.2..

Answer / sunil bhatt

You can reset the password from your shell

root@[~]passwd

Is This Answer Correct ?    10 Yes 3 No

How to reset root password via command Redhat 5.2..

Answer / mohanraj

If You don't know your root passowrd Go to single user mode
and type

# passwd <enter>

Now You wil set new password.

Is This Answer Correct ?    9 Yes 2 No

How to reset root password via command Redhat 5.2..

Answer / vikas punia

#passwd <user Name> (For a User )

And (For Root)
can do
#passwd

Is This Answer Correct ?    4 Yes 2 No

How to reset root password via command Redhat 5.2..

Answer / abhay kumar

if you want to change your root password then :
~]#passwd
give password
againg give new password

..........

Is This Answer Correct ?    5 Yes 3 No

How to reset root password via command Redhat 5.2..

Answer / ratheesh ramanan

first we have to login as root to edit root password, also
we must know the current password, then use the command passwd.
If we don't know the current root password,then go to
single usermod and type passwd to change the password.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

In a company there are 3 groups i.e Finance, HR and Marketing. Each groups having 3 members. There is a file named as file1.txt. The permission set for the above file is rwx-rw----x. Now the question is only the members of Hr and Marketing group can view and edit the file. But the file is not accessible to the members of Finance Group. Can anyone tell me what would be the exact command for linux.root@localhost#<type the exact linux command>

3 Answers   Six Sigma,


What is the difference between locating and locate command?

0 Answers  


How can I only see the last 5 lines of a file?

10 Answers   Reliance,


How compile c++ program in cmd?

0 Answers  


Explain the free command.

0 Answers  






How do I navigate in cmd?

0 Answers  


what is user mode & kernel mode?

7 Answers  


What command should you use to check your file system?

0 Answers  


How to block the message in wall command some students are send messages to all in the lab. please help me

5 Answers  


What signal is ctrl c?

0 Answers  


What are grep patterns called?

0 Answers  


what is difference between $@ and $* in UNIX Shell script

3 Answers   Google,


Categories