The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-31-2005
Registered User
 

Join Date: Jan 2005
Posts: 40
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?
Reply With Quote
Forum Sponsor
  #2  
Old 03-31-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0