Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-28-2012, 08:11 AM   #1
LQ Newbie
Registered: Jul 2009
Location: Poland
Distribution: openSUSE, Debian
Posts: 15

Rep: Reputation: 0
User ID question

Hello all,
I'm configuring postfix on my new VPS. I remember that in one step I have to make user 'vmail' with UID=5000 (for example). Is possible that after user is created with such UID, new users' IDs will begin with 1000, 1001, 1002 an so on? Thanks in advance and sorry for my english.
Old 06-28-2012, 08:30 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,053
Blog Entries: 14

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
By default useradd will make the user ID (UID) of a user at least 1 greater than the highest number in the passwd file.

However you can use the -u flag to specify UID when adding a user:

useradd -u 1005 myuser

You can also use the -u with usermod to modify UID after adding a user in case you forget.


user id

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
user question ripper Linux - Newbie 1 11-20-2007 04:11 PM
My first question-New User ahmedelhamahmy Linux - General 3 07-16-2006 04:02 AM
New User Question... Nith Mandriva 6 09-13-2005 02:08 AM
Postfix email user & linux user question. hct224 Linux - Newbie 0 11-30-2003 12:24 AM
user question sqn Slackware 3 09-05-2003 05:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration