Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-08-2003, 03:58 PM   #1
Registered: Dec 2003
Distribution: Mandrake, Red Hat, Gentoo, Fedora, ClusterKnoppix, Scyld Beowulf
Posts: 52

Rep: Reputation: 15
Question 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?
Old 12-08-2003, 05:01 PM   #2
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
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'.
Old 10-24-2006, 06:42 AM   #3
LQ Newbie
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
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?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu, I can no longer become root or have root rights TroelsSmit Linux - Newbie 7 03-24-2007 08:17 PM
Giving a user (not a root) an access to some system commands asschay Linux - Newbie 8 09-08-2005 06:53 PM
How a ordinary user can run commands having only root privilige in C? shivaligupta Programming 1 01-31-2005 05:24 AM
adding commands to /bin (root user) xone Linux - Software 4 03-23-2004 01:26 PM
im in user mode and cant run hdparm and ifconfig commands, but if im root, i can. kublador Linux - Newbie 2 09-12-2003 09:27 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration