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.
You shouldn't have a user account with root privileges. That's why the root account is not just an elevated user but a special account.
Why do you want root access for a regular user? If you need to admin anything, just use the su command to become root until you're done doing whatever superuser stuff it is you're doing.
If you need to extend access for a user to something you can create a new group using the groupadd command, add the user to this group and change the ownership and permissions on whatever it is you want to give access to to full access for group members.
Jag är än så länge inte en särskilt van användare av konsolen, så jag vill kunna göra en del av den vanliga filhanteringen med nautilus, men det går inte om användaren man är inloggad som inte har root-previlegier.
Är jag helt ute och cyklar?
I tried group add but only got the message that group root exists.
The reason some of us want root access in Mandrake but not all the time is for doing the small things. e.g. adding a usb key so that we can transfer files. As a normal user I can add a folder to the mount directory. However I cannot edit permissions on any of my bin/bash files or edit the fstab file. The fstab file needs to be altered to be able to read my usb key.
There are a host of other reasons but being a root in the graphical format is a necessity not a whim.
Now can someone please give me a step by step on how to do it?
Most system configuration files are only writable by root period. root is the only owner of the file and the group (usually root) for those files does not have write permission.
There's no way to do what you want (on some programs) without changing permissions and group membership all over the system. This will probably hose it up completely, ruin security, and some programs won't work unless permissions are root user write only. So what you're asking is not and should not be a possibility.
You could do it the simple way and su in a terminal and type in the name of the gui program. If you want several users to be able to without giving them the root password then set up sudo.
man sudo
No, I have used fedora core, debian and other versions of linux. On those you can log in as root + password or user account and password on the GUI. Most of the time one will log in as a user so they do not accidentially delete crucial files, etc.
Some of the time we want to log in as a root to be able to modify administration files without changing the user privillages. If this doesn't work I will just uninstall mandrake and give up on it because this is crucial to doing things.
su lets a user switch to the root account. sudo gives root privledges to users for either all commands or just a few commands. It's according to how you set it up.
A user account cannot be created with root permissions. That's not how linux works.
A user account cannot be created with root permissions. That's not how linux works.
Sorry, but that's blatantly wrong. It's no problem
to create a user with a different name from root but
the UID 0, which in fact makes him root as well.
It's not impossible, it's just utterly stupid and
anything but recommended practice.
Originally posted by Tinkster Sorry, but that's blatantly wrong. It's no problem
to create a user with a different name from root but
the UID 0, which in fact makes him root as well.
It's not impossible, it's just utterly stupid and
anything but recommended practice.
Well by Jove, you're right. I created an account with UID 0 just a different username, su'd to it and was root.
I created an account with the username notroot
james: $ su notroot
root: #
I agree that would be stupid and would also create just another security problem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.