Hi all,
I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin.
Name for the user Tivoli
Thanks & Regards
Babu
Hi all,
I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin.
Name for the user Tivoli
Thanks & Regards
Babu
look at the man pages for "useradd" when creating users.
For the permissions side, chmod or setfacl should help.
hi
This is the syntax for user creation
useradd -u -g -d /opt/tivoli/tsm/client/ba/bin/Tivoli -m -c "super user"
-s /bin/bash/Tivoli
hope it would be helpfull for you
Thanks & Regards
Prakash
not without the username
useradd -u -g -d /opt/tivoli/tsm/client/ba/bin/Tivoli -m -c "super user"
-s /bin/bash/Tivoli Tivoli
Better not to use a confusing gcos, to set a proper home directory and an existing shell
useradd -u -g -d /home/Tivoli -m -c "Tivoli user"
-s /bin/bash Tivoli
my turn...
/home is a autofs directory in solaris! so better use /export/home/Tivoli
Indeed, -m option would have failed in case auto_home mapping is still enabled.
A little one more, user and group ids were missing:
useradd -u uid -g gid -d /home/Tivoli -m -c "Tivoli user" -s /bin/bash Tivoli
Frankly, I prefer the good old "vi /etc/passwd; pwconv; passwd username" ...