Tagged Questions
4
votes
2answers
283 views
Admin user not showing directory path in console prompt, only $
I have an Ubuntu server that I administer through ssh. When I login as root I get a full path in the prompt, like /var/www. I created a user with sudo privileges for the purpose of administration. ...
5
votes
3answers
202 views
Preventing binary planting attacks in Linux
If a user account on a Linux machine is compromised, clearly, all files owned by that user are compromised.
Unfortunately, if the compromised user also has sudo privileges, it seems that binary ...
4
votes
2answers
250 views
Permanently switching to zsh in a script, without being root and without being asked for the password
Is there any way to run chsh -s /bin/zsh without being root and without being asked for the password? I want to put it into a non-interactive script that isn't called by root.