View previous topic :: View next topic |
Author |
Message |
fhede n00b
Joined: 15 Mar 2016 Posts: 43
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed May 03, 2017 5:44 pm Post subject: |
|
|
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 |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Sun May 14, 2017 11:39 pm Post subject: |
|
|
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 :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Thu Jun 01, 2017 9:36 pm Post subject: |
|
|
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 |
|
|
C5ace Guru
Joined: 23 Dec 2013 Posts: 472 Location: Brisbane, Australia
|
Posted: Fri Jun 02, 2017 1:33 pm Post subject: |
|
|
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 |
|
|
|