LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 12-08-2003, 02:58 PM   #1
mrde50garfield
Member
 
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, 04:01 PM   #2
jpbarto
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, 05:42 AM   #3
tsarlz
LQ Newbie
 
Registered: Aug 2005
Posts: 13

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 07:17 PM
Giving a user (not a root) an access to some system commands asschay Linux - Newbie 8 09-08-2005 05:53 PM
How a ordinary user can run commands having only root privilige in C? shivaligupta Programming 1 01-31-2005 04:24 AM
adding commands to /bin (root user) xone Linux - Software 4 03-23-2004 12: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 08:27 AM


All times are GMT -5. The time now is 01:37 PM.

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