Hi,
you cannot use /home in solaris. It is autmounter is using /home. try /export/home. You can also use -u, -c, -d, -s and, -m. do man useradd and, should list all the options.
/home is not allowed because there is no director called /home
users home directory is found in /export/home. That directory is created at time of installation. Go to export and you will see home (learning purpose)
therefore to add a user:
( you can give the user a shell and other stuffs, but lets stick to the basics)
Do some study you will understand it better.
Good luck
Last edited by Scott; 02-02-2013 at 11:36 AM..
Reason: Please use code tags
tells you that it is used by automounter map "auto_home".
If you'll never use NIS and NIS automounter maps,
you can #disable the /home line in /etc/auto_master,
and update automounter:
Then df -k /home tells you this is a simple directory in the / filesystem.
Hi all,
OS is Solaros 10 Sparc
While doing Netbackup upgradation to 7.5 , the server was asked to reboot.
But then it came up in single user mode,
and after I typed format command it showed some disk error.
bash-3.00# format
Searching for disks...WARNING:... (2 Replies)
is it possible to add a user twice to solaris server with the same id? i have been added twice in the past week and that is messing up one application that i am using which authenticate against the os. (10 Replies)
Hello All,
New to Solaris, I added a new user by cmd " useradd -d /export/home/username -m username " but wondered when I tried to login with this new username, It doesn't automatically redirect to the user's home folder. Can anyone suggest about this? (9 Replies)
In SCO Unix, where does useradd or adding a user through scoadmin (gui) pick the initial default .profile (login profile) that is put in the users home folder? In Solaris its in the /etc/skel/.profile.
I would like to replace it with a custom .profile; so that it's picked automatically when... (1 Reply)
Hi All,
I am adding a new user by using Solaris Manamement Console after Remotely Access through Xmanager 1.3.9.
But after completing all steps its through an error as follows.
The Actual Error Reported was :
The management Domain file :/abc/abc do not exist or can not be managed on abc.
... (0 Replies)
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... (1 Reply)
Now, its been a while since i done this but I had to add a user to a group. I did that by using the usermod command and now when I superuser to the user's account and issue a "id", i get the desired gid.
i mean, output of id indicated the user is assigned to the group i want him to be in. ... (5 Replies)