News for hackers. Stuff that matters.
Re:Scripts I wrote that I use all the time by theshrike79 on Wednesday October 22, 2025 @04:44PM (#45674909)
I'm guessing you haven't worked in Someone Else's environment?

The amount of shit you'll get for "applying your dotfiles" on a client machine or a production server is going to be legendary.

Same with containers, please don't install random dotfiles inside them. The whole point of a container is to be predictable.

Re:Scripts I wrote that I use all the time by nijaru on Wednesday October 22, 2025 @05:55PM (#45675655)
Do you have experience with these tools? Some such as sshrc only apply temporarily per session and don't persist or affect other users. I keep plain 'ssh' separate from shell functions that apply dotfiles and use each where appropriate. You can also set up temporary application yourself pretty easily.
Re:Scripts I wrote that I use all the time by YouAreWRONGtoo on Wednesday October 22, 2025 @06:17PM (#45675868)
Someone else's environment? That should never happen. You should get your own user account and that's it.
Re:Scripts I wrote that I use all the time by theshrike79 on Thursday October 23, 2025 @01:07AM (#45678328)
I don’t even get an account on someone else’s server. There’s no need for me to log in anywhere unless it’s an exceptional situation.
Re:Scripts I wrote that I use all the time by YouAreWRONGtoo on Thursday October 23, 2025 @05:50AM (#45680066)
This doesn't make sense.

You said you were already using someone else's environment.

You can't later say that you don't.

Whether or not shell access makes sense depends on what you are doing, but a well written application server running in a cloud environment doesn't need any remote shell account.

It's just that approximately zero typical monolithic web applications meet that level of quality and given that 90% of "developers" are clueless, often they can convince management that being stupid is OK.

Re:Scripts I wrote that I use all the time by 1718627440 on Thursday October 23, 2025 @07:12AM (#45680523)
They do get to work on someone else's server, they do not get a separate account on that server. There client would be not happy to have them mess around with the environment.
Re:Scripts I wrote that I use all the time by YouAreWRONGtoo on Thursday October 23, 2025 @10:40AM (#45682361)
By definition, it the client Alice gives contractor Mallory access to user account alice, that's worse than giving them an account called mallory.

Accounts are basically free. Not having accounts; that's expensive.

Re:Scripts I wrote that I use all the time by nomel on Thursday October 23, 2025 @01:15PM (#45684333)
They specifically mentioned service accounts. If they’re given an user account to login as, they still might have to get into and use the service account, and its environment, from there. If the whole purpose was to get into the service account, and the service account is already setup for remote debug, then the client might prefer to skip the creation of the practically useless user account.
Re:Scripts I wrote that I use all the time by YouAreWRONGtoo on Thursday October 23, 2025 @06:32PM (#45688206)
That's still not professional, but then again 99.9% of companies aren't.
Re:Scripts I wrote that I use all the time by nomel on Thursday October 23, 2025 @07:41PM (#45688910)
Could you help me understand what assumptions about the access method you have in place that make this seem unprofessional?

Let's assume they need access to the full service account environment for the work, which means they need to login or run commands as the service account.

This is a bit outside my domain, so this is a genuine question. I've worked on single user and embedded systems where this isn't possible, so I find the "unprofessional" statement very naive.

Re:Scripts I wrote that I use all the time by mlrtime on Thursday October 23, 2025 @07:55AM (#45680811)
Sometimes we need to use service accounts, so while you do have your own account all the interesting things happen in svc_foo which you cannot add your .files.
Re:Scripts I wrote that I use all the time by fragmede on Wednesday October 22, 2025 @05:05PM (#45675131)
If, in the year 2025, you are still using a shared account called "root" (password: "password"), and it's not a hardware switch or something (and even they support user accounts these days), I'm sorry, but you need to do better. If you're the vendor, you need to do better, if you're the client, you need to make it an issue with the vendor and tell them they need to do better. I know, it's easy for me to say from the safety of my armchair at 127.0.0.1. I've got some friends in IT doing support that have some truly horrifying stories. But holy shit why does some stuff suck so fucking much still. Sorry, I'm not mad at you or calling you names, it's the state of the industry. If there were more pushback on broken busted ass shit where this would be a problem, I could sleep better at night, knowing that there's somebody else that isn't being tortured.
Re:Scripts I wrote that I use all the time by theshrike79 on Thursday October 23, 2025 @01:06AM (#45678321)
It’s 2025. I don’t even have the login password to any server, they’re not unicorns, they’re cattle.

If something is wrong with a server, we terminate it and spin up a new one. No need for anyone to log in.

In very rare cases it might be relevant to log in to a running server, but I haven’t done that in years.

Re:Scripts I wrote that I use all the time by LinXitoW on Thursday October 23, 2025 @06:22AM (#45680273)
In other replies you explicitly state how rare it is that you log in to other systems.

Aren't you therefore optimizing for 1% of the cases, but sabotaging the 99%?