1
vote
3answers
1k views

Change the sudo su shell

Whenever I run sudo su from my normal zsh (which uses the oh-my-zsh framework), I'm forced to use the old Bourne shell (sh) by default (obviously; this is standard behaviour on most *nix-like ...
0
votes
2answers
729 views

How to use sudo with rcp command to copy files from linux host to HP-UX host?

I'm having this issue where when I try to use sudo to rcp some files from a Linux host to an HP-UX host (note that the destination directory requires root access to write to), I get the following ...
2
votes
2answers
197 views

Screen does not appear in list when using sudo

While under root user (printed by whoami), execution of sh -c "screen -d -m -S testscreen sh -c \"echo asd; echo qwe\"" creates a screen with two lines output, which can be reattached via screen -r ...
2
votes
2answers
621 views

How run sudo -s after ssh login

My Step By Step: On myserver.com i paste line "sudo -s" to file "~/.bashrc" in home directory for "mylogin" SSH Login to mylogin@myserver.com After login: root@myserver.com:~$ But, press cntrl+D ...