Linux - NewbieThis 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
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.
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.
I am a new Linux user and am having difficulty installing software. I am running FC10 and when I try to install synergy cam using the shell script they provide I encounter an error that says I am not in the sudoers file and do not have permission to access it. I tried going to the man sudoers page to learn more about this and add myself to the page and I am told I do not have administration access. How can I gain access and install my software? Thanks for any advice.
You need root permissions to install software for system-wide use. The sudoers thing is only a means to allow some amount of permissions for certain users or applications. In your case it's probably the best to login as root and install it from there.
sudo is created so its not necessary to log in as root everytime you need to do something administrative. if you get into the habit of logging in as root all the time you will wake up at 4:00 in the morning one day and accidentally do something stupid like 'rm -rf /' .
yea, only the root has the permission to create sudo users. for example, the root can give a user certain privileges to do root's job, like starting the apache etc.
sudo is better, because it gives u an audit trail which records about what has been changed, by whom and when. By using wheel group to allow su , it doesnt give an audit trail. So, for security purposes, sudo is better.
I'd like to add to what schneidz is hinting at and clarify just what sudo is meant for...
Sudo is meant to allow non-root users to run specific commands as root. Allowing any group/user to run any command as root is pure evil and perpetrators should burn in hell. If you need full root access for any command, then you should 'su -'.
'sudo bash' or any other such nonsense is extremely bad form and can lead to severe security problems down the road.
Also, to safely edit the sudoers file, use visudo as it will warn you of any syntactical errors before writing the changes.
Last edited by JulianTosh; 02-13-2009 at 10:39 PM.
Reason: addin info about visudo
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.