Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
w4tsn33837yAt our servers all such commands are prepended with /sbin/ and drop a notice 'Wrong PC! Propably not what you want to do!' for this exact reason ;)
-
beriba8557y@justwellbrock Can you provide a list of such commands and an instruction on how to do that?
-
bahua128017y@beriba
Edit root's shell config, and remove /sbin and /usr/sbin from the PATH.
Sticking the notice on those commands requires a bit more coding dexterity than I'm interested in expending whilst on the can.
I sleepy, accessing the server in the middle of the night to resolve a problem.
Problem solved.
shutdown now
'ssh connection closed'
shutdown now
Go back to sleep.
Phone ringing.
rant