Visit Our UNIX and Linux User Community


Can't create users in /home


 
Thread Tools Search this Thread
Operating Systems Solaris Can't create users in /home
# 1  
Old 02-04-2008
Can't create users in /home

Hi Friends,,

I installed solaris 10 in vmware just now.I got a simple problem while i want to create users in /home directory.It is saying "cannot create ".So i checked the permission and then i find that the perm to user(root) is r-x.So i tried to change it to rwx using chmod but again i got a warning "can't change /home".

I didn't get why i am not able to change even as root.Then i checked,,Is there any other directories with same permissions.Then i found vol,proc,net,home are the directories which have r-x perm's.So i tried to change the remaining ,,then /proc and /net also didn't get changed but /vol got changed to rwx.

The major part i noticed is,, for all these directories the usename 'n' groupname is root ..I am trying to create files in home because,, in my previous installations i had done that and i suceeded.I didn't get this problem before.

The problem seems to be simple but i am not able to solve...
Can anyone help in this issue...
# 2  
Old 02-04-2008
don't touch these directories! /home ist a mountpoint for the nfs automounter (e.g for nis domains). typicaly the users got to /export/home/"username".
have a look at /etc/auto_master!
# 3  
Old 02-04-2008
In addition to the previous comments. A typical /etc/auto_home for use on a single machine where you really want home directories in /home would be:

Code:
*    hostname:/export/home/&

Where hostname it either the actual hostname of the machine or 'localhost'
# 4  
Old 02-04-2008
@reborg

nice one...
# 5  
Old 08-21-2008
Question Since can't create users in /home, how to make /home/userid path work?

I had exactly the same experience as sdspawankumar..
The problem I was trying to solve is that I have binary code from an
earlier Solaris on SPARC that has file paths /home/dberry/... hardwired
into the code. Since the administrators made my account at /u/dberry
for consistency with the rest of the environment, I was trying to make
a symbolic link under /home/ called dberry set to point to /u/dberry.
After all, this is what I did on some past Solaris and other machines..
Occasionally, I would make home a symbolic link under /.

OK.. so it's clear that neither trick will work on Solaris 10..

Given that.. is there some incantation I can say in some start up file
that will cause "/home/dberry/XXX" in executables to be mapped to /u/dberry/XXX? I get the feeling from reading what I have found about this problem that the purpose of the way /home is built is for behavior
like what I want..

Thanks
Dan

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Permissions on a directory in /home for all users

Hi, I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions. I did this using chmod -R g+rwx /home/shared/ The problem is, when a particular user creates a directory within /home/shared, other users are not able to write to... (8 Replies)
Discussion started by: lost.identity
8 Replies

2. Shell Programming and Scripting

Create multiple users with individual passwords to users

hi, i am new to shell scripts i write a shell script to create multiple users but i need to give passwords to that users while creating users, command to write this script (1 Reply)
Discussion started by: DONFOX
1 Replies

3. UNIX for Advanced & Expert Users

Files disappearing from /users/home

We have seen an issue whereby every morning around the same time , we see files being deleted from /users/$userid . We have many crons and processes running across 40+ different servers . Possibly some rogue process is doing this . How can one isolate the process removing stuff from the... (4 Replies)
Discussion started by: taherkf
4 Replies

4. Cybersecurity

ssh many users to one home

Hey guys, Hmm.. I'm not quite sure where to open this. If any mod thinks this is not the place, please move it to wherever its suited :) So, I want to allow some trusted users to scp files into my server (to an specific user), but I do not want to give these users a home, neither ssh... (1 Reply)
Discussion started by: flpgdt
1 Replies

5. Solaris

Common Home directory for different users??

Hi Guys, I have a problem with configuring a server. this is a solaris 10 with sparc platform. I have setup so that the server is Authenticating through NIS but I dont want the server to Mount the Home directories. The users need to logged in through the CDE/display. I have over 200 users... (2 Replies)
Discussion started by: Luky
2 Replies

6. UNIX for Dummies Questions & Answers

lost /home/directory for users

I'm using HPUX 11i. The other day a user logon to the workstation and was not able to find the /home/directory (tom is the directory) I login myself and it is the same thing. The home directory is on the server, so I was thinking of using sam to map it again. does anyone know how to do it... (5 Replies)
Discussion started by: blizzgamer
5 Replies

7. UNIX for Dummies Questions & Answers

Home Directory Jail for Users

Hi, I am looking for a shell script (or any other way), that puts a user in a home directory jail. So for example, I have a user named richard and I don't want him wandering outside /usr/users/richard. I don't want him to cd to anywhere including cd .. Somebody said you can do that with... (3 Replies)
Discussion started by: mz043
3 Replies

8. HP-UX

Home dir for users

Hello all, Most of our users have the same home directory, I know it's weird but it has been like this before me and we don't want to change that for now. When creating a new user using command useradd, it is not allowing me to create it because it is using the home directory of someone else. I... (2 Replies)
Discussion started by: qfwfq
2 Replies

9. AIX

HACMP users home directories

What would be the best approach to configure one external /home f/s in simple two node config and have concurrent access ? (1 Reply)
Discussion started by: zz2kzq
1 Replies

10. UNIX for Dummies Questions & Answers

Profiles for users without home directory

Hi I want to know which profile will be called when a user without home directory is created. When I created a user without home directory(by setting in /etc/default/useradd), the user is able to login directly into the main "/" folder but with only read permissions. Thanks naina (3 Replies)
Discussion started by: naina
3 Replies

Featured Tech Videos