Solaris 8, no root password, no login

During install I got a message like 'could not write /etc/passwd, is locked', I still continue the install, then after a while the install asks for the second software disk, this one is not recognized, so I skip it. Then after rebooting the system, it asks for a login and password, so I enter root en give my password. No way, it won't comply. So I try changing the /a/etc/passwd file (it seems to be the new environment), for instance by adding a line test::::: , so no password should be asked, this also does not work. Removing de root password from the passwd file does not work either. So, who can help me loggin in into the system without a root password, on a Linux machine this is no problem in stand-alone mode no password is asked. Booting with the b -s option gets you into the stand-alone or service mode. This is my last try, then I will throw Sun away......
PS. My system is fully recognized by the install software. No problem there.
Thanx....

Did you remove the 2nd entry in /etc/shadow file?
Each entry in the shadow file has the form:
username:password:lastchg:min:max:warn:inactive:expire:flag
Thanks
-Manish

Similar Messages

  • Reset root password vCenter 6 Aappliance

    Hi all,
    Due to misconfigured keyboard layout, I used a wrong password for the initial installation of vCenter 6 Appliance.
    Is there a chance to reset the root password? Login to Web Client with SSO [email protected] is possible.
    I tried the thing with single user mode in GRUB, but there, I need also the GRUB password which is also the root password(?).
    Any advice?
    Thank you!
    Peter

    I already did the same with the VMware Support, but I´m not sure if I remind every step...
    Boot the Appliance VM with a Live-CD (Ubuntu,SUSE,...)
    Change/set the root password to "vmware"
    Mount the system disk from your vCenter appliance
    In the /etc/shadow file of the live-system  copy the line with the "root" entry to the /etc/shadow file of the appliance disk
    Delete the old "root" line in the file
    Boot the appliance an login with the "vmware" password

  • WVC54GCA Root Password

    Hi, 
    I'm wondering if someone can provide me the root password to login into the busybox that is running on the cam. The idea is to build a twitter app for it on the device it self. 
    Thx in advantage, 

    The default password for the Camera is "admin".

  • Root password fails on auth to Solaris Management Console Server

    I've setup Solaris 10 x86 on a VA linux 1220 server, all is good so far except when I try to create additional users. I am logged in as root, and the root password logs in to the CDE, but fails on authentication to Solaris Management Console Server when I try to use any of the management apps like computers and networks or Users. So I'm stalled at the point where I should be configuring the system. I have been very careful about typing in the password exactly as I use it in the login screen, but it never works in the System Management tools for This Computer. The password I'm using is 26 characters long, is it too long? Or is there a step I'm missing?
    Thanks,
    Brian

    One of my famous guesses, but unless you changed the default password algorithm the maximum length of your password is 8 characters, when logging in on the console or desktop, anything typed after those eight characters will be ignored (unless this behaviour changed very recently).
    Its possibly that SMC, and its server component WBEM does not ignore the extra characters, which could cause this behavior.
    What happens if you try and login to SMC with the root user and only the first eight characters of your password?
    Btw, if this was the problem i think there is a way to change the default crypto algorithm to something that supports more characters.
    .7/M.

  • Root password problem in Solaris 10

    Hi All,
    Have anyone noticed this problem before?
    I've set the password on Solaris for the root user as "rootroot123". However, I'm able to login with any password that starts with rootroot (i.e. rootroot*)...
    My solaris version is:
    SunOS mynode01 5.10 Generic_138888-03 sun4u sparc SUNW,Netra-240
    Is there a bug report in Solaris regarding this or any way to solve it?
    Thanx,
    Mahmood

    I think by default Solaris uses CRYPT_DEFAULT=__unix__ which limits you to 8 characters.
    in order to have more than 8 usable characters in your passwd, then you must use "md5"
    CRYPT_DEFAULT=md5
    this is located in : /etc/security/policy.conf
    I think you may want to change the password length in /etc/default/passwd
    PASSLENGTH= (default=6) change it to something of your liking.
    be sure to do a little more research on the exact steps, but this is what you are loking for. im just going by memory here.

  • Solaris root password & installer

    I have installed oracle solaris 11 exp, but :
    I have difficulties finding root password, have tried solaris & my user password but it's not going,
    during the installation I have used solaris passwrd for the partition manager and it worked, but no later,
    I also would like to ERASE ALL PASSWORDS of the system, ... give password, give password, give password, it gives you a headache,
    and by the way, do I have to buy an application installer or I have with the package?
    thank in advance,
    max.

    root is a role by default in Solaris 11, so i don't think it actually have a password, or am i wrong here? You can set a password by running pfexec passwd rood from the user who you created as an administrative user..
    .7/M.

  • Root Password after Solaris 11 Autoinstall?

    So this would normally be a simple thing since according to the docs, the default root password is "solaris" but it seems doesn't work after I reboot my newly installed solaris 11 system.
    I even tried reinstalling, and logging in while it installed and changing the password to something simple but even that doesn't work.
    What is odd that during the autoinstall, I can log in as root with the solaris password but after the system is rebooted(after fully installing) the root password doesn't appear to work.
    Am I supposed to set a root password in the manifest that would be used for the fully installed system?
    Thanks for any help!

    I figured out the problem. I completely forgot I had set up a system configuration profile and I set the root role password in it.

  • Root password on solaris FPGA "fast-boot"

    I tried to boot opensolaris on FPGA in maintenance mode using "boot -m milestone=none" but it required root password which isn't mentioned in any documentation I looked at. Does anyone know what the password is or what it might be by default?
    Also, the DV guide mentions that adding programs can be done by mounting the program to the file system. This, however, requires root access to a sparc machine which I don't have. Some other users have tried ftp-ing executables.this would require ftp-ing these executables everytime the system is restarted. Any other solutions or suggestions? I am thinking about mounting a compact flash card to the file system and accessing my executables from there. The problem is I don't know how to mount devices to the file system. Any help would be much appreciated. Thanks.

    877531 wrote:
    All,
    please Type sudo root
    Password is ovsroot
    Even i had the same problem.. Finally its not oracle or something, it is "ovsroot ".
    And this password is for solaris 11 express edition virtual machine package..I think this will confuse the original poster, who was asking about the LiveCD USB image, not the VirtualBox appliance image. These are two different things. You and Tony are correct with regard to the VirtualBox appliance image user and root passwords, as documented in the OTN readme:
    http://download.oracle.com/otn/solaris/express/README.txt
    However, the original poster downloaded and booted from the LiveUSB, which operates out of RAM, not the harddrive. It is used for a fresh installation of Solaris 11 Express, as well as for trying out and running the OS without touching the harddrive. As Sadiq mentioned in his post, some commands require the root role, which is in the Solaris 11 Express Getting Started guide:
    http://download.oracle.com/docs/cd/E19963-01/html/820-7799/explore.html
    The previous answers are correct: The password is "solaris" for the LiveCD/LiveUSB environment.
    -- Alan

  • Lost root password  Can't get in to reset.........Ultra 5/10 Solaris

    Just bought an Ultra 5 Sun desktop at the thrift store. This thing is brand new and was still in the box. Fired it up and come to find, it has never even been configured so I did so myself. I entered a User name and then followed that with setting up a new password for the first time. The system reboots on it's own and goes to a point asking for my Name and then password. Only problem is the password will not even type into the bar that requests it. Do I need to reset it and if so how?

    Hi, boot with single user mode using cmd boot cdrom -s,then use passwd cmd to change root password.if it doesn't work.mount your root slice as /a,then edit /etc/shadow file and delete root passwd entry.I hope this tip fix your problem. : )

  • Root password expired - not your typical case

    Hello everyone,
    I apologize for asking what is a very FAQ, but I am unable to find an appropriate answer anywhere on the interweb.
    The facts of my unfortunate situation are:
    1. I am a newbie in the SA world.
    2. I am even more of a newbie in the Solaris world.
    3. I am administering a Production Database system on Solaris 9.
    4. Within the last couple days the root password expired.
    5. When I attempt to login at the console as root, I receive the following message. "Roles can only be assumed by authorized users."
    It seems to me that root ought to be authorized to login to the console.
    I've read that I can boot from the CD to resolve this issue, but the system in question has the CD drive disabled. If only I could figure out how to login to the console as root, I'm sure that it would let me update the password, but I don't know how to work around the "Roles can only be assumed by authorized users" issue.
    Please help!
    Thanks in advance for your assistance. It is greatly appreciated.

    Well, I've learned an awful lot in the process of trying to resolve this issue. I'm still not there, but I'm getting close.
    I have done a ton of research on the net, and I am unable to find any specific detailed instructions on how to fix the root password expired issue. So, I figured I would paraphrase what I believe are the detailed steps to be taken. If you see an error in my logic, or my syntax please let me know, as I will be beginning this process soon.
    So, we have RBAC or Role Based Access Control on the Solaris 9 box, and the root password has expired. This is a pretty annoying situation to be in, but it can be fixed easily enough.
    First, we'll want to gracefully shutdown all the processes which are currently running on the system. This is accomplished by executing the following command which will put the system into single user mode:
    init -1
    Determine where your root file system (e.g. c1t0d0s0) is located by typing the following command (you'll want to make note of the result):
    /etc/vfstab
    Next, we need to access the EEPROM. Before doing this, you should do execute the following command to see if your EEPROM is password protected.
    eeprom |grep security
    Look for the line that reads "security-mode=" If security mode is set to "none" or "none-secure" you're golden, proceed with the next step. If security mode is set to "command" "command-secure" "fully" or "fully-secure" you want to make sure you have your EEPROM password, otherwise you'll be in worse shape than when you started.
    Assuming that you either have the EEPROM password, OR the system is set to "security-mode=none" you can proceed to the EEPROM prompt by pressing the following key combination:
    Stop + A
    You should now have an OK> prompt. Insert the Solaris 9 Installation CD into the CDRom drive. At the prompt type the following command to boot from your CD rom:
    boot cdrom -sw
    Once the boot sequence is complete, execute the following command to mount your root filesystem.
    mount /dev/dsk/<root filesystem device file> /mnt
    Once you have mounted the root file system, you will need to change the /etc/user_attr file to allow console access by root. Open /etc/user_attr with your editor of choice. On the line beginning with root::::type=role; etc etc change the setting type=role to type=normal and save the user_attr file.
    Enter the following command to go back to the OK prompt:
    halt
    Then enter boot -s to reboot your system. You should now be able to login to the console with root, which will allow you to update your password. Once you have done so, do an init -3 to bring the user back up to the standard mode of operation.
    Thanks again Jeffery for your help in this matter. I hope to have this situation resolved soon, but I want to make sure that all my ducks are in a row before I start playing Russian Roulette with my server. Does the above walkthrough sound accurate? Is there anything that I have misuderstood or overlooked?

  • Root Password Problem

    Hi ,
    I am new to solaris . I installed the solaris 10 (beta 7) on P-111 machine. I start installation with Intractive installation but after 1 cd complition , OS reboots but no GUI. I tried 2-3 times.
    After that i choose the option Jump start and installation completes. During the installation root password was not asked.
    After installation ,when i login it just ask user not for password.
    I can login in CDE session but not able in Java Desktop Environment.
    Now I want to add user with the help of "Solaris management console" utility. But it ask for Root password.
    Now please guide me how i can choose the Root password and how i can login in the Java desktop environment.
    Regards
    Gorayen

    You can set your password with the passwd command

  • Solaris 10 management console... login problem!

    Hi all!
    I have started correctly the solaris management console server using /etc/init.d/init.wbem start.
    I have launched the console correctly too (/usr/sbin/smc)
    But when I try to access some aministrative tool (such as user management or disk management), it prompts a message asking me for the root password, which I wrote correctly too... but it always returns a "login failed" message...
    Any idea??? Anyone else have the same problem???
    Thanks.

    Yes, I have the exact same problem. For me the problem is caused by the fact that solaris management console will not work with blowfish or md5 hashed passwords for root. Since I enabled and created a root password using md5, I cannot use the management console. This is what sun support wrote back to me about this:
    PROBLEM SUMMARY :
    as root. Root password is rejected. Even when run 'smc' as root user,
    asks for root password again and rejects it
    SOLUTION :
    have found many instances stating blowfish and SMC do not work..I did
    find one potential workaround, but it may or may not work.If you want
    totry it here is what they suggested..
    To use SMC, must disable non-default password algorithm,
    Set the CRYPT_DEFAULT line in /etc/security/policy.conf to:
    CRYPT_DEFAULT=__unix__
    Then delete the SMC users password with passwd -d, then set a new password:
    # passwd -d root
    passwd: password information changed for root
    # passwd root
    New Password:
    Re-enter new Password:
    passwd: password successfully changed for root
    Try it on as test box in case it messes up SMC
    Other than that it looks like it is not compatible
    Odd that the 'most advanced operating system' behaves in this manner.

  • Solaris 10, account without password

    I want to be able to make user account without having the user have to enter a password in Solaris 10.
    Before (solaris 2.6) we did this by modifying "/etc/shadow". By leaving the second field empty it was possible to indicate that there is no password needed for this login.
    The manual (man shadow) in S10 shows the same . But it keeps asking for a password.
    Does anyone know if it is still possible and how?

    I think you misunderstood the first response to your question.
    When prompted for a username, type root and hit <enter>.
    When prompted for a password, just hit <enter>+
    (no password)
    Of course, you could just start all over,
    reinstall the OS,
    and supply a root password during that process of reinstalling.
    Going through it all again would be good practice, a learning experience.

  • Forget unix root password

    Hi
    A LAN administrator forgets his UNIX root password. Yes, I know it is frustrating to forget the root password. Any way, is there a way to login and change or reset the root password? Someone tried to boot off a Solaris 7 CD and cancelled the options INSTALLED and UPGRADE, then tried to mount /dev/rdks/c0t0d0s0 /mnt, but not working.
    Thank you
    Cindy

    Hey Hey..
    The option of "boot cdrom -s" , mounting the disk's root partition using a simple mount command and then editing the /etc/passwd and /etc/shadow files works fine whatever Solaris version.
    Just make sure that your /etc/passwd root entry in the disk's root
    (rememeber to /<mount point>/etc/passwd and not /etc/passwd when booting off the CD is like this.
    root::0:1:Super-User:/:/sbin/sh
    Note that the second filed in this file is BLANK.
    Then also make sure that the /etc/shadow file entry alos looks
    like this.
    root::11515::::::
    Note that the second filed in this file is BLAN here too.
    Now you are all set and root has no password when you do a
    reboot of the system through your disk.
    HTH
    Shridhar

  • How to change the "root" password ?

    How can i change the root password on solaris 11. i tried it with "sudo passwd root ". and everthing should be ok, but i can´t login over ssh with the user "root " and the new password .
    Thank Chris

    Under Solaris 11 root is a role, not an account. This means that you cannot log into the machine as root. You have to log in using a different account and then gain privileges using su, sudo or pfexec. You can convert root to a normal account using the command:
    rolemod -K type=normal root
    however, root was made a role for legitimate security reasons. If you can avoid changing root to a normal account you should probably do so because it provides an additional layer of security for the rather overpowered root account.
    If you want ssh access to the converted root account, you also need to configure the ssh server to allow root logins by enabling the PermitRootLogins statement in the /etc/ssh/sshd_config file. Again, remember that doing this is loosening security on the root account.

Maybe you are looking for

  • Urgent Error Starting SOA domain Admin Server

    ep 29, 2011 5:37:56 PM IST> <Warning> <oracle.jps.idmgmt> <JPS-01520> <Cannot initialize identity store.> ep 29, 2011 5:37:56 PM IST> <Error> <oracle.bpm.services.organization> <BEA-000000> <Exception ception.70692.type: error ception.70692.severity:

  • Is There A Simple Way Of Deleting Invisible Files?

    There's an invisible file/folder that I need to delete but don't know how. Instructions about how to do it that I've come across seem rather unclear. Is there a rather simple way of deleting Invisible files?

  • Copy PR attachment to PO

    Hi Guru, I m creating automatic purchase order from purchase requisition. i m also attaching document to requisition. Can anybody tell me how to copy this attachment of requisition to purchase order. Regards, Dharmesh

  • Regex doubt

    hi, Please fix the error in the following code thanks in advance Pattern pt=Pattern.compile("[\\D]");           Matcher m=pt.matcher("2aaa");           boolean mb=m.find();           if(mb){                System.out.println("matched");           els

  • How does one escalate truly terrible support responses

    I just got the most cursory support response that seems to show a total lack of understanding of the problem (how teh system handles email). I am used to poor responses, sometimes too often, but am patient because I know people are busy and sometimes