English
Ask Your Question
1

How to change userid to 500 from 1000?

asked 2011-11-09 03:03:33 +0000

updated 2014-09-28 20:41:50 +0000

mether gravatar image

I have multiple Fedora and Centos installs with my userid at 500. In order to access my NFS shares I reverted the 1000 to 500 in /etc for my user id (passwd, group). I also 'chown -R' my /home directory.

Did I miss something?

GDM no longer lists my login name. I have to keep clicking "Not listed". Why not just show a prompt instead. I know now I should have specified a userid when I installed (but I didn't realize it). The current setup seems like a bad design.

EDIT: Changing /etc/login.defs for UIDMIN or GIDMIN has no effect.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2011-11-09 06:49:40 +0000

Guest gravatar image

Change UIDMIN and GIDMIN parameter values to 500 in /etc/login.defs file. If you have already created user and want change uid for user, Edit /etc/passwd file.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Stats

Asked: 2011-11-09 03:03:33 +0000

Seen: 3,085 times

Last updated: Nov 09 '11