How to brk the root pwd?

Answers were Sorted based on User's Feedback



How to brk the root pwd?..

Answer / jk biswal

its not in /etc/passwd file its in /etc/shodow file

Is This Answer Correct ?    8 Yes 2 No

How to brk the root pwd?..

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

How to brk the root pwd?..

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

How to brk the root pwd?..

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

How to brk the root pwd?..

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

Post New Answer

More Solaris AllOther Interview Questions

u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?

3 Answers   IBM,


What is cachefs?

1 Answers  


how to delete a zone?

3 Answers   IBM,


what r the files need to edit for DNS configuration..?

2 Answers   Accel,


what is milestone and what is use of it in Solaris

6 Answers   IBM,


What is a layered volume? how to create it using vxmake?

1 Answers  


what is sticky bit,setuid setgid and setfacl used for

2 Answers   IBM, IBN,


how to add a run control script..?

1 Answers  


What is the difference between private and public regions in Veritas Volume manager?

4 Answers  


wht is the umask value to crate directory with only rw options to root..?

3 Answers  


How to merge solaris partition

2 Answers   TCS,


how to check packets transmission statistcs b/w servers..?

3 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)