LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-05-2004, 11:34 AM   #1
chutsu
Member
 
Registered: Nov 2003
Location: UK
Distribution: Debian Lenny
Posts: 255

Rep: Reputation: 31
How do you make the user have root capabilities???


Really stupid question.......how do you make like the user have root capability so that the user doesn't need to su all the time!!!
 
Old 09-05-2004, 11:36 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Setup sudo.

You don't want to have users with root capabilities outside of using either su or sudo. But sudo is probably the best option and safest.
 
Old 09-05-2004, 12:30 PM   #3
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
sudo is good, it stops you having to enter the root password all the time, but you still have to give the "sudo" command....

provided you want to allow ALL users to have root access to certain programs, you can set suid.

for example, to allow all users to load kernel modules without being root
chmod +s /path/to/modprobe

now whenever anormal user runs modprobe, it runs with root access.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting capabilities for a user vmniza Linux - Newbie 1 03-16-2005 01:58 AM
Make a root user for Ubuntu dbcoder Linux - Software 17 02-14-2005 02:10 PM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 08:54 AM
How do I make a user equal to root ? joncolby Mandriva 3 02-27-2004 03:54 PM
Need To Make a User for myself, besides Root Scarface Linux - Newbie 2 10-26-2003 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration