My root password has been changed, how can i enter into the
system without root password?
Answers were Sorted based on User's Feedback
Answer / abhijeet
Here goes the procedure
1. Boot the system,
2. at grub prompt, press e and edit the kernel line with
letter 'single' or '1' without quote at the end of line
3. this will boot system in single user mode with root privil.
4.reset your 'root' passwd
| Is This Answer Correct ? | 26 Yes | 2 No |
Answer / neha
restart ur system by init6 thn on booting screen on grub prmt
press e thn s and enter.so u will come in single user mode
(init1).now just type passwd command.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / rehan
Boot the system, at grub prompt, press e and come to edit
the kernel line with one space and type there 1 for single
user mode and press Enter and press 'b' for boot the system
then ur system will be in single user mod then type there
# passwd and press enter then it'll ask u for new root
password. After giving the password type 'exit' for reboot
the PC.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sanjay yadav
we can enter in to the system by using single user mode.
enter the first disk of linux o.s and reach on chroot
and jump in to single user mode
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / atul
are you asking for editions in the /etc/pam.d/login file ?
or do you want me to reset the password for root user ?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / shikoon
Go to singal usermood
then use passwd command and give naw password
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the difference between semaphore, mutex & spinlock?????
Through ssh whole directory structure from / is shared regardless the user we have connected with ....... how do i prevent sharing ??
How to load the old kernel without rebooting server
How does the boot process[init levels] work on Linux? How is it different from Solaris?
How to ""Add"" not replace address to same network card other than the alias way.... ??????
i installed clustering packages.When i try to run it getting LUCI error...what is it..??
Tell me command which is use for create quota database in Linux.
what is difference between inetd and xinetd
1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?
What is the difference between home directory and working directory?
Friends, I don't have enough free space in root directory. but in home directory I have 40gb free. So I can not install anything in root directory (which occupies more space) Please suggest me If there is any possibility to increase the root directory size by minimising the home directory's.
What is the difference between an argument and an option/switch?