[SOLVED] Package Installer running as priveleged user
Linux - SoftwareThis 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.
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.
I'm logged in as root and want to run Add/Remove Software (Package Installer) but get the message telling me
Code:
Running graphical applications as a privileged user should
be avoided for security reasons. Package management applications a
re security sensitive and therefore this application will n
ow close.
What the .... How must I install applications?
Surely the world is getting paranoid with all this hackers and viruses, because with every new version O/S, the security features gets more and more; up to the point that you can't fricken do and play around with your pc as you would.
Now also my selinux pops up for every little thing.
F10 is pretty serious about not being logged in as root (right or wrong). What they prefer you to do is to fire up the app (as a users) and then allow it to ask for the root password.
If the app is a GUI thing, you can fire it up from a GUI terminal / konsole / xterm (which you are logged into as yourself) like this:
kdesu appname if running KDE gtksu appname if running gnome
I am surprised your distro doesn't just have a GUI menu entry for "Your Package Manager", which when clicked, prompts you for the root password (which may be your PW if you are running one of the 'buntus). Mine has had this for years. Click, enter password, choose package, install, use it.
It is a very bad idea to run a GUI desktop as root. No arguments will be entered into
BTW,why I run GUI as root? Because I don't know how to run GUI apps as root (I do know su in console). So when I need to extract an archive, I get this unprivileged error every time. Consequently, its easier to just GUI in root.
BTW,why I run GUI as root? Because I don't know how to run GUI apps as root (I do know su in console). So when I need to extract an archive, I get this unprivileged error every time. Consequently, its easier to just GUI in root.
You do understand the difference between su and su - (su space dash)?
Maybe, I'm still a young Linux user. Then explain the difference. I use su<enter>password<enter> in konsole to do administrative things. But if I'm trying to install, for ex. a php in my web dir, or want to create folders there, I need root privileges. Many things I can do with konsole, but I don't have ALL the konsole commands to only use konsole, therefore I still use GUI.
su gives you root power but with only the user's path. su - gives you root power and root's path. For the most part you are better off always using su -.
You can do anything using su - that you can do by logging in as root. If you do I as described in post #5 you can use all the gui apps via su -, without logging in as root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.