A normal root login doesn't allow us to modify "/etc/passwd"; I'm using touch(1) under privilege debugging to illustrate the error and was caused the error.
When we login with the "-T" option we suddenly can modify "/etc/passwd" because we're now in the Trusted Path.
Every organization may have their own way to secure the root passwords for their servers.
According to their security polices , Unix administrators need to change the servers root’s password on routine basis.
These sort of errors are effects of an underlying error. Firslty, I would bring the server down and do a:- Thanks for the replies guys.
This is much safer as you no longer need to give root access in the global zone nor do you need to boot the IMZ in writeable mode.
In the following example, we log in to the zone "fixed" which has been configured with the fixed-configuration file-mac-profile.
Here we will see how to recover the Solaris SPARC and Solaris X86 server root password recovery with step by step.
After booting in failsafe mode, Solaris wan’t mount automaticly your root filesystem. To manually recover the boot archive on a root mirror, please refer to procedure written in this section of the Solaris Administration Guide.