cancel
Showing results for 
Search instead for 
Did you mean: 

UID

SOLVED
Go to solution
kunjuttan
Super Advisor

UID

How can we able to maually assign uid to users?
3 REPLIES
Pete Randall
Outstanding Contributor
Solution

Re: UID

Read the man page for "useradd":

useradd -u uid

It's nice that you have this resource to help you through your hp-ux learning curve, but you really need to make an effort of your own to find an answer for some of these simple questions. Some day it might just come in handy for you to be able to figure something out on your own.


Pete

And it would also be nice if you rewarded the people who take the time to answer your endless questions by assigning some points.

Pete
Viktor Balogh
Honored Contributor

Re: UID

to change the UID of an existing user look for

# man usermod
****
Unix operates with beer.
Johnson Punniyalingam
Honored Contributor

Re: UID

useradd -u #### -g #### -m -d /home/username -s /bin/csh

-u - user id
-g - group id
-m - create home directory
-d - home directory
-s - default shell

man useradd -> for more information
Problems are common to all, but attitude makes the difference