How to brk the root pwd?
Answers were Sorted based on User's Feedback
Answer / jk biswal
its not in /etc/passwd file its in /etc/shodow file
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / chowdary
boot the server into single user mode inserting cdrom.
ok>boot cdrom -s
#pwd
/tmp/root
now mount the root filesystem temporarily
#mkdir abc
#mount /dev/dsk/c1t0d0s0 /tmp/root/abc
#cd abc
#pwd
/tmp/root/abc
#cd etc
#vi shadow
delete the encrypted password of root,
now reboot the system.
#init 6
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / nikil
boot into single user mode by using CD-ROM
Mount the root file system with temporary mount point /a.
/a/rootfile system path.
cd /a/etc/passwd
remove encrypted passwd save that file.
boot the server
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / ansu
boot the system form cdrom with single user mode
ok>boot cdrom -s
mount the root fs wiht /a mount point
mount /dev/dsk/c0t0d0s0 /a
vi /etc/shadow
remove the password field for root
init 6
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / durgesh srivastava
using failsafe mode
open a file vi /etc/shadow
edit a coloum no 2 his coloum is passwd information
using vi mode erase a passwd and ctrl+z save this file.
| Is This Answer Correct ? | 0 Yes | 0 No |
what r the configuration files for rlogin and ssh
How can you check that a particular volume is mirrored?
booting process in solaris
13 Answers IBM, OMS, Wipro,
If My Server is Suddenly Down what are the reasons? Tell me Exact time of Ping?
What does fmthard do?
when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?
NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?
difference b/w solais 8 and 9...?
how to add patched to the kernel
what is a milestone and, how can we change the default milestone?
how to delete a zone?
what is mean by netfmd in sun cluster what is the use of netfmd and what is the relation between ccd and netfmd?