Linux - SoftwareThis 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.
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........
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.