Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-11-2010, 01:50 AM   #1
LQ Newbie
Registered: Feb 2010
Posts: 13

Rep: Reputation: Disabled
Smile Full permission to normal user


In my system I have installed Fedora12. And there is a user called "user1". Now I want to provide this user the full permission as root.
How can I do that?
I tried but it didn't work.

And another thing is that is there any possibility to boot with root user instead of normal user?
At the time of login, we should login from normal user. We can't login from root user.
After we login to normal user then only we can login to root user through the terminal inside gnome desktop.

So I want to login from root user first.
Is this possible?

Help me.
Old 05-11-2010, 01:58 AM   #2
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297

Although you can configure your system to allow root to login it's not adviced. Better practice is to add your primary user to the su list so that you can use:
sudo command
This is a lot safer so that you will not break your system. To add a user to the sudoers list, you can use visudo if installed.

Kind regards,

Old 05-11-2010, 04:54 AM   #3
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
or set uid and gid of user1 to 0 in /etc/passwd.
but again be aware it's not what you really want, don't use root privileges everywhere.
Old 05-11-2010, 06:14 AM   #4
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 572

Rep: Reputation: 120Reputation: 120
Originally Posted by Web31337 View Post
or set uid and gid of user1 to 0 in /etc/passwd.
but again be aware it's not what you really want, don't use root privileges everywhere.
Would you not then have to change roots UID to something other than zero so it is unique? Would that not cause other potential issues?
Old 05-11-2010, 07:04 AM   #5
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,247
Blog Entries: 4

Rep: Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777Reputation: 3777
Well, there are some advantages to setting yourself up as an all-powerful root user: if you come from using Windows at home, you'll feel right at home. Maybe a virus will drop by and catch you with your pants down and then you'll really feel right at home!

Operating system security is bad. Bad, bad, bad. Bad dog. No biscuit. Every piece of software anywhere on the planet should have the unfettered right to screw-up your system. Yes, yes, this is The Way.
Old 05-20-2010, 09:33 AM   #6
Registered: Nov 2007
Location: Virginia
Distribution: Fedora, RHEL, CentOS
Posts: 67

Rep: Reputation: 17
Don't do that, it's a horrible idea.

The best solution that I can think of for you is to add the user to the sudoers file and allow user1 to issue all commands without entering a password. You'll have to type sudo for before every command. I'd also advise against doing that, but at least it's a solution for you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
X no longer working as normal user - permission denied vharishankar Debian 4 07-15-2006 12:36 AM
how to run root command having normal user permission ravi.patil Linux - Newbie 7 05-21-2006 02:21 PM
how can I mount an fat32 partition with full access for a normal user? (FC5) thefinalxia Linux - Newbie 4 04-10-2006 02:02 AM
How can give ROOT permission to a NORMAL USER bipinkdas Linux - Software 2 06-23-2005 11:03 PM
permission problems for normal user c0d3-z3r0 Linux - Newbie 7 06-12-2004 08:02 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration