LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mandrake 9.2 root Access (https://www.linuxquestions.org/questions/linux-software-2/mandrake-9-2-root-access-151868/)

tgkspike 02-29-2004 11:06 AM

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)
Thanks

jailbait 02-29-2004 12:42 PM

"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.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

CarterUK 02-29-2004 12:47 PM

You could just log in to the desktop as root.

Jose Muņiz 02-29-2004 12:53 PM

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

Pwnz3r 02-29-2004 01:49 PM

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.


All times are GMT -5. The time now is 11:32 PM.