LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2009, 04:07 PM   #16
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Hi


I will try to explain clearly.

first enter into root mode from user mode by using command, su

su -
then enter root password and you will be in root mode

thn type command

visudo

then you should be in sudo configuration file. At the end of the file, i mean last line, in the new line type the following command

username ALL = (ALL) ALL

where username is the username whom you want to give the permissions
first ALL is the machine name, here all the machines
second ALL is the who may run what
Last ALL is the command u want to execute, here any command.

So the username here, can run any command on any machine.

So its the superuser too.


But its not usually advised to do so. For study purpose, its ok.

All the Best.
 
Old 02-22-2009, 04:35 PM   #17
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530Reputation: 3530
Quote:
Originally Posted by palisetty_suman View Post
But its not usually advised to do so. For study purpose, its ok.
That ain't exactly "study purposes" unless you study weakening the system.
Might as well uninstall Sudo then and grant everybody wheel group rights...
 
Old 02-22-2009, 05:40 PM   #18
palisetty_suman
Member
 
Registered: Feb 2007
Location: TX, USA
Distribution: fedora
Posts: 191

Rep: Reputation: 33
Thumbs up Hi

Hi actually i am a student too and we have to do so in the lab. Its not that the other user is a really other person, its the user created by him only. So i said for "study purposes".
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Give user root priviledges tekmann33 Linux - General 13 08-01-2011 09:28 PM
User priviledge???? Iptables_NEWBIE Linux - Newbie 3 09-09-2005 05:27 AM
How can I give myself root priv's as a user? Mr. Hill Linux - Newbie 9 06-12-2005 03:19 PM
My processes with root priviledge SiLiCoN Linux - General 2 10-04-2004 05:57 AM
Give root priviligies to an user Skululu Red Hat 7 03-06-2004 09:11 AM


All times are GMT -5. The time now is 03:58 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