Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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 trying to increase permissions for my standard user account and I am having a hard time figuring out what is what from the list (like 3 letter descriptions) where you add a user to a group. If you would, please tell me which group to add the user to so there is access to files copyed to the hard drive, because I do not automatically have permission to anything I copy from CD's, its just read and no wright. The group that can install programs. And delete files.
Last edited by LinuxPadawan; 04-07-2005 at 06:28 PM.
This is where administering comes into play. You can create your own groups and users to have ownership and access to different parts of your filesystem by assigning appropiately.
If you are using KDE, you can user the User Manager (KUser) which can be found under "KDE Start Menu" --> "System". Very useful graphical tool to manage your users.
After rereading your post, if you want your user account to have more permissions without being root (don't add your user to the root group for many security reasons), install and or setup sudo access is the best route to go.
Originally posted by Harishankar Another option would be to use the su whenever you wish to perform administrative tasks as a user, without having to log out and log in again as root.
I've never used sudo so I cannot comment on that.
As trickykid says, it might be quite dangerous to assign the "root" group to normal users.
Any of the above strategies will work for you. Choose whichever feels more comfortable for you.
The problem with just using su to root is that your passing that actual users password to login as them.. using sudo, you can bypass such things as it authenticates your own users password without ever using root's password.
Majority of the time, I install my system, login as root once to setup sudo and then forget root's password altogether as its never used or needed with proper setup with sudo..
The problem with just using su to root is that your passing that actual users password to login as them.. using sudo, you can bypass such things as it authenticates your own users password without ever using root's password.
Ah I see. Thanks. Maybe I should give sudo a try. Is there any graphical tool to setup and configure sudo?
but I do not no one from the other, in User Manager the groups you add the user to do not make sense. I know I could give my user root access by putting my user in that group. but I do not know what catagory to put the user in so that I can have access to the CD drive (only root can burn CDs) and so I have permissions to install programs. which are they?
this sudo thing or whatever it is will be a bit confusing to set up right now for myself sense I am a newbie.
Originally posted by LinuxPadawan but I do not no one from the other, in User Manager the groups you add the user to do not make sense. I know I could give my user root access by putting my user in that group. but I do not know what catagory to put the user in so that I can have access to the CD drive (only root can burn CDs) and so I have permissions to install programs. which are they?
this sudo thing or whatever it is will be a bit confusing to set up right now for myself sense I am a newbie.
You need to change ownerships and or add more groups. Don't add yourself to existing groups and don't add your user in the root group. If you want access to your cdrom to mount and such, its as simple as adding your user to perhaps the group "users" and editing your fstab file to allow the mounting of the cdrom drive.. etc.
Originally posted by LinuxPadawan where can I find my fstab file? And why shouldn't I add myself to existing groups?
It depends on the group.. most of the standard user and group accounts are for the services that run on your machine... your fstab file is found in /etc where most configurations files are found. Perhaps you should start off reading a bit more about Unix and Linux operating systems before diving into worrying about what groups and users permissions should be, etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.