JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Advanced Administration     Oracle Solaris 11 Express 11/10
search filter icon
search icon

Document Information

Preface

1.  Managing Terminals, Modems and Serial Port Services (Tasks)

2.  Displaying and Changing System Information (Tasks)

3.  Scheduling System Tasks (Tasks)

4.  Managing System Processes (Tasks)

5.  Monitoring System Performance (Tasks)

6.  Troubleshooting Software Problems (Tasks)

7.  Managing Core Files (Tasks)

8.  Managing System Crash Information (Tasks)

9.  Troubleshooting Miscellaneous System Problems (Tasks)

What to Do If Rebooting Fails

What to Do If You Forgot the Root Password

What to Do If a System Hangs

What to Do If a File System Fills Up

File System Fills Up Because a Large File or Directory Was Created

A TMPFS File System Is Full Because the System Ran Out of Memory

What to Do If File ACLs Are Lost After Copy or Restore

Index

What to Do If You Forgot the Root Password

If you forget the root password and you cannot log into the system, you will have to do the following:

These procedures are fully described in Chapter 7, Booting an Oracle Solaris System (Tasks), in System Administration Guide: Basic Administration.

The following examples describe how to recover from a forgotten root password on a SPARC based systems or an x86 based system that does not implement GRUB.

Example 9-1 SPARC: What to Do If You Forgot the Root Password

The following example shows how to recover when you forget the root password by booting from the network. This example assumes that the boot server is already available. Be sure to apply a new root password after the system has rebooted.

(Use keyboard abort sequence--Press Stop A keys to stop the system)
ok boot net -s
# mount /dev/dsk/c0t3d0s0 /a
# cd /a/etc
# TERM=vt100
# export TERM
# vi shadow
(Remove root's encrypted password string)
# cd /
# umount /a
# init 6