Operating System - HP-UX
1751954 Members
4653 Online
108783 Solutions
New Discussion юеВ

Re: can we know the best practise when our userID is above 500?

 
shell script_1
Advisor

can we know the best practise when our userID is above 500?

can we know the best practise when our userID is above 500?

server : rp 3440

os :11.11
9 REPLIES 9
Steven Schweda
Honored Contributor

Re: can we know the best practise when our userID is above 500?

Why would anyone care if a UID is greater
than 500?
shell script_1
Advisor

Re: can we know the best practise when our userID is above 500?

because our user is move than 1000. please advice
Matti_Kurkela
Honored Contributor

Re: can we know the best practise when our userID is above 500?

Choose whatever option is best for your current task.

The options (displayed in the picture you attached) will affect the display of the user/group listing in the current SAM session only: there is no permanent effect.

(Apparently if you have more than 500 users configured, SAM won't display all of them at the same time.)

You might consider using the command-line tools (useradd/usermod/userdel, groupadd/groupmod/groupdel, etc.) to manipulate users and "more /etc/passwd" to view the list of users. Unlike SAM, these tools are not limited by any specific number of users.

MK
MK
James R. Ferguson
Acclaimed Contributor

Re: can we know the best practise when our userID is above 500?

Hi:

You need to pay attention to the forum categories into which you post your questions. This one has nothing to do with LVM. You also need to say "thanks" for the help you receive by assigning points to your responders:

http://forums.itrc.hp.com/service/forums/helptips.do?#28

...JRF...
Steven E. Protter
Exalted Contributor

Re: can we know the best practise when our userID is above 500?

Shalom,

This is a policy you can control.

There is no problem deciding to set users to be above any number you like. After you manually change the user number in /etc/passwd to 1000, the next user added with the useradd command will get the next sequential user number.

HP-UX likes system users to be below 100. Linux by default sets system users to 500 or below.

System users need to be segregated so they are not modified to permit login, which is a real security concern and what you should be worried about.

Having a consistent policy is good.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Chui Kock You_1
Frequent Advisor

Re: can we know the best practise when our userID is above 500?

Hi All,

Thank for help. Beside that├в ┬ж
When we create userID with group more than 500 userID, we will have this error:
Pls refer to the attachment file.
Any comment is appreciated.


Thank

Steven Schweda
Honored Contributor

Re: can we know the best practise when our userID is above 500?

> Pls refer to the attachment file.

Why not post plain text? Does this error
message really need a Word document to convey
its true meaning?
Chui Kock You_1
Frequent Advisor

Re: can we know the best practise when our userID is above 500?

Hi Steven,

I've convert the file into doc. Pls refer to the attachment file.

Regards
Chui

singh sanjeev
Trusted Contributor

Re: can we know the best practise when our userID is above 500?

from screenshot it look that you trying to change the group of a user :

>to change the primary group of a user use
#usermod -g


>to add a secondary group to user then do:

#usermod -G



Sanjeev Singh