Solaris root password is working with extra char/chars appended with it

Dear forum,
In our production server, I can login as root with extra char appended end of the actual password
Exmaple:
Suppose my password is `hello123`
But during login all below combinations are working and allowing to login
hello123*456*
hello123*4*
hello123*hello*
That is, login is not checking further chars after the exact macth with the actuall pass.
1) But why?
2) How to prevent this.... any file need to change /etc/default
NB:
Dear Nik if you are reading this post... please reply
Edited by: Myth on Jan 29, 2012 10:28 PM

It might be worth to note that you will get the crypto algorithm which is defined in /etc/security/crypto.conf
The default of the crypto.conf is:
1 crypt_bsdmd5.so.1
2a crypt_bsdbf.so.1
md5 crypt_sunmd5.so.1
5 crypt_sha256.so.1
6 crypt_sha512.so.1.. if you set CRYPT_DEFAULT in policy.conf to "md5", you will use the crypto algorithm crypto_sunmd5.so.1, if you set CRYPT_DEFAULT to "1" you will get crypt_bsdmd5.so.1.
Its also worth to notice that the default in Solaris 11 is
CRYPT_DEFAULT=5
i.e "crypt_sha256.so.1".
.7/M.

Similar Messages

  • 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.

  • How to recover sun solaris 10 password

    i have install virtual machine some day back and set password for user name root. today when i try to login on that machine i forget the password.what should i do in order to recover the password for root.

    Use Google:
    keywords "+solaris root password+"
    See more than 4000 search results.
    Alternative?
    Start all over again and reinstall the OS from the beginning.

  • 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 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.

  • How to Delete and Reset a Lost Root Password on a System With a Mirrored ??

    hi All,
    we are experiencing problem,lost root password on Solaris 10 Sparc T5120, with mirror root,
    and we found the solution from Metalink.oracle.com, has anyone have try this??
    here list capture the file system :
    Filesystem size used avail capacity Mounted on
    */dev/md/dsk/d10 2.0G 349M 1.6G 18% /*
    */dev/md/dsk/d40 9.8G 563M 9.2G 6% /usr*
    */dev/md/dsk/d30 9.8G 1.4G 8.4G 15% /var*
    */dev/md/dsk/d50 7.9G 310M 7.5G 4% /opt*
    */dev/md/dsk/d600 3.8G 4.3M 3.8G 1% /home*
    */dev/md/dsk/d602 471M 20M 404M 5% /app/controlm*
    */dev/md/dsk/d601 471M 251M 173M 60% /app/ctsa*
    */dev/md/dsk/d604 4.9G 1.1G 3.8G 23% /app/oramon*
    */dev/md/dsk/d603 20G 11G 8.2G 58% /app/oracle*
    */dev/md/dsk/d606 39G 10.0G 29G 26% /proj/iprdb01/orafra/iprod01p*
    here the step :
    Solstice DiskSuite[TM] Software: How to Delete and Reset a Lost Root Password on a System With a Mirrored Root Disk [ID 1010755.1]
    Solution
    Steps to Follow
    How to delete and reset a lost root password on a system with a mirrored root disk.
    1) Insert the Solaris[TM] Operating System CD-ROM into the CD-ROM drive.
    2) Once the CD-ROM is in the drive, perform a stop-a. This brings the system down to the "ok" prompt.
    3) From the "ok" prompt, perform a single-user boot from the Solaris OS CD-ROM.
    ok boot cdrom -s4) At the "#" prompt, determine which disk is the system's boot disk (containing the root file system). There are several Oracle architectures and various configurations of systems when it concerns a boot disk. As a general rule, most boot disks are attached to controller 0 (c0). Usually, their SCSI target is
    either 3 (t3) or 0 (t0). However, Oracle machines are very flexible, and the boot disk could be at a different location. If you are not sure which disk is your boot disk, perform the following steps to determine the location of the boot device:
    a) # eeprom boot-device
    The output might appear to be simple, such as "disk" or "disk1" or more complicated, such as a pathname "/iommu/sbus/espdma@4,8400000/...../sd@3,0:a".
    b) Make note of the boot-device. If the boot-device is a pathname, it is beyond the scope of this information to provide the location of the customized boot disk. However, for most configurations,
    finding the customized boot disk is an easy task. The "Format" command shows all available disks:
    #format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    (enter its number): c) Enter d to exit format.
    Now, you will have an idea what disks are on the system. Therefore, if the boot-device is "disk" and format shows "c0t0d0" (on some systems "c0t3d0") then that is the boot device. If boot-device
    shows "disk1" and format shows "c0t1d0," then that is the boot device. If format shows multiple disks, then based on what the "eeprom boot-device" command shows, the system's boot disk would be:
    boot-device format
    disk c0t0d0 or c0t3d0 (machine dependent)
    disk1 c1t0d0
    disk2 c0t2d0
    disk3 c0t3d0 or c0t0d0 (machine dependent)
    and so on ....
    5) Because the system was not brought down gracefully (no root password means having to use the Stop-a keystroke to "crash" the system), you need to run "fsck" to clean the root partition (slice). The fsckalso confirms that you selected the proper slice.
    # fsck /dev/rdsk/c1t0d0s0
    where the X and Y are determined by the previous procedure. It is also possible to have a root partition which is not on slice 0 (s0), but, again, that is not a standard configuration.
    The output of "fsck" looks like this:
    ** /dev/rdsk/c1t0d0s0
    ** last mounted on /
    ** Phase 1 .....
    The second line in the output of "fsck" ("** Last mounted on /") confirms that this is the correct root filesystem partition. Answer "y" to any questions fsck asks. There shouldn't be too many items
    needing repair. If there are, there is a possibility of a corrupted root filesystem. After fsck is finished, mount the root partition:
    # mount /dev/dsk/c1t0d0s0 /a
    Again, X and Y are the same as for the fsck command.
    For example:
    # mount /dev/dsk/c1t0d0s0 /a
    6) From the root prompt, set the proper TERM type command (such as vt100, dtterm, sun, and so on)
    by entering this command:
    # TERM=sun; export TERM
    7) Use the VI text editor to edit the /etc/shadow file:
    # vi /a/etc/shadow
    8) The first line of the /etc/shadow file is the one you want to modify.
    It looks like this:
    root:c3.yAVmYodWsc:6445::::::
    9) Delete every character between the first and second colons in the first line of the file. When you finish deleting the characters, the line should look like this:
    root::6445::::::
    10) Press the Escape key, then enter the following to save the file and exit vi:
    :wq!
    11) Use the VI text editor to edit the /etc/system file andremove the "rootdev" line shown below:
    # vi /a/etc/system
    *rootdev:/pseudo/md@0:0,0,blk
    Don't comment out the "rootdev" line. Actually remove it.
    12) In the /a/etc/vfstab file, replace the lines for the system filesystem meta-devices with their underlying partitions. For example, change lines from
    /dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no -
    to
    /dev/dsk/c1t0d0s0 /dev/rdsk/c1t0d0s0 / ufs 1 no -
    ONLY change the lines for root (/) and the filesystems that were affected by the actions you took in step 1 of this procedure. All other metadevices may stay as is in this file.
    13) Unmount root, check the root filesystem, and then stop the system:
    # cd /
    # umount /a
    # fsck /dev/rdsk/c1t0d0s0
    # stop-a
    14) Boot to single-user mode:
    ok boot -swTHIS STEP IS VERY IMPORTANT; YOU MUST BOOT TO SINGLE-USER MODE TO AVOID FILESYSTEM CORRUPTION.
    If the system does not boot to single user mode, you might have made a mistake in the previous steps.
    15) Because the root password was cleared in an earlier step, press Return when prompted for the the root password. Once you are in single-user mode, you must clear the metamirrors and all the sub-mirrors for the root filesystem. For example, if root (/) is d0, run the following command:
    # metaclear -f -r d0
    Running the metaclear command not only clears the metamirror but also clears the submirrors that are part of this mirror.
    16) When the metamirror is cleared, continue the boot up to multiuser mode by either pressing CTRL-D or by entering the following:
    # exit
    Now everything should be as it was, except that the system partition is on the underlying partition and isn't mirrored. You will simply need to re-create the metadevices for the root mirror as you had originally.
    many thanks

    Hi,
    Halt your machine.
    Boot with fail-safe mode.
    format and list out the disks. (You can get the root & mirror disk (c#t#d#) details from /etc/lvm/md.tab of your root or mirror disk. Earlier explorer output may help)
    Mount the root disk and remove the password entry in /etc/shadow
    umount it.
    Mount the mirror disk and remove the password entry in /etc/shadow
    umount it.
    reboot the server.
    Hope this helps!

  • [SOLVED] Need to change root password - current one doesn't work

    Hey everybody,
    Not sure where to put this, so I apologize if it's in the wrong forum.
    I just installed Arch on my Dell netbook and all is well, except for issues with the root password. I am having a great deal of difficulty getting it to work. I know for a fact that I am typing it correctly. However, I did have trouble getting it set during the installation. When I try several times, I have gotten it to work, but I am getting tired of having to do that, and now I can't seem to get it to work at all. I have even tried a different keyboard, but with no luck.
    Is there any way to change the root password short of a reinstall?
    Thanks in advance for any help, but please keep in mind that I am relatively new to Linux and would greatly appreciate detailed instructions.
    Jeff
    Last edited by jlr1701 (2010-08-12 04:10:50)

    Solved. Should anyone else have this issue, I solved it by entering this command:
    sudo passwd root
    I set a new password and it seems to work fine.
    Didn't know if it was possible to change the root password that way, but glad it worked!

  • 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

  • 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 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

  • How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    How do I connect to Net Flix? I put in my user name and password which work fine with my iMac but not on my Apple TV?

    Can you give me a screenshot of the User Accounts window in Control Panel?
    Please create a screenshot by following the guide mentioned at [[How do I create a screenshot of my problem?]].
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. You really help us to visualize the problem.

  • I had an Apple ID and password with my hotmail acct.  The password stopped working, so I set up a new one with my me acct.  How can I access my old acct. and merge the two of them?

    I had an Apple ID and password with my hotmail acct.  The password stopped working, so I set up a new one with my me acct.  How can I access my old acct. and merge the two of them?

    https://iforgot.apple.com/cgi-bin/WebObjects/DSiForgot.woa/wa/iforgot?language=C A-EN&app_id=2417&newWindow=true&border=false

  • Apple tv 2 - root password has been changed to non default.   I need to access apple tv 2.   how do i get access with a forgotten password

    apple tv 2 - root password has been changed to non default.   I need to access apple tv 2.   how do i get access with a forgotten password

    Welcome to the Apple Community.
    It depends on which password you are referring to, but generally speaking you can always restore the Apple TV.

  • HT1752 I am working on a chart in paged with 7 columns. Problem has occurred with amount of row. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks Jane

    I am working on a chart in pages with 7 columns.
    Problem has occurred with amount of rows. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks Jane

    Try posting in the Pages forum
    https://discussions.apple.com/community/iwork/pages

  • Does ThinkVantage Password Manager work with Firefox 3.6. Earlier versions it would not work.

    Last time I installed Firefox it would not load Lenovo ThinkVantage Password Manager as a plug in. Since then I have not used Firefox. I would like to again try Firefox but thought I would ask the question first. Can I use ThinkVantage Password Manager with Firefox 3.6?

    Lenovo have released a patch that will make the ThinkVantage Password Manager work with Firefox 3.6 and higher. You can download it from:
    http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-75278
    I've just installed it and it works perfectly now.

Maybe you are looking for

  • How to add a button to an alv standar report

    Hi all, I've got a requiremnt to modify the behaviour of the edit button of the ALV in TX vfx3. When the edit button pressed, the requiered behaviour is to navigate to a Z TX. Is it possible to edit the ALV without creating a new Z alv? Just changing

  • About Pyramid data

    In GeoRaster WP,it says SDO_GEOR.generatePyramid can generates pyramid data for a GeoRaster object. there are any examples about It . ths......

  • Requirements nV Satellite on ASR9k

    I have a question regarding requirements for nV Satellite with ASR 9000; - Does nV Satellite works with RSP2 (RSP-4G)? - Does nV Satellite works with Trident Line Cards? or only with Typhoon Line Cards? - Typhoon Line Cards (e.g. Mod80) working with

  • GL Account FSV

    Hi all, I have my GL accounts in BW against 0GL_ACCOUNT. This has an attribute 0GLACCEXT - Financial Statement Item. The GL account has Master data while the 0GLACCEXT has the FSVs imported from ECC. In BPC, I have only GL account. How can I assign t

  • Copy-pasting results in no audio

    If I copy-paste an edited sequence from a previously saved timeline to a new one all is well at first glance. However when I save and close Premiere and then re-open, the clips are there but the sound isn't. What could cause this?