Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 02-25-2006, 12:08 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 5

Rep: Reputation: 0
Using Root

Is there anyway to change the root permissions so I dont have to type in my password every time to make changes or install programs. This is annoying since I'm the only one that uses this computer.
Old 02-25-2006, 12:23 PM   #2
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
What distribution are you using?

The only root permission is there for your safety. Also in case your system gets hacked or anything. It is really uncool to leave your system running with all root permissions wide open, and it is in no way recommended!
I bet its also one of the reasons why linux lasts longer on your harddrive

Anyway: most of the time you wont do things that needs root access on your pc, so the 'su' typing cant be that much of a pain or? (just curious)

Sincerely, Jørgen
Old 02-25-2006, 12:46 PM   #3
LQ Newbie
Registered: Feb 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I'm using Suse 10 and trying to get things set up. Many of the programs need extra componets added to them before they will work properly and all rpm's I'm installing can make it a pain at times. Once I get thins tuned in I won't be needing root acess as much. I can't get use to all of the different options and settings Linux has to offer and windows won't let you do much at all to customize your Desktop and Programs. It's frustrating at times but after you tinker around and get it working... WOW!!! It' pretty cool.
Old 02-25-2006, 01:41 PM   #4
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
If using KDE there is a link in the Start Menu > System Tools > File Manager (super user).
This opens a konquorer window with root access then if you need a terminal just right click and select Actions > Open terminal here.

Another way is to add yourself to the wheel group. Then edit /etc/sudoers file. You have to use the command ' visudo ' to edit this file. Also requires root access. Once open add the line like this or uncomment if it exist. It uses the vi editor which is one of the best around but may be difficult for beginners. To change default editor run command ' export EDITOR = nedit ' or your favorite editor.
# Uncomment to allow people in group wheel to run all commands
%wheel        ALL=(ALL)       ALL
Or to use it commands without password. do this.
# Same thing without a password ( not the secures way but the only user)
%wheel        ALL=(ALL)       NOPASSWD: ALL
Now to run a command as root in use a command like ' sudo make install ' or ' sudo rpm -ivh *.rpm '. The first one still requires a password the second one does not.

Login as user
Open a terminal
su -
export EDITOR = nedit
add line
 %wheel        ALL=(ALL)       NOPASSWD: ALL
save and exit
add yourself to the wheel group ' groupadd -g wheel username ' Replace username with your username.
Now just add sudo before the commands that require root usage.


Last edited by Brian1; 02-25-2006 at 01:42 PM.


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
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 08:32 AM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM
Scanner to work as USER and not forced as ROOT Root (Suse 9.1) 1kyle Linux - Hardware 0 07-10-2004 08:51 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:16 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration