this post was submitted on 07 Dec 2023
1135 points (98.4% liked)

memes

10398 readers
1797 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago (1 children)

I sometimes get into some kind of fight, if I'm not really logged in as root and have to do things the sudo way. I'm not so deep in Linux, so I'll ask bluntly:

Is it always a user error if you have trouble doing things with sudo or is it possible that the way sudo was configured for your user makes your life hard?

Over the years i had lots of clients, where i would be given sudo rights and the experiences doing so were pretty diverse, ranging from "feeling at home and just typing away" to "am i fucking crazy? Nothing goes as expected"

[–] [email protected] 1 points 11 months ago (1 children)

I really depends on what you are trying to do. Most things should not need root so if you find yourself using sudo all the time you may be over using it.

Maybe you messed up permissions?

[–] [email protected] 1 points 11 months ago* (last edited 11 months ago) (1 children)

The machines were always set up by the client's team, mostly not being anymore onboard. I only got the server address + credentials, so i could check for web related issues on them. I am experienced enough to know how inexperienced i am with things other than my area of work.

Sometimes they had issues on machines they only had credentials to, but no one to fix. The main sudo trouble i sometimes had, was when trying to work on websites, that were all created by root ...

[–] [email protected] 1 points 11 months ago

Yeah that's sounds like you need to onboard a proper sysadmin with Linux experience. I'm sure there is more to the story though