Real pros shuffle across the carpet to build a static charge and do their system administration by electrical fault injection.
89 0 ReplyStill not as bad as
chmod -R 777
.56 0 ReplyCome on! I've stopped logging on as root, can't we just leave it at that?
38 0 Replyjust worked a job where I did not have privlages to sudo commands. except su. had to sudo su so I could run a script.
36 0 ReplyI'm in jail because I was not in the sudoer file
35 0 Replythen at first day of work:
just use sudo su, we don't have all day here.
35 0 Replysudo steam
33 0 ReplySometimes your package manager asks you for root password every minute while doing few hours long update and cancelling process if you don't enter anything for few minutes, "yay" aur manager looking at you, and you got to do other things than sit and look in the monitor all day long, things like cleaning house or touching grass for example
33 0 ReplyReminds me of all of those vendors that require Windows Admin for no reason.
24 0 Replysudo -s
for auditability18 0 ReplyOur crappy vendor software will only function if IPv6 is disabled network wide. Even if one machine has it enabled, the whole thing breaks
Lol our former crappy vendor solution required to be run directly from AD Administrator. Pure luck the entire business didn't collapse before we replaced it.
A thread I read a long time ago on r/sysadmin
14 1 ReplyReminds me of software saying to put your docker socket into the docker container you are starting for convenience.
13 0 ReplyWasn't it 2017 where they had the race condition in
sudo su
as the command elevates up to root and drops back down?Every other year,
sudo su
was not unsafe but merely ghetto. 'sudo su' is the dutch-rudder of 'sudo'.13 0 Replyrun0
is the newsudo su
11 1 ReplyPermanently Deleted
9 0 ReplyGuilty as charged, officer.
9 0 ReplyWhy does
sudo su
exist?sudo -i
does exactly what you want.9 0 Replychmod 777 /directory go brrrrrrrrrrrr
8 0 Replysudo vi
8 0 ReplyTell me you use Ubuntu without telling me you use Ubuntu.
Wait till you try this on Debian or non Ubuntu variants.
10 2 Replysudo !!
:p
8 0 Replysudo -u root bash
ftw8 1 Replysudo su -c "man man"
6 0 Replysudo -i ?
6 0 ReplyCan't programs steal sudo access if the timeout isn't 0?
4 0 ReplyI'm partial to sudo bash myself 👌
3 0 ReplyUse Sudo -i instead. Sudo su is like cat file | grep pattern vs grep pattern file. You're wasting resources.
3 0 Replysudo chmod +x * can solve it sometimes
2 0 Replysudo rm -rf /* what could go wrong? (don't try it)
2 0 Replysudo su - ?
1 0 Reply