![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re-enabling a locked root account on Trusted HP-UX | Perderabo | HP-UX | 0 | 02-17-2006 10:47 PM |
| root and all but 2 users locked out | kymberm | Linux | 7 | 02-26-2005 06:52 PM |
| Run non-root script as root with non-root environment | bubba112557 | UNIX for Dummies Questions & Answers | 2 | 12-03-2004 12:39 AM |
| root account has been locked | Maker | AIX | 1 | 04-15-2004 09:25 AM |
| How to Enable locked root account | Syed_45 | UNIX for Dummies Questions & Answers | 2 | 10-04-2002 10:10 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
root locked out
Hello all. I think I have a big problem. the /etc/passwd file got overwritten and now I can't su as root when I telnet into this machine. I am running yp on a different machine and tried to push the passwd file out to all machines, but it didn't help. I noticed that there is a passwd file in /iap/ypmaster and one in /etc, these were always different and now they are the same. Ever since they became the same file, root can't login, but normal users can. What is opasswd? I noticed that this is the file I need in the /etc directory, but without root privledges, I can't do anything. Does anyone have any ideas? Thanks.
|
|
||||
|
as far as i know i always throught root was never passed when doing NIS or NIS+
You could always take the nis client machine down and boot it up into single usermode then mount the root partition and edit the shadow or password file as needed. adn also disable the nis daeamon from starting. then start over adding it back to the cluster. |
|
||||
|
kind of same problem LOCKED OUT OF CONSOLE
I've got the same problem, but ALL users are locked out, including root. I've tried copying the shadow, passwd, and group files from the original solaris disk, with my others backed up, BUT still no go, nothing can log in, I can't even log in at single user mode. Is there another file that could be affecting the login? the permissions on logdevperm, passwd, group, login, are set to 644, shadow is r only for root.
|
|
|||||
|
Kelam,
Solaris still checks the root password when booting into single user - the only way around it is to boot single user from the cdrom. girish_shukla, You forgot to mention to mount the disk - /etc is on the cdrom, not the disk. Mount your disk root partition to /mnt, cd to /mnt/etc, set your TERM, vi shadow.... |
![]() |
| Bookmarks |
| Tags |
| linux, solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|