Next privilege 125 Rep.
Next badge 0/1
0 people reached
- 0 posts edited
- 0 helpful flags
- 10 votes cast
How to use SFTP on a system that requires sudo for root access & ssh key based authentication?
This only works if you don't need a password to sudo that, or if your already have a sudo ticket and have tty_tickets disabled. On most modern installs, neither is the default.
Elegantly get list of descendant processes
Another use case: renice/ionice on a whole process tree that's eating too many resources, e.g. a large parallel build.