UID of user accounts on *nix systems


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users UID of user accounts on *nix systems
# 1  
Old 05-09-2013
UID of user accounts on *nix systems

Hi,
As the /etc/passwd file contents all system and other users accounts on a linux/unix system, can anyone tell me what is the User ID values range for human user accounts (not system user accounts) on a linux (Red Hat/SuSE etc) and Unix (Solaris) OS.

I heard below number 100, all users are system users on a linux system. Is it same for unix systems?

thanks in advance,
Smilie
# 2  
Old 05-09-2013
In Linux, the range is between UID_MIN and UID_MAX as defined in /etc/login.defs.

In AIX you have /etc/security/.ids which is not as user-friendly as login.defs but you can edit it if you really need to; The second field represents the next available UID for standard accounts.

In Solaris there isn't tunable for this, as far as I know (besides limits.h). UIDs are sequentially chosen using the highest UID in /etc/passwd plus 1.

There isn't any standard for this, unfortunately.
# 3  
Old 05-10-2013
Quote:
Originally Posted by sanzee007
I heard below number 100, all users are system users on a linux system. Is it same for unix systems?
That was true eons ago. Then for a long time it was 500 but recently it was upped to 1000.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

nix User Access Restrictions to Network, USB ports, PCMCIA, CDROM

How to create a user account on a Linux desktop machine with restrictions on connecting to the LAN, WAN, PCMCIA ports, Firewire, CDROM and generally any user controllable output options? I have the task to set up a machine for users working with sensitive data that should not be leaving the... (1 Reply)
Discussion started by: netfreighter
1 Replies

2. UNIX for Dummies Questions & Answers

How to get the username if I know only the user's UID?

Hi, I know the user's UID, but I need to know the user's username which has this UID. How can I do it?? Any ideas? Thanks! (7 Replies)
Discussion started by: rodrigoroma
7 Replies

3. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

4. UNIX for Dummies Questions & Answers

single user mode - user accounts passwords

hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies

5. UNIX for Dummies Questions & Answers

Doubt over Uid and User name.

Hi, I know the uid and I wan to know the user name the uid belongs to. How can I get it. Suppose My user name is ssnayak and coresponding uid is 1110 Similarly I know one uid 1212 and how can I come to know the user name for this uid. Thanks & Regards, Siba (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

6. UNIX for Dummies Questions & Answers

User Accounts

Hi, I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies

7. AIX

User ID (UID) in AIX

what is the upper limit for UID is AIX 5.3 ? (1 Reply)
Discussion started by: learner
1 Replies

8. UNIX for Dummies Questions & Answers

Help with user accounts

I have a root access to a UNIX system. I want to create another account with administrative permissions (create users, delete them, manage print and system configuration), how do I do that? I have a Solaris 9 (SunOS 5.9) installed. Please help. :o (3 Replies)
Discussion started by: neked
3 Replies

9. Shell Programming and Scripting

User Accounts

I have found a script to create user accounts. But there are a few lines i dont understand. Can someone help me with this? Here's the code: ###################################### while ; do ACCT=${USER_ACCT}${START} START=`expr $START + 1` START=`echo ${START} | awk... (3 Replies)
Discussion started by: Sensor
3 Replies
Login or Register to Ask a Question