HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
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