Masthash

#sudo

AskUbuntu
5 days ago

When I do an update on ubuntu "sudo apt update" appears like this what is the solution.? #apt #updates #sudo #updatemanager #errorhandling

https://askubuntu.com/q/1469274/612

AskUbuntu
6 days ago
Freemind
1 week ago

Maybe #harrypotter should change his #wand and become #root.

#linux #sudo #unix #sysadmin

AskUbuntu
1 week ago

"W: Target ... (...) is configured multiple times" #apt #2004 #updates #wine #sudo

https://askubuntu.com/q/1468724/612

AskUbuntu
2 weeks ago

Unable to run systemd service without password despite NOPASSWD in sudoers file #commandline #2204 #sudo #password

https://askubuntu.com/q/1468518/612

AskUbuntu
2 weeks ago
Todd A. Jacobs
2 weeks ago

It's easy enough to integrate #TouchID on #macOS for #sudo inside #pamd, but I haven't found a good way to use it for things like privileged installers. Which PAM configuration module controls authentication for this on Ventura?

AskUbuntu
2 weeks ago
AskUbuntu
2 weeks ago
Peter Czanik
2 weeks ago

Recent #sudo versions give you both more control and visibility:

https://www.syslog-ng.com/community/b/blog/posts/getting-syslog-ng-4

- #JSON formatted log messages (parsed automagically by @sngose)
- chroot and cwd support
- logging sub-commands

Perfect for your #infosec blue team!

AskUbuntu
2 weeks ago

Unable to create the file /sys/class/net//device/sriov_totalvfs file in Ubuntu 22.04 #permissions #2204 #sudo #filesystem #root

https://askubuntu.com/q/1467994/612

Rafał Wileczek
2 weeks ago

In #Rust we trust :)
Polubiłem ten #językprogramowania od pierwszych zabaw z przekazywaniem parametrów do funkcji ;)
Okazuje się, że zaczynają go lubić również w #Mcrosoft (elementy jądra systemu mają nieco "zardzewieć" – ale o tym czytałem gdzie indziej.)

https://arstechnica.com/information-technology/2023/05/two-core-unix-like-utilities-sudo-and-su-are-getting-rewrites-in-rust/

Jak ktoś chce zajrzeć do środka:
https://github.com/memorysafety/sudo-rs

#programming #programminglanguage #operatingsystem #security #sudo #su #systemoperacyjny #bezpieczeństo

AskUbuntu
2 weeks ago

New user on newly created server, added to sudo group but still no sudo access #server #sudo #users

https://askubuntu.com/q/1467800/612

AskUbuntu
2 weeks ago

Ubuntu password no longer works after login #2204 #login #sudo #password

https://askubuntu.com/q/1467749/612

Elias Probst
2 weeks ago

@rust_discussions none of my systems has #sudo - and never had.
"Back in the days", I just used "su", nowadays most applications use #PolicyKit to get elevated privileges for a specific operation and in case I need a full shell, "machinectl shell .host" (aliased to "msh" here) provides a proper (not just subprocess-spawned) session incl. a DBus and systemd user-session.

#systemd #dbus #linux

Freemind
2 weeks ago

We should do something to fix this.
#sudo #dog #cat #linux #unix #man #command

Mark Gardner ‍:sdf:
3 weeks ago

BTW, #sudo may seem like it’s “just there” as part of your #Unix, #Linux, or #macOS distribution, but it’s a separate project at https://sudo.ws whose history dates back to 1980 on a #DEC #VAX/11-750 running 4.1 #BSD: https://www.sudo.ws/about/history

Actively maintained by @millert with #OpenSource contributions from others, sudo is one of those critical #infrastructure dependencies aptly illustrated in https://xkcd.com/2347

Sponsor it at https://github.com/sponsors/sudo-project or
https://opencollective.com/sudo-project

A cartoon depicting a large collection of big and small blocks labeled “ALL MODERN DIGITAL INFRASTRUCTURE,” precariously supported by a small block labeled “A PROJECT SOME RANDOM PERSON IN NEBRASKA HAS BEEN THANKLESSLY MAINTAINING SINCE 2003”
Freemind
3 weeks ago

The command that solves all problems 🤪
#sudo #system #linux #root

w4tsn
3 weeks ago

There you go!

https://fedoramagazine.org/use-fido-u2f-security-keys-with-fedora-linux/

Learn how hardware security tokens, featuring the standard #FIDO2 and FIDO U2F, can be used manufacturer independent with standard tools in #Fedora #Linux. The article shows how to register keys, activate them as factor to login on terminal and #GNOME and authenticate when using #sudo.

Following articles in this series will handle #OpenSSH 8.2+ usage for ssh key management and how to use the key as factor to decrypt #LUKS partitions. Stay tuned!

AskUbuntu
3 weeks ago

Buildozer Error "pkg-config location is not supported on linux for prerequisite: openssl" #sudo #android #openssl

https://askubuntu.com/q/1467250/612

Freemind
3 weeks ago

Invalid solution = use #windows.
#linux #root #sudo #penguin

Freemind
3 weeks ago

It has happened to all of us at some point...
#sysadmin #linux #root #sudo

AskUbuntu
3 weeks ago

Why am I getting error: `found a tab character that violate indentation` in my Netplan YAML file? #networking #xubuntu #sudo #netplan

https://askubuntu.com/q/1466783/612

AskUbuntu
3 weeks ago

Invalid YAML at //etc/netplan/lan-segment.yaml line 11 column 0: found a tab character that violate intendation #xubuntu #sudo #netplan #webserver

https://askubuntu.com/q/1466783/612

AskUbuntu
3 weeks ago
Freemind
4 weeks ago

When patience runs out...
#sudo #Linux #root

Freemind
4 weeks ago

A different way of solving problems.
#sudo #linux #root #sysadmin

GNU/Linux.ch
1 month ago

Sudo reloaded: Su und Sudo Rewrite in Rust

Su und Sudo sind kritische Komponenten des Linux-Systems, weil sie die Eskalation von Privilegien erlauben. Eine Koproduktion erstellt nun neue Ausgaben auf Basis von Rust.

#su #Sudo #Rust #Sicherheit #Linux

https://gnulinux.ch/sudo-reloaded-su-und-sudo-rewrite-in-rust

دانیال بهزادی
1 month ago

#sudo & #su Being Rewritten In #Rust For Memory Safety - Phoronix
https://www.phoronix.com/news/sudo-su-rewrite-rust

Tech news from Canada
1 month ago
IT News
1 month ago

Two core Unix-like utilities, sudo and su, are getting rewrites in Rust - Invoking another user's privileges to execute a command. (credit: Cavan Ima... - https://arstechnica.com/?p=1935564 #rustprogramminglanguage #memorysafety #commandline #programming #biz#linux #tech #rust #sudo #unix #su

Thomas Traynor
1 month ago

This could be an interesting project for Linux. I use sudo on a semi-regular basis.

#linux #sudo #rustlang

https://www.phoronix.com/news/sudo-su-rewrite-rust

Loki the Cat
1 month ago

Looks like our human friends are finally taking #memorysafety seriously. Now if only they could remember where they put our treats...🐾🤔 #Rust #sudo #su #LinuxSecurity

https://linux.slashdot.org/story/23/05/01/0020239/sudo-and-su-are-being-rewritten-in-rust-for-memory-safety?utm_source=rss1.0mainlinkanon&utm_medium=feed

AskUbuntu
1 month ago

How could i access to sudo without root or sudo access? #permissions #sudo #root #accessibility #visudo

https://askubuntu.com/q/1465982/612

federico
1 month ago

@mcfly @andreasdotorg What if reading #sudo incident reports was a core activity of PRISM?

Astra Kernel :verified:
1 month ago

🦀 Bringing Memory Safety to sudo and su

👉 "reimplementing the ubiquitous sudo and su utilities in Rust"

https://www.memorysafety.org/blog/sudo-and-su/

https://news.ycombinator.com/item?id=35714347

#rustlang #linux #sudo #programming

Peter Czanik
1 month ago

A recurring #sudo question is whether there is a way to check cached credentials without updating them. Version 1.9.12 of @sudoproject introduces the -N option which makes this possible, and also allows running any commands without updating the cached credentials. https://www.sudo.ws/posts/2022/10/running-sudo-without-updating-cached-credentials/

«lambalicious»
1 month ago

sudo cat assistant o3o

#linux #sudo #cats #sysadmin

JdeBP
1 month ago

@atoponce Of course, the file being being syntactically valid doesn't prevent the '#' symbol from not meaning what you think. (-:

#sudo

@briskio Dopo la maternità surrogata, l'aborto, e i diritti LGBT+ arriveremo ai diritti delle coppie HW, del tipo con la memoria virtuale mia non ci fai i processi che vuoi tu, #sudo o non #sudo 😉

Linux Magazine
2 months ago

Special Edition Alert: The Linux Shell Handbook 2023 Edition is available now! For fastest service, order your copy here https://shop.linuxnewmedia.com/us/magazines/special-editions.html #Linux #Bash #OpenSource #tools #RegularExpressions #hardware #Shell #systemd #sudo #automation

Linux Shell Handbook 2023 Edition: Supercharge your Linux Skills | 301 Best Bash Commands
Marco Ivaldi
2 months ago

CVE-2023–26604: #systemd before 247 does not adequately block local privilege escalation for some #Sudo configurations, e.g., plausible sudoers files in which the "systemctl status" command may be executed. Specifically, systemd does not set LESSSECURE to 1, and thus other programs may be launched from the less program. This presents a substantial security risk when running systemctl from Sudo, because #less executes as root when the terminal size is too small to show the complete systemctl output.

https://medium.com/@zenmoviefornotification/saidov-maxim-cve-2023-26604-c1232a526ba7

LPE in ubuntu 20.04.5 through misconfiguration in /etc/sudoers
Martin Schmitt
2 months ago

This weekend's mastodon timeline with repeated sudo -p fuckery begs the question whether #sudo, with it's insatiable hunger for password entries, especially with tty_tickets being the default since like 20 years, has *ever* authenticated itself to *me*, AT ALL. 🤔

0xor0ne
3 months ago

CVE-2023-22809 advisory writeup by Synacktiv

sudoers policy bypass using sudoedit

https://www.synacktiv.com/sites/default/files/2023-01/sudo-CVE-2023-22809.pdf

#sudo #cve #infosec #cybersecurity

w4tsn
3 months ago

Im @fedora #FedoraMagazine erschien am Freitag mein umfassender Artikel zu einigen Einsatzmöglichkeiten von #YubiKey|s (und vergleichbaren Hardware Security Tokens)

https://fedoramagazine.org/how-to-use-a-yubikey-with-fedora-linux/ (Englisch)

#piv #fido #fido2 #u2f #webauthn #pam #sudo #openssh #ssh

This was the only thing that helped me with my #GitHub self-hosted runner that ran an Action which needed #sudo. My self-hosted runner is an ARM64 Oracle Linux install on the frere tier. Totally works! Awesome. https://askubuntu.com/questions/192050/how-to-run-sudo-command-with-no-password

mc.fly
3 months ago

I want Linux #sudo #usa #meme #stolen

Sarah Young
3 months ago

I'm extremely frustrated and disheartened that the #HPC system at our university doesn't have #Emacs preinstalled. As someone who relies heavily on Emacs for my work, this has caused a major obstacle for me.

To make matters worse, I'm not granted the #sudo privilege on the system, which means that I'm unable to install Emacs or any of the necessary dependencies required to compile Emacs myself. This is a major setback for me and has made it incredibly difficult to complete my work efficiently.

I updated my main system from #FreeBSD 13.1-RELEASE to 13.2-BETA3 which include fixes in the USB stack (bin/263995) that basically prevented usage of #ssh ed25519-sk keys (those relying on hardware security keys, e.g. #Yubikey).

A whole new world is opening, one where you can forward your agent to remote systems you only marginally trust and where #sudo can be configured to use this forwarded SSH agent to authorize users.

w00t!

Marcus "MajorLinux" Summers
3 months ago

Time to hit Ye Ole "Yum Update"!

That's righ! I said "Yum"!

You may want to run system updates, after a recent sudo security flaw https://www.gamingonlinux.com/2023/02/you-may-want-to-run-system-updates-after-a-recent-sudo-security-flaw/

#Update #Sudo #SecurityFlaw #Linux #SteamDeck #InfoSec #OpenSource #TechNews

A grey penguin sitting in front of a wall full of Tux Linux penguins.
lupantano
4 months ago
w4tsn
4 months ago

My next #FedoraMagazine article will detail how to setup a #YubiKey for things like #Gnome login, authenticating against #sudo, #OpenSSH or as an #OTP / #WebAuthn factor in web authentication.

I ask you to share details and questions you'd like addressed in the article.

If you have some interesting other use-cases or bit's of knowledge you'd like to share on the matter I'm eager to here them!

😱 Brian Morearty
4 months ago

Teaching my son about chmod, chown, and sudo...

So naturally I had show him the relevant xkcd. https://xkcd.com/149/

#xkcd #sudo #linux

Pixelcode 🇺🇦🕊️
4 months ago

To anyone who's not German or Dutch: How do you pronounce “sudo”? (the Linux command for privileged access)

#poll @poll @polls #sudo

Peter Czanik
4 months ago

I just learned that I received "2023 People's Choice #Award for #RaspberryPi" for my opensource.com article about #sudo log server daemon on the @Raspberry_Pi:

https://opensource.com/article/23/1/community-choice-authors-2023#raspberry-pi

The article:

https://opensource.com/article/22/3/sudo-session-recordings-raspberry-pi

"Collect sudo session recordings with the Raspberry Pi"

Quills
4 months ago

I only have one question, how will someone type an emoji on a terminal in a practical way?

This was fun to read, even if i don't have the knowledge to understand the advanced parts lol

"🥺: the best sudo replacement

https://xeiaso.net/blog/%F0%9F%A5%BA

#infosec #sudo #rust @cadey "

qbi
4 months ago

Es gibt `community.general.doas`:
https://docs.ansible.com/ansible/latest/collections/community/general/doas_become.html

Dann könnte #sudo langsam in Rente geschickt werden.

#Ansible

Latest version of #AlpineLinux ships with doas instead of #sudo now. Cool! I wondered when I'd get to try it.

I have not seen any usability or compatibility issues yet. Granted, though, it does take some mental gymnastics to remember to type doas instead of sudo, having typed the latter for over 10 years now, but I see basically no difference as a user. Maybe I should do an alias sudo->doas as some sort of training wheels :D

Do you think doas is better than sudo? More secure? Why?

#security

Molossus Spondee
4 months ago

FWIW my two cents is you basically want to use SSH instead of su or sudo

Ideally there'd be a bit of awkward code to pass the terminal back and forth directly

Unfortunately you can't really reparent a process (at least not easily)

🥺: the best sudo replacement

https://xeiaso.net/blog/%F0%9F%A5%BA

#infosec #sudo #rust @cadey

4 months ago

Having taken down our institute’s CI/CD (big commercial tool…) just before Christmas by using an emoji in a commit message, I think security by emoji might just work 😄

🥺: the best sudo replacement

https://xeiaso.net/blog/%F0%9F%A5%BA

#infosec #sudo #rust @cadey

Xe :verified:
4 months ago

🥺: the best sudo replacement

https://xeiaso.net/blog/🥺

#infosec #sudo #rust

Sysbee
4 months ago

Serious privilege escalation bug was discovered in #sudoedit. Make sure to upgrade #Sudo to v1.9.12.p2 ASAP or revoke access to sudoedit until Sudo is patched for your #Linux distribution.

CVE-2023-22809: Sudoedit can edit arbitrary files
https://seclists.org/oss-sec/2023/q1/42

#security #cve

FOSS Surveys
4 months ago

How do you run commands as root?

Boost for more range📶

#foss #linux #root #admin #opensource #freesoftware #poll #polls #survey #sudo

Franck Nijhof
5 months ago

Ooooh, what is this?

"sudo make coffee"? 😬 ☕️

#sudo #iot #homeautomation

:terminal: sudo nim compile ghostwriter

#LinuxJoke #sudo #CatSalad

What happens if you use Sudocrem® in Unix?

#Unix #programming #humour #sudo

ricardo :mastodon:
5 months ago

How do _you_ pronounce ’sudo’? :terminal:
#sudo #linux #unix #phonetics #fauxnetics

alpine
6 months ago

alpine linux sudo

# apk add sudo

# echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel

# adduser <USER> wheel

#alpinelinux #linux #sudo #bash #shell

Peter Czanik
6 months ago

Better late than never: #introduction

I'm Peter Czanik, know as PCzanik on Twitter. I work at One Identity, an #infosec company (my former employer, Balabit, is now part of OI).

I am an #opensource evangelist for #sudo and #syslog_ng. Describing my job is a bit too long for a toot, so I recommend reading my article about it:

https://opensource.com/article/21/1/open-source-evangelist

I'm also interested in #POWER, #ARM, hiking, photography, music, #Linux, #FreeBSD and many more topics.