Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trouble setting up user accounts!!Help using cron!!

Status
Not open for further replies.

johndog

Technical User
Apr 17, 2001
103
US
Hi,
I am having trouble setting up user accounts as root in Solaris 8. Every time I use 'Admintool' or the 'useradd' command to add a new user it works fine, until I need to create a home directory. Every time I create a new user and then click okay, I get an error message saying "Home directory does not yet exist". This really blows my mind becuase that is what I am trying to do is create a home directory in the form '/home/username'. I know that '/home' exists, but when i try to use 'admintool' to set up a user, it gives me that error message.
The other catch is that when I try to log in using the account I thought I just created (just ignoring the error message), it just about let's me log in but then tells me that "home directory does not yet exist". I even tried to add the 'username' into the /home directory using 'mkdir' and it says I don't have permission to do so (although I am logged in as root). Please help me to set up these user accounts, it really shouldn't be so difficult.
Also, I am curious as to how I can make cron automatically execute a sound ( .au ) file at a certain time. I know how to make it access the file and at what time, I just don't know how to actually tell it to play the file. Thanks for any help!!
 
When your adding a user in command line there is option you can use when your creating home directory.
as user or root.
# useradd -u 12 -g 10 -c "John sales" -m -d /export/home/john -k /etc/skel/ -s /bin/ksh
where -m is creating home directory
where -d is path to home directory

In admintool there is a small dir box, by default is enabled, try to enable it, when creating home directory you to write like this. /export/home/username
thanks
f. regal
 
Thanks a lot f.regal, I got it to work!!!!!
joe
 
I have a new Seagate Barracuda hard disk and am getting a Can't open boot device error message when I try to boot from cdrom to install the OS.Any help is appreciated.
 
you may need to check jumper settings. also i just had a seagate barracuda for my sparcstation and it gave me an error message saying 'wrong magic number, disk label corrupt'. So i am not sure whether or not Seagate barracuda drives are compatible with solaris or certain sparcstations. You many want to check the Solaris Hardware compatability listing and see whether your drive is supported. Sun.com should have that info.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top