Red HatThis forum is for the discussion of Red Hat Linux.
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.
I want to create a user with root permision....this new user must have permision to run services and other system related tasks. can any body tell me how can I create the user with root permision.
- create another entry in your /etc/passwd file with uid 0. this is the easiest approach but it might break some software. commands like pwck will complain if you do this.
- define the exact tasks this "root" user needs to do. then update the /etc/sudoers to include this user/commands.
- define the exact tasks this "root" user needs to do. put this special user into a group (eg admin). then chgrp the commands/files he needs to access the the special group and make them suid and disable execute for others)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.