Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Adding Users Command line

Adding Users Command line

2006-10-17       - By Bob McClure Jr

 Back
Reply:     1     2     3     4  

On Tue, Oct 17, 2006 at 01:16:14PM -0700, Bret Stern wrote:
>
>
> When adding users from the (command line)
>
> useradd
>
> has an option -r which assigns a specific user id.

Nope, that tells it to assign a "system-level" user id number, usually
less than 500 or 1000.  These are designed for pseudo users assigned
to subsystems and processes like mysql, procmail, backup, bin, et al.

> Is it common to explicitly assign a user id?

Only if you want to make it the same as on another system or to force
a duplicated UID.

> What happens if I don't specifically assign a user id?

It takes the next available UID in the desired range.  That's usually
figured by taking the highest occupied UID in the range and adding
one.

> I'm assuming two users cannot have the same user id,
> so..how would you know the user id's of all your users?

You don't need to, but if you must, look at the third field (delimited
by ':') in /etc/passwd.  Unless you have some good reason to specify a
UID, just let the system assign one.

> Thanks

Cheers,
--
Bob McClure, Jr.             Bobcat Open Systems, Inc.
bob@(protected)             http://www.bobcatos.com
"Where you go in the hereafter depends on what you were after here."
 - Thanks to Graffiti, 2 March 2004

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe