Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I don't understand your question. It could be me, but I'd recommend you read the Welcome to LQ link to see if there's a better way to phrase the question.
Just wanted to know that in which script it is mentioned that Root should have all the privileged of read write and execute???
Any idea ????
During installation Root has the access to make changes according to the requirements so where it is mention that Root should have UID=0 or it \
is super user that's my point
Hi berndbausch,
Is it possible to change the user ID of normal user to '0', And What will happen if we do that?
man usermod:
Code:
-u, --uid UID
The new numerical value of the user's ID.
This value must be unique, unless the -o option is used. The value
must be non-negative.
The user's mailbox, and any files which the user owns and which are
located in the user's home directory will have the file user ID
changed automatically.
The ownership of files outside of the user's home directory must be
fixed manually.
No checks will be performed with regard to the UID_MIN, UID_MAX,
SYS_UID_MIN, or SYS_UID_MAX from /etc/login.defs.
I don't know if it's a good idea to change the UID of an existing user to 0, but you can create a new user, give it the same home directory as root and set its UID to 0. useradd also has the -u option.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.