I tried to change the login shell.
Here's what the first line of
/etc/passwd looks like (on a Debian Wheezy install):
When I try to login as
Cannot execute zsh: No such file or directory
zsh is available:
$ which zsh /usr/bin/zsh
Okay, it seems logical to replace
zsh by its full path. But how can I do it?
I have one other user on the system (
user), however it doesn't have root privileges and
sudo is not installed on the system.
Assume that for whatever reason (encryption, physical access, ...) I cannot boot on a live CD to modify the file.
I do know, however, the credentials for the
My question is: Is there any way, even programatically, to launch a process with the
root account without launching its login shell first?