![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to change root password using shell script with standard password | kurva | Shell Programming and Scripting | 2 | 02-25-2009 02:35 AM |
| Change Root Password | iBot | Solaris BigAdmin RSS | 0 | 09-30-2008 02:30 PM |
| Change root password? | kaugrs | HP-UX | 4 | 02-13-2008 12:16 PM |
| change root password | duke0001 | SUN Solaris | 3 | 02-22-2007 12:10 PM |
| How to change root password on HP UX | mle06 | HP-UX | 4 | 08-11-2006 11:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Solaris 8 - Asks for current root password when trying to change root password.
Hello All,
I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password prompt for root. Any ideas. Thanks in advance Tony |
|
||||
|
Output examples
Hi DukeNuke2,
Thanks for your reply. Here is some additional info including the output of who am i. Thanks for any assistance or ideas. SunOS hostname 5.8 Generic_117350-46 sun4u sparc SUNW,Ultra-80 Code:
hostname:():/root # who am i root pts/1 Apr 7 10:01 (###.###.###.##) hostname:():/root # id uid=0(root) gid=100(users) hostname:():/root # passwd passwd: Changing password for root Password: passwd: Sorry, wrong passwd Permission denied hostname:():/root Code:
hostname:():/root # passwd joe Password: passwd: Sorry, wrong passwd Permission denied Last edited by Yogesh Sawant; 04-07-2009 at 04:07 AM.. Reason: added code tags |
|
||||
|
Root apparently being in group 100 (users) is a concern.
Did you "su - root" or become root by some other means? Please post the following, and post any errors if your root account gives and error: # Permissions of root directory ls -ald / # Permissions of /etc ls -lad /etc # Permissions of password file itself ls -lad /etc/passwd # Location of passwd command type passwd # Permissions of passwd command ls -lad <answer from above> # Root entry from /etc/passwd grep \^root: /etc/passwd # Results of password file checking program pwck # Results of group file checking program grpck Last edited by methyl; 04-07-2009 at 09:33 AM.. Reason: Typo |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|