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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-09-2004, 02:14 AM
|
#1
|
LQ Newbie
Registered: Oct 2004
Location: India
Posts: 10
Rep:
|
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........
|
|
|
11-09-2004, 02:15 AM
|
#2
|
LQ Newbie
Registered: Oct 2004
Location: India
Posts: 10
Original Poster
Rep:
|
little bit modification to question ..........user can do everthing what root can do..........not user can do
|
|
|
11-09-2004, 02:17 AM
|
#3
|
Member
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982
Rep:
|
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
|
|
|
11-09-2004, 02:18 AM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305
Rep:
|
add the user to the wheel group, if you can.
|
|
|
11-09-2004, 02:22 AM
|
#5
|
Member
Registered: May 2004
Distribution: Ubuntu
Posts: 583
Rep:
|
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.
|
|
|
11-09-2004, 02:24 AM
|
#6
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
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 02:25 AM.
|
|
|
11-09-2004, 02:57 AM
|
#7
|
Member
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619
Rep:
|
...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
|
|
|
11-09-2004, 07:54 AM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
|
|
|
All times are GMT -5. The time now is 09:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|