I am embarrassed!  :-[ 

Since I had executed sys-unconfig, the root passwd had got reset to 
blank password.


        Description

The sys-unconfig command is used to restore a system's configuration to 
an "as-manufactured" state, ready to be reconfigured again. The system's 
configuration consists of hostname, Network Information Service (NIS) 
domain name, timezone, IP address, IP subnet mask, and root password. 
This operation is the inverse of those performed by the sysidnet(1M) 
<http://docs.sun.com/app/docs/doc/816-5166/sysidnet-1m?a=view>, 
sysidns(1M) 
<http://docs.sun.com/app/docs/doc/816-5166/sysidns-1m?a=view>, and 
sysidsys(1M) 
<http://docs.sun.com/app/docs/doc/816-5166/sysidsys-1m?a=view> programs 
run at boot. See sysidtool(1M) 
<http://docs.sun.com/app/docs/doc/816-5166/sysidtool-1m?a=view>.

sys-unconfig does the following:
    ..

...
..

    *

      Removes the file /etc/defaultrouter.

    *

      Removes the password set for root in /etc/shadow. <======  Missed
      this!!!


Reminded me that I haven't done any meaningful sys admin stuff for too 
loooong!

Thanks for all the suggestions. 

Best Regards,
Madhan Kumar

Abhilash wrote:
> Hi,
>
>  I dont know whether this will help you. I found this while I was trying to 
> fix some issues with my installation. Hope it proves helpful to you
>
> http://www.tech-recipes.com/solaris_system_administration_tips122.html
>
> regards
> Abhilash
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080623/fcdeb64a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Madhan_Balasubramanian.vcf
Type: text/x-vcard
Size: 174 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080623/fcdeb64a/attachment.vcf>

Reply via email to