Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Windows-like UAC for Gnome?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fhede
n00b
n00b


Joined: 15 Mar 2016
Posts: 43

PostPosted: Wed May 03, 2017 4:22 pm    Post subject: Reply with quote

lxde and lxqt have this thing. See if you could do something like that.

https://wiki.lxde.org/en/PCManFM#Run_as_root
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5584

PostPosted: Wed May 03, 2017 5:44 pm    Post subject: Reply with quote

Gregow wrote:
Going through that detour is slow, clunky and quite frankly retarded.

Of course, when pointing such obvious things out the response is something akin to "you don't really need it". If only someone would have told me that before!

Just downloaded a nice little font. Let's install it:

"sudo cp /home/gregow/download/animal-planet/gutsy-gibbon.ttf /usr/share/fonts/truetype/"

Yeah, beacause that's really fast. Especially if you want to select a number of files and copy or move them somewhere. Who would ever want to do that?

Code:
cp /home/gregow/download/animal-planet/gutsy-gibbon.ttf ~/.fonts/
Back to top
View user's profile Send private message
Zucca
Veteran
Veteran


Joined: 14 Jun 2007
Posts: 1458
Location: KUUSANKOSKI, Finland

PostPosted: Sun May 14, 2017 11:39 pm    Post subject: Reply with quote

I think this need more than just what I'm about to suggest...
But the solution might be to temporarily add the user, that has succesfully authenticated as an admin, to some admin group (wheel?). The problem is that one would need to somehow "refresh" the current login/session to be able to aquire the permissions of that admin group. (You don't want your web browser to get root access all of the sudden...)
After all the needed admin actions have been done the user "closes" his/her "admin rights" by sending some signal/command that removes the the active user from the admin group and again "refreshes" the login/session.
Now we just need someone to confirm if it's even possible to do what I just proposed. I doubt...

I wouldn't do it. It's a bad idea. Some GUIsudo should be enough, but that's not what OP wants so I don't concentrate on that then.

I manage all my admin needs via CLI. And I need to know how, because I run my own headless server without X.
_________________
..: Zucca :..

Code:
ERROR: '--failure' is not an option. Aborting...
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 480
Location: Estonia

PostPosted: Thu Jun 01, 2017 9:36 pm    Post subject: Reply with quote

Opening root owned files with nautilus without running the text editor itself as root is a new feature in GNOME 3.24. There is a new admin:// GVFS backend to achieve that; I believe that actually existed also in 3.22, but 3.24 got nautilus (Files) integration. Though in 3.22 it seems there's some issues with launching pkexec for asking the credentials or something; will try with 3.24 once I get that far with packaging it...

https://help.gnome.org/misc/release-notes/3.24/#thats-not-all

And stuff like "run GUI app as root" doesn't really work in wayland sessions, at least not when trying to do so from a normal users session. It's secure enough to not allow that, or something.
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
C5ace
Apprentice
Apprentice


Joined: 23 Dec 2013
Posts: 265
Location: Brisbane, Australia

PostPosted: Fri Jun 02, 2017 1:33 pm    Post subject: Reply with quote

I use a desktop icon on my user desktop to run "Porthole" as root.

[Desktop Entry]
Version=1.0
Type=Application
Name=The Porthole Portage Frontend
Comment=Use a GTK-based frontend to the Gentoo package management system
Exec=ktsuss -u root sudo porthole
Icon=porthole-icon
Path=
Terminal=false
StartupNotify=true

To use, click the desktop icon and enter the root password.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum