![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to Single user mode? | gkreddy | UNIX for Dummies Questions & Answers | 1 | 10-25-2007 10:31 PM |
| single user mode | ankit.jss | UNIX for Advanced & Expert Users | 1 | 11-16-2006 03:58 AM |
| single user mode - user accounts passwords | orestis | UNIX for Dummies Questions & Answers | 2 | 03-09-2005 06:54 AM |
| Single user mode | merlin | UNIX for Dummies Questions & Answers | 2 | 01-15-2002 07:48 AM |
| single user mode | guest100 | UNIX for Dummies Questions & Answers | 2 | 12-12-2001 04:53 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
adding a user in single user mode
Just got a solaris 8 blade 150 box with no users, only a root account. no one seems to know the password. I'd like to add one user. So I booted into single user mode via cdrom and added one. Can't seem to login using the new account, though. Here's what I'm using:
# useradd -d /tmp/"user" -m -s /bin/sh password? |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Try just hitting return when it ask for a password on root account.
Attempting to add a user won't work while booted off the cd. Instead, mount the boot drive onto /mnt and then edit /mnt/etc/shadow to remove any root password. Then you should be able to boot from the disks and get in. Then add new accounts. |
||||
| Google The UNIX and Linux Forums |