Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-29-2004, 12:06 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 29

Rep: Reputation: 15
mandrake 9.2 root Access

I use mandrake 9.2. I am the only user. How can I set it up so I don't have to worry about passwords or having access denied? (example: I went to empty the 'trash bin' and it told me access denied for some files. If I do this in root it works fine)
Old 02-29-2004, 01:42 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"How can I set it up so I don't have to worry about passwords or having access denied?"

Always run as root.

However this is not a good idea. You may not have a security problem with other users on your machine but you do have a large potential security problem with the internet. If you run as root more than you absolutely have to then you greatly increase the amount of damage that malware coming in from the internet can do to your machine.

People who switch from Windows to Linux often find that the extra security in Linux is annoying. But overall the extra Linux security is a big advantage. If you really want to configure Linux to no security and no security annoyances then I suggest that you try Lindows. Lindows has deliberately configured Linux to be as much like Windows as possible, warts and all.

Be prepared. Create a LifeBoat CD.

Steve Stites

Last edited by jailbait; 02-29-2004 at 01:46 PM.
Old 02-29-2004, 01:47 PM   #3
LQ Newbie
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
You could just log in to the desktop as root.
Old 02-29-2004, 01:53 PM   #4
Jose Muņiz
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
I think that's a pretty bad idea . I mean... it is not that hard to type 'su' in a terminal. Running as root, especially in a graphical environment, brings out many potential problems:

a) Malicious users can gain access to your computer and manage anything. If they gained access to your computer running as any other user, they would basically not be able to bring your system down (this also applies to computer virus)

b) You can ruin your own data without knowing. I have noticed that, for example in KDE... you don't get notifications before deleting things when running as root. This means you would actually be able to delete important folders like /boot or /sbin without even knowing. A simply badly phrased command could result in your system being ruined. Now, notice that this is an extra risk you should not be running..

If you stlil want to run as root... well just simply login as root :S My recommendation.. use su
Old 02-29-2004, 02:49 PM   #5
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
If you want to get rid of all the stuff in the trash for the user you are logged in as then do this so that you don't have to compromise your security.

Sign in as the Super User (root) through a terminal by typing su then the root password.

If you are in your home folder then type:

rm -rf .Trash/*

That will work everytime if your in your home folder (/home/yourusername) and signed in as root by using su.


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
am i able to access root? smay Member Intro 1 08-24-2005 11:32 AM
No root access James McGee Linux - General 6 09-24-2004 09:47 PM
Only root access in USB harddrive in mandrake 10 O smiler Linux - Newbie 2 06-24-2004 01:52 PM
How do I access root account in Mandrake 10? dbz Linux - Security 4 04-03-2004 12:00 PM
only root can access my fat32 and ntfs partitions on Mandrake 9.2 el_pajaro! Mandriva 2 02-03-2004 06:19 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration