LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Root/User rights to Root commands? (https://www.linuxquestions.org/questions/linux-software-2/root-user-rights-to-root-commands-123939/)

mrde50garfield 12-08-2003 02:58 PM

Root/User rights to Root commands?
 
I have a MDK 9.1 server that allows only the root account to use the command 'logout'. I would like all my users on the server to use this command.

What do I need to modify?

jpbarto 12-08-2003 04:01 PM

change permissions of the executable should do the job.

you have to activate the suid (set user id) bit on the executable..
so that if the executable is owned by root you would execute (as root)
chmod 6755 logout

this will give ALL users permission to execute logout, and when logout runs it will execute as 'root'.

tsarlz 10-24-2006 05:42 AM

hi,
Here's the situation, the server(fedora) was setup in such a way that when you try to access the server, the server will ask first for the particular login say "johnsmith" before we can use the root user.

my question is, is there any problem if ever i changed the password for "johnsmith", the first level authentication? by the way i am already the admin of the server.

second question? how does our former sysadmin did our current setup of our fedora server? that there is a first level authentication before i will use the root account.

third, how to do the adding of user account with admin rights or root previliges?

thanks.


All times are GMT -5. The time now is 10:41 PM.