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!

<b>Need Help Setting up user profiles on Solaris 8

Status
Not open for further replies.

johndog

Technical User
Apr 17, 2001
103
US
I finally got Solaris 8 intalled on my Sparc 5 and now I am in the process of setting up user accounts. I have used the "admintool" to add new users and used the command "useradd" in the terminal to add a user. I seem to be able to add a user, but nothing shows up in the /home directory. Using the 'admintool' program, i specify a new user and a Home Directory Path can be entered at the bottom for this user. Whenever I enter the 'home dirctory path' as /home/username, it gives me an error message that the directory is owned by another user. I know that the directory is owned by the Root user(myself), but when i tried to use 'chown' and 'chmod' to change permissions, it says that i can't do this. I have also gone to the /home directory and tried 'mkdir' to create a new user folder, but it tells me that doing so is not applicable. It's driving me up the wall!!! Please help! Thanks.
 
We add users home directory in /export/home/ and this is mounted on /home using the automounter setup in /etc/auto_home. Setup like this in admin tool check the box marked &quot;create dir&quot; and specify the home dir as /export/home/<user> and it should work.
 
Thanks Mike,
I think that what you are saying should work, but I am not exactly sure how to use 'auto_home' or what to enter in it. I am still having trouble changing permissions using 'chown' also. Another problem is that every time i reboot, it automatically logs in the CDE as 'root' and does not even go to a 'login' screen. How do i force the login screen to show up (because i don't want it to automatically log in as the 'root' user)?
I also don't have any checkbox on the 'admintool' that says 'create dir', so i am still stuck. Thanks for the help.

 
our auto_home has lines similar to:
Code:
# Home directory map for automounter
#
+auto_home
user1            banana:/export/home/user1
user2            banana:/export/home/user2
user3            banana:/export/home/user3
user4            banana:/export/home/user4
tektips          banana:/export/home/tektips
loginuser1       banana:/export/home/user1
loginuser2       banana:/export/home/user2
loginuser3       banana:/export/home/user3
loginuser4       banana:/export/home/user4

not loginuser has the same path as user ... but if they had the same uid the data could be accessed the same ...
 
Okay, I set up my path using automount. For some reason I am always logged in as 'root' under the CDE session. I am not even prompted with a login screen.
My other problem is that i am unable to log out of my sessions using 'logout'. I get an error message telling me why i am unable to log out, it says: &quot;TT_ERR_NO_MATCH There is no running program to handle this message, nor is there a static ptype to start such a program. Check whether the application....&quot; rest is cut off the screen. I am not sure what this means. I just know that I can't log off of the CDE session. Thanks>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top