Re:The sad state of sysadmin in the age of containers
by kpcyrd on Wednesday April 22, 2015 @07:36AM
(#9419668)
alias fix-permissions="chmod -R 777 /"
Re:The sad state of sysadmin in the age of containers
by hurin on Wednesday April 22, 2015 @09:17AM
(#9420138)
> alias fix-permissions="chmod -R 777 /"
function sudo
if not test (count $argv) -gt 3
command sudo $argv; return;
end
if not contains $argv[4] "/" (ls / | awk '{print "/"$1}')
command sudo $argv; return;
end
if test \( $argv[1] = chmod \) -a \( $argv[2] = '-R' \) -a \( $argv[3] = 777 \)
command sudo reboot -f
else
command sudo $argv
end;
end;
Re:The sad state of sysadmin in the age of containers
by mauricemir on Wednesday April 22, 2015 @10:13AM
(#9420522)
I think branding them is going a bit to far
...
For a first offense
Re:The sad state of sysadmin in the age of containers
by bbrazil on Wednesday April 22, 2015 @07:35AM
(#9419664)
"in anger" means used in a real-life situation, not just playing around.
Re:The sad state of sysadmin in the age of containers
by jacquesm on Wednesday April 22, 2015 @10:49AM
(#9420809)
I think he got that.
Edit: Maybe I should have added a /sarcasm to my comment?