LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   suders permissions (https://www.linuxquestions.org/questions/linux-newbie-8/suders-permissions-4175519989/)

apj 09-24-2014 10:42 PM

suders permissions
 
I have set a 0 UID for normal user to give super user access to that user but i want to restrict that user to use useradd command with -o option. That user can execute useradd but not with -o.

how to do??

jdkaye 09-25-2014 12:32 AM

This link may help you with your question. Read it and see if it does.
jdk

pan64 09-25-2014 12:45 AM

you must not set 0 uid for a normal user, but use sudo. the 0 uid is special and means full and unrestricted access to everything. The system does not care about the username but the uid (when checks the access right)

apj 09-25-2014 09:52 AM

suders permissions
 
thanks


All times are GMT -5. The time now is 01:27 AM.