Using PolKit to rescue sudoers failure

  Рет қаралды 1,984

theurbanpenguin

theurbanpenguin

Күн бұрын

Пікірлер: 17
@Maniac_0470_
@Maniac_0470_ 2 жыл бұрын
With the rest of the community - I am so sorry for your loss - its been awesome seeing your videos keeping her front and center for so long. On a slightly lighter note - I REALLY liked this video - very quick and definitely any Linux administrator should know about - could literally save a system or business!
@theurbanpenguin
@theurbanpenguin 2 жыл бұрын
Thank you so much, just a week to go to mark her passing. Your comments will mean a lot to her family
@letslinux
@letslinux 2 жыл бұрын
the best solution I've seen, and I'm sorry to say that it happened to me and I had to ask backup to restore sudoers
@sandeepagarwal7387
@sandeepagarwal7387 2 жыл бұрын
Really sorry for loss of Lori! Lots of sadness was brought by this pandemic...
@theurbanpenguin
@theurbanpenguin 2 жыл бұрын
Thank you :)
@josemfacuna6754
@josemfacuna6754 2 жыл бұрын
Very Sorry for her lost.
@theurbanpenguin
@theurbanpenguin 2 жыл бұрын
That is kind of you
@AndreyZloy
@AndreyZloy Жыл бұрын
Thank you! Nice usage example
@BrucesWorldofStuff
@BrucesWorldofStuff 2 жыл бұрын
Sorry for your lost... I lost a Uncle, Aunt (different family), 3 friends from the THING! So I understand, with that said I do not use those medias, just YT... LLAP
@theurbanpenguin
@theurbanpenguin 2 жыл бұрын
Thank you for sharing and I am sorry you have met with so much sadness
@sadasulna6056
@sadasulna6056 2 жыл бұрын
Nice to know so thanks for showing me this, but surely you could just "su" to root using root's password? Or just login as root at the console.
@theurbanpenguin
@theurbanpenguin 2 жыл бұрын
Many cloud systems do not have a root password. So su and console are out. By default Ubuntu systems never have root password
@sadasulna6056
@sadasulna6056 Жыл бұрын
@@theurbanpenguin In which case you can just su to root without a password, surely?
@theurbanpenguin
@theurbanpenguin Жыл бұрын
@@sadasulna6056 by default in Ubuntu and many cloud images there is no root password. If you have access to the physical system you can reset a root password but this is not possible on cloud systems. Setting a root password is never desirable which is why Ubuntu does not and many cloud systems.
@pbezunartea
@pbezunartea 2 жыл бұрын
Cool! If I understand correctly, this is basically a replacement for sudo, right? I have tested it on my local system, and when I run the pkexec command, I get a pop-up window requesting my credentials, just like sudo would do, but with a gnome window instead. Cool! I also tried it on a remote system unsuccessfully. Running "pkexec visudo" as the user "akadmin" who is a member of the "wheel" group returns: $ pkexec visudo ==== AUTHENTICATING FOR org.freedesktop.policykit.exec ==== Authentication is needed to run `/usr/sbin/visudo' as the super user Authenticating as: Ak Admin (akadmin) Password: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie I must have missed something... in any case, thank you for your videos!
@theurbanpenguin
@theurbanpenguin 2 жыл бұрын
you have to have two consoles.one to run the agent to monitor the terminal that you run commands from
@pbezunartea
@pbezunartea 2 жыл бұрын
@@theurbanpenguin Right! I knew I was forgetting something! This is very useful, thanks again!
Using Firewalld Ipsets to Block Hackers on Rocky Linux 8.6
14:34
theurbanpenguin
Рет қаралды 3,9 М.
Understanding PAM, Pluggable Authentication Modules in Linux
10:53
theurbanpenguin
Рет қаралды 22 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
F. BAYROU : UN PREMIER MINISTRE TRÈS TRÈS À DROITE
8:40
BLAST, Le souffle de l'info
Рет қаралды 70 М.
The First Amiga Virus - Something Wonderful Has Happened
17:05
Modern Vintage Gamer
Рет қаралды 105 М.
Gain access to any Linux system with this exploit
6:57
Chris Titus Tech
Рет қаралды 56 М.
Turn Your Window Manager Into A Desktop Environment
16:47
DistroTube
Рет қаралды 143 М.
Authenticate Ubuntu against Active Directory
21:28
Nerd on the Street
Рет қаралды 68 М.