LinuxQuestions.org
Help answer threads with 0 replies.
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
  Search this Thread
Old 11-09-2004, 01:14 AM   #1
chaitu_iiit
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 10

Rep: Reputation: 0
root permissons to user command line


Hi
whenever i want to install something or to mount windows or to change some system files i have to go to root login and then i have to do the work.........but is there any way to ger all the permissons to user command line such that he can do everthing what user can do from his /her login........
 
Old 11-09-2004, 01:15 AM   #2
chaitu_iiit
LQ Newbie
 
Registered: Oct 2004
Location: India
Posts: 10

Original Poster
Rep: Reputation: 0
little bit modification to question ..........user can do everthing what root can do..........not user can do
 
Old 11-09-2004, 01:17 AM   #3
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
The idea of root is security based. You have to increase your priveleges to be root in order to accomplish certain tasks and should then drop out once completed. If you dont want to have to do this then log in as root instead of your usual login.
Regards
Chris
 
Old 11-09-2004, 01:18 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,292

Rep: Reputation: 65
add the user to the wheel group, if you can.
 
Old 11-09-2004, 01:22 AM   #5
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
When you say "go to root login" you are doing "su" to do that right?

And look into sudo (man sudoers) for letting users do certain things as root.
 
Old 11-09-2004, 01:24 AM   #6
UsualTuxpect
Member
 
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545

Rep: Reputation: 31
I agree with snecklifter.

Please read the man page for -->#man sudoers
the file involved in this is /etc/sudoers..

OOPS!!!

Last edited by UsualTuxpect; 11-09-2004 at 01:25 AM.
 
Old 11-09-2004, 01:57 AM   #7
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
...to mount windows...

It should be enough to adjust some mount options (in /etc/fstab). Namely, check options user, users and auto.

Otherwise sudo is your friend.

Best,

Ott
 
Old 11-09-2004, 06:54 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
As root, run the 'visudo' program. This is the way to edit the /etc/sudoers file.

Locate the line
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL

Uncomment the line:
%wheel ALL=(ALL) ALL

( You can uncomment the line by locating the cursor over the '#' character and entering '2x'.
Save the file by entering ':wq'

Now make yourself a member of the wheel group.

One nice thing about using 'sudo' is that the commands are logged. If you have more than one member in the wheel group, you can look in the logs who made a change if you need to ask about it.
 
  


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
going to root without password thru command line amanjsingh Linux - Newbie 6 03-29-2004 11:38 PM
command line user administration?? trey85stang Slackware 6 03-22-2004 11:15 AM
adding a user in the command line Daredevil Linux - Newbie 5 02-27-2004 12:56 PM
creating a user with few permissons evilchild Linux - General 2 12-01-2003 05:31 AM
changing to root user without command line kaega2 Linux - Software 3 11-28-2003 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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