zsh set as default shell for rootWhat does “trace trap” mean when reported by zsh?Making zsh default...
Is this use of the expression "long past" correct?
Project Euler #7 10001st prime in C++
Is it possible to have a wealthy country without middle class?
Using "subway" as name for London Underground?
Cycle through MeshStyle directives in ListLinePlot
Is open-sourcing the code of a webapp not recommended?
What is the `some` keyword in SwiftUI?
Preventing employees from either switching to competitors or opening their own business
Are there downsides to using std::string as a buffer?
Where Mongol herds graze
What can I, as a user, do about offensive reviews in App Store?
Can tefillin be "switched"?
Programming bare microcontroller chips
Compiling C files on Ubuntu and using the executable on Windows
Should an arbiter claim draw at a K+R vs K+R endgame?
SQL counting distinct over partition
Recommended tools for graphs and charts
How to hide an urban landmark?
Second (easy access) account in case my bank screws up
What makes Ada the language of choice for the ISS's safety-critical systems?
Why is the tail group of virtually every airplane swept instead of straight?
Is using haveibeenpwned to validate password strength rational?
This riddle is not to see but to solve
How is water heavier than petrol, even though its molecular weight is less than petrol?
zsh set as default shell for root
What does “trace trap” mean when reported by zsh?Making zsh default shell without root accessHow do you “disable” oh-my-zsh (and zsh) without uninstalling it?How could I reach root after switching from bash to zsh?Configure tmux to use zshHow to setup Mac OS X Terminal on bash and iTerm2 on zshzsh-newuser-install not workingzsh compinit: insecure directories, run compaudit for listWhy does a failed filename generation make zsh stop processing a script?Konsole does not run shell specified in /etc/passwd
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Can I set zsh as default shell while being logged in as root? I did chsh -s /bin/zsh
and used my root password for authentication, but failed.
linux zsh
add a comment |
Can I set zsh as default shell while being logged in as root? I did chsh -s /bin/zsh
and used my root password for authentication, but failed.
linux zsh
You want to set your user or root shell to zsh?
– a0f3dd13
Oct 23 '16 at 23:23
I want to set root shell to zsh
– user196091
Oct 23 '16 at 23:24
Don't use your user password at the prompt; use root's password.
– Jeff Schaller♦
Oct 23 '16 at 23:55
Already did login using root's password.
– user196091
Oct 23 '16 at 23:56
add a comment |
Can I set zsh as default shell while being logged in as root? I did chsh -s /bin/zsh
and used my root password for authentication, but failed.
linux zsh
Can I set zsh as default shell while being logged in as root? I did chsh -s /bin/zsh
and used my root password for authentication, but failed.
linux zsh
linux zsh
edited Oct 23 '16 at 23:35
asked Oct 23 '16 at 23:19
user196091
You want to set your user or root shell to zsh?
– a0f3dd13
Oct 23 '16 at 23:23
I want to set root shell to zsh
– user196091
Oct 23 '16 at 23:24
Don't use your user password at the prompt; use root's password.
– Jeff Schaller♦
Oct 23 '16 at 23:55
Already did login using root's password.
– user196091
Oct 23 '16 at 23:56
add a comment |
You want to set your user or root shell to zsh?
– a0f3dd13
Oct 23 '16 at 23:23
I want to set root shell to zsh
– user196091
Oct 23 '16 at 23:24
Don't use your user password at the prompt; use root's password.
– Jeff Schaller♦
Oct 23 '16 at 23:55
Already did login using root's password.
– user196091
Oct 23 '16 at 23:56
You want to set your user or root shell to zsh?
– a0f3dd13
Oct 23 '16 at 23:23
You want to set your user or root shell to zsh?
– a0f3dd13
Oct 23 '16 at 23:23
I want to set root shell to zsh
– user196091
Oct 23 '16 at 23:24
I want to set root shell to zsh
– user196091
Oct 23 '16 at 23:24
Don't use your user password at the prompt; use root's password.
– Jeff Schaller♦
Oct 23 '16 at 23:55
Don't use your user password at the prompt; use root's password.
– Jeff Schaller♦
Oct 23 '16 at 23:55
Already did login using root's password.
– user196091
Oct 23 '16 at 23:56
Already did login using root's password.
– user196091
Oct 23 '16 at 23:56
add a comment |
6 Answers
6
active
oldest
votes
A trick is to set interactive root shells to use zsh and leave non-interactive shells to continue to use /bin/sh.
This can still lead to "expectation" problems as described in other responses but at least you will not blow up any non-interactive processes.
Add the following to the end of /root/.bashrc
if [ ! -z "$PS1" ]; then
exec /bin/zsh $*
fi
add a comment |
Just edit /etc/passwd using a text editor. There is one line for user root containing the current shell which you can change to zsh.
Don't log out to test the new settings but use a second terminal! Because in case you make a mistake you may not be able to login again to repair it.
add a comment |
In general it is a bad idea to change the root shell away from /bin/sh. It is better to add another account, e.g. zroot, that still has a UID of 0 but has zsh as a shell. However to attempt to answer the question, if you are logging in as root, then you don't need to use sudo
. Just use
chsh -s /bin/zsh root
and give the root
password in response to the request from chsh. Worth specifing the 'root' explicitly.
If you are logging in as 'fred', then use
sudo su root
and answer the password request with fred's
password. This should give you a root shell. Proceed as if you had originally logged in as root.
Make sure the /bin/zsh is listed in /etc/shells.
Why is it a bad idea to change root’s login shell to something other than/bin/sh
?
– k.stm
Nov 30 '16 at 21:38
1
@k.stm The system is set up knowing the shell for root, so instructions are written based on that knowledge. /bin/sh might be staticly linked to avoid library dependencies. The new shell might require some files which are not available in the early boot stages. Given the cost of another couple of hundred bytes of disk space to create an additional account, it seems worthwhile to avoid all the unknown problems.
– icarus
Nov 30 '16 at 21:52
add a comment |
You probably forgot to execute it has root. Execute the following command:
$ sudo chsh -s /bin/zsh
sudo chsh -s /bin/zsh asks for password which I enter correctly but still authentication failure.
– user196091
Oct 23 '16 at 23:29
If you don't know your own password I can't help. If you know the root password try execute justsu
before this command.
– a0f3dd13
Oct 23 '16 at 23:31
I am already logged in to root, as my question explained.
– user196091
Oct 23 '16 at 23:34
type "whoami" to see if you're really root ...
– Michael D.
Oct 24 '16 at 0:26
add a comment |
Editing passwd file with normal editor is not recommended
to do this use
vipw
and change shell to zsh,honestly i don't understand why you want to change
the root shell,root account must used only for administration thing,for normal work use unprivileged user.
After this try to log in on other tty whitout(is important) disconnect from current tty,if works you can see your new shell.
If you want to use immediately zsh,simply type zsh.
Conclusion
I want to use my new shell now = type zsh
I want to use my new shell + change = chsh -s or vipw
p.s= if your zsh is not installed on those path(/bin /sbin..)
and you have to do a single user login with root,will not work
because cannot find your shell,this can happen also on system with /usr
separated from root/mounted on other lvm or partition
add a comment |
I did exactly that, I changed to Zsh, and .... logout, and of course now I lost access... there is any way to recover it ? there is some kind of default password that Zsh is taking instead of the root password?
Thanks in advance...
New contributor
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f318418%2fzsh-set-as-default-shell-for-root%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
A trick is to set interactive root shells to use zsh and leave non-interactive shells to continue to use /bin/sh.
This can still lead to "expectation" problems as described in other responses but at least you will not blow up any non-interactive processes.
Add the following to the end of /root/.bashrc
if [ ! -z "$PS1" ]; then
exec /bin/zsh $*
fi
add a comment |
A trick is to set interactive root shells to use zsh and leave non-interactive shells to continue to use /bin/sh.
This can still lead to "expectation" problems as described in other responses but at least you will not blow up any non-interactive processes.
Add the following to the end of /root/.bashrc
if [ ! -z "$PS1" ]; then
exec /bin/zsh $*
fi
add a comment |
A trick is to set interactive root shells to use zsh and leave non-interactive shells to continue to use /bin/sh.
This can still lead to "expectation" problems as described in other responses but at least you will not blow up any non-interactive processes.
Add the following to the end of /root/.bashrc
if [ ! -z "$PS1" ]; then
exec /bin/zsh $*
fi
A trick is to set interactive root shells to use zsh and leave non-interactive shells to continue to use /bin/sh.
This can still lead to "expectation" problems as described in other responses but at least you will not blow up any non-interactive processes.
Add the following to the end of /root/.bashrc
if [ ! -z "$PS1" ]; then
exec /bin/zsh $*
fi
answered Jan 12 '18 at 23:17
user3718260user3718260
213
213
add a comment |
add a comment |
Just edit /etc/passwd using a text editor. There is one line for user root containing the current shell which you can change to zsh.
Don't log out to test the new settings but use a second terminal! Because in case you make a mistake you may not be able to login again to repair it.
add a comment |
Just edit /etc/passwd using a text editor. There is one line for user root containing the current shell which you can change to zsh.
Don't log out to test the new settings but use a second terminal! Because in case you make a mistake you may not be able to login again to repair it.
add a comment |
Just edit /etc/passwd using a text editor. There is one line for user root containing the current shell which you can change to zsh.
Don't log out to test the new settings but use a second terminal! Because in case you make a mistake you may not be able to login again to repair it.
Just edit /etc/passwd using a text editor. There is one line for user root containing the current shell which you can change to zsh.
Don't log out to test the new settings but use a second terminal! Because in case you make a mistake you may not be able to login again to repair it.
edited Oct 23 '16 at 23:42
answered Oct 23 '16 at 23:36
rudimeierrudimeier
5,8421933
5,8421933
add a comment |
add a comment |
In general it is a bad idea to change the root shell away from /bin/sh. It is better to add another account, e.g. zroot, that still has a UID of 0 but has zsh as a shell. However to attempt to answer the question, if you are logging in as root, then you don't need to use sudo
. Just use
chsh -s /bin/zsh root
and give the root
password in response to the request from chsh. Worth specifing the 'root' explicitly.
If you are logging in as 'fred', then use
sudo su root
and answer the password request with fred's
password. This should give you a root shell. Proceed as if you had originally logged in as root.
Make sure the /bin/zsh is listed in /etc/shells.
Why is it a bad idea to change root’s login shell to something other than/bin/sh
?
– k.stm
Nov 30 '16 at 21:38
1
@k.stm The system is set up knowing the shell for root, so instructions are written based on that knowledge. /bin/sh might be staticly linked to avoid library dependencies. The new shell might require some files which are not available in the early boot stages. Given the cost of another couple of hundred bytes of disk space to create an additional account, it seems worthwhile to avoid all the unknown problems.
– icarus
Nov 30 '16 at 21:52
add a comment |
In general it is a bad idea to change the root shell away from /bin/sh. It is better to add another account, e.g. zroot, that still has a UID of 0 but has zsh as a shell. However to attempt to answer the question, if you are logging in as root, then you don't need to use sudo
. Just use
chsh -s /bin/zsh root
and give the root
password in response to the request from chsh. Worth specifing the 'root' explicitly.
If you are logging in as 'fred', then use
sudo su root
and answer the password request with fred's
password. This should give you a root shell. Proceed as if you had originally logged in as root.
Make sure the /bin/zsh is listed in /etc/shells.
Why is it a bad idea to change root’s login shell to something other than/bin/sh
?
– k.stm
Nov 30 '16 at 21:38
1
@k.stm The system is set up knowing the shell for root, so instructions are written based on that knowledge. /bin/sh might be staticly linked to avoid library dependencies. The new shell might require some files which are not available in the early boot stages. Given the cost of another couple of hundred bytes of disk space to create an additional account, it seems worthwhile to avoid all the unknown problems.
– icarus
Nov 30 '16 at 21:52
add a comment |
In general it is a bad idea to change the root shell away from /bin/sh. It is better to add another account, e.g. zroot, that still has a UID of 0 but has zsh as a shell. However to attempt to answer the question, if you are logging in as root, then you don't need to use sudo
. Just use
chsh -s /bin/zsh root
and give the root
password in response to the request from chsh. Worth specifing the 'root' explicitly.
If you are logging in as 'fred', then use
sudo su root
and answer the password request with fred's
password. This should give you a root shell. Proceed as if you had originally logged in as root.
Make sure the /bin/zsh is listed in /etc/shells.
In general it is a bad idea to change the root shell away from /bin/sh. It is better to add another account, e.g. zroot, that still has a UID of 0 but has zsh as a shell. However to attempt to answer the question, if you are logging in as root, then you don't need to use sudo
. Just use
chsh -s /bin/zsh root
and give the root
password in response to the request from chsh. Worth specifing the 'root' explicitly.
If you are logging in as 'fred', then use
sudo su root
and answer the password request with fred's
password. This should give you a root shell. Proceed as if you had originally logged in as root.
Make sure the /bin/zsh is listed in /etc/shells.
answered Oct 24 '16 at 1:45
icarusicarus
6,81611632
6,81611632
Why is it a bad idea to change root’s login shell to something other than/bin/sh
?
– k.stm
Nov 30 '16 at 21:38
1
@k.stm The system is set up knowing the shell for root, so instructions are written based on that knowledge. /bin/sh might be staticly linked to avoid library dependencies. The new shell might require some files which are not available in the early boot stages. Given the cost of another couple of hundred bytes of disk space to create an additional account, it seems worthwhile to avoid all the unknown problems.
– icarus
Nov 30 '16 at 21:52
add a comment |
Why is it a bad idea to change root’s login shell to something other than/bin/sh
?
– k.stm
Nov 30 '16 at 21:38
1
@k.stm The system is set up knowing the shell for root, so instructions are written based on that knowledge. /bin/sh might be staticly linked to avoid library dependencies. The new shell might require some files which are not available in the early boot stages. Given the cost of another couple of hundred bytes of disk space to create an additional account, it seems worthwhile to avoid all the unknown problems.
– icarus
Nov 30 '16 at 21:52
Why is it a bad idea to change root’s login shell to something other than
/bin/sh
?– k.stm
Nov 30 '16 at 21:38
Why is it a bad idea to change root’s login shell to something other than
/bin/sh
?– k.stm
Nov 30 '16 at 21:38
1
1
@k.stm The system is set up knowing the shell for root, so instructions are written based on that knowledge. /bin/sh might be staticly linked to avoid library dependencies. The new shell might require some files which are not available in the early boot stages. Given the cost of another couple of hundred bytes of disk space to create an additional account, it seems worthwhile to avoid all the unknown problems.
– icarus
Nov 30 '16 at 21:52
@k.stm The system is set up knowing the shell for root, so instructions are written based on that knowledge. /bin/sh might be staticly linked to avoid library dependencies. The new shell might require some files which are not available in the early boot stages. Given the cost of another couple of hundred bytes of disk space to create an additional account, it seems worthwhile to avoid all the unknown problems.
– icarus
Nov 30 '16 at 21:52
add a comment |
You probably forgot to execute it has root. Execute the following command:
$ sudo chsh -s /bin/zsh
sudo chsh -s /bin/zsh asks for password which I enter correctly but still authentication failure.
– user196091
Oct 23 '16 at 23:29
If you don't know your own password I can't help. If you know the root password try execute justsu
before this command.
– a0f3dd13
Oct 23 '16 at 23:31
I am already logged in to root, as my question explained.
– user196091
Oct 23 '16 at 23:34
type "whoami" to see if you're really root ...
– Michael D.
Oct 24 '16 at 0:26
add a comment |
You probably forgot to execute it has root. Execute the following command:
$ sudo chsh -s /bin/zsh
sudo chsh -s /bin/zsh asks for password which I enter correctly but still authentication failure.
– user196091
Oct 23 '16 at 23:29
If you don't know your own password I can't help. If you know the root password try execute justsu
before this command.
– a0f3dd13
Oct 23 '16 at 23:31
I am already logged in to root, as my question explained.
– user196091
Oct 23 '16 at 23:34
type "whoami" to see if you're really root ...
– Michael D.
Oct 24 '16 at 0:26
add a comment |
You probably forgot to execute it has root. Execute the following command:
$ sudo chsh -s /bin/zsh
You probably forgot to execute it has root. Execute the following command:
$ sudo chsh -s /bin/zsh
answered Oct 23 '16 at 23:26
a0f3dd13a0f3dd13
663310
663310
sudo chsh -s /bin/zsh asks for password which I enter correctly but still authentication failure.
– user196091
Oct 23 '16 at 23:29
If you don't know your own password I can't help. If you know the root password try execute justsu
before this command.
– a0f3dd13
Oct 23 '16 at 23:31
I am already logged in to root, as my question explained.
– user196091
Oct 23 '16 at 23:34
type "whoami" to see if you're really root ...
– Michael D.
Oct 24 '16 at 0:26
add a comment |
sudo chsh -s /bin/zsh asks for password which I enter correctly but still authentication failure.
– user196091
Oct 23 '16 at 23:29
If you don't know your own password I can't help. If you know the root password try execute justsu
before this command.
– a0f3dd13
Oct 23 '16 at 23:31
I am already logged in to root, as my question explained.
– user196091
Oct 23 '16 at 23:34
type "whoami" to see if you're really root ...
– Michael D.
Oct 24 '16 at 0:26
sudo chsh -s /bin/zsh asks for password which I enter correctly but still authentication failure.
– user196091
Oct 23 '16 at 23:29
sudo chsh -s /bin/zsh asks for password which I enter correctly but still authentication failure.
– user196091
Oct 23 '16 at 23:29
If you don't know your own password I can't help. If you know the root password try execute just
su
before this command.– a0f3dd13
Oct 23 '16 at 23:31
If you don't know your own password I can't help. If you know the root password try execute just
su
before this command.– a0f3dd13
Oct 23 '16 at 23:31
I am already logged in to root, as my question explained.
– user196091
Oct 23 '16 at 23:34
I am already logged in to root, as my question explained.
– user196091
Oct 23 '16 at 23:34
type "whoami" to see if you're really root ...
– Michael D.
Oct 24 '16 at 0:26
type "whoami" to see if you're really root ...
– Michael D.
Oct 24 '16 at 0:26
add a comment |
Editing passwd file with normal editor is not recommended
to do this use
vipw
and change shell to zsh,honestly i don't understand why you want to change
the root shell,root account must used only for administration thing,for normal work use unprivileged user.
After this try to log in on other tty whitout(is important) disconnect from current tty,if works you can see your new shell.
If you want to use immediately zsh,simply type zsh.
Conclusion
I want to use my new shell now = type zsh
I want to use my new shell + change = chsh -s or vipw
p.s= if your zsh is not installed on those path(/bin /sbin..)
and you have to do a single user login with root,will not work
because cannot find your shell,this can happen also on system with /usr
separated from root/mounted on other lvm or partition
add a comment |
Editing passwd file with normal editor is not recommended
to do this use
vipw
and change shell to zsh,honestly i don't understand why you want to change
the root shell,root account must used only for administration thing,for normal work use unprivileged user.
After this try to log in on other tty whitout(is important) disconnect from current tty,if works you can see your new shell.
If you want to use immediately zsh,simply type zsh.
Conclusion
I want to use my new shell now = type zsh
I want to use my new shell + change = chsh -s or vipw
p.s= if your zsh is not installed on those path(/bin /sbin..)
and you have to do a single user login with root,will not work
because cannot find your shell,this can happen also on system with /usr
separated from root/mounted on other lvm or partition
add a comment |
Editing passwd file with normal editor is not recommended
to do this use
vipw
and change shell to zsh,honestly i don't understand why you want to change
the root shell,root account must used only for administration thing,for normal work use unprivileged user.
After this try to log in on other tty whitout(is important) disconnect from current tty,if works you can see your new shell.
If you want to use immediately zsh,simply type zsh.
Conclusion
I want to use my new shell now = type zsh
I want to use my new shell + change = chsh -s or vipw
p.s= if your zsh is not installed on those path(/bin /sbin..)
and you have to do a single user login with root,will not work
because cannot find your shell,this can happen also on system with /usr
separated from root/mounted on other lvm or partition
Editing passwd file with normal editor is not recommended
to do this use
vipw
and change shell to zsh,honestly i don't understand why you want to change
the root shell,root account must used only for administration thing,for normal work use unprivileged user.
After this try to log in on other tty whitout(is important) disconnect from current tty,if works you can see your new shell.
If you want to use immediately zsh,simply type zsh.
Conclusion
I want to use my new shell now = type zsh
I want to use my new shell + change = chsh -s or vipw
p.s= if your zsh is not installed on those path(/bin /sbin..)
and you have to do a single user login with root,will not work
because cannot find your shell,this can happen also on system with /usr
separated from root/mounted on other lvm or partition
answered Oct 24 '16 at 0:33
elbarnaelbarna
4,356124194
4,356124194
add a comment |
add a comment |
I did exactly that, I changed to Zsh, and .... logout, and of course now I lost access... there is any way to recover it ? there is some kind of default password that Zsh is taking instead of the root password?
Thanks in advance...
New contributor
add a comment |
I did exactly that, I changed to Zsh, and .... logout, and of course now I lost access... there is any way to recover it ? there is some kind of default password that Zsh is taking instead of the root password?
Thanks in advance...
New contributor
add a comment |
I did exactly that, I changed to Zsh, and .... logout, and of course now I lost access... there is any way to recover it ? there is some kind of default password that Zsh is taking instead of the root password?
Thanks in advance...
New contributor
I did exactly that, I changed to Zsh, and .... logout, and of course now I lost access... there is any way to recover it ? there is some kind of default password that Zsh is taking instead of the root password?
Thanks in advance...
New contributor
New contributor
answered 5 mins ago
MuadivMuadiv
1
1
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f318418%2fzsh-set-as-default-shell-for-root%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You want to set your user or root shell to zsh?
– a0f3dd13
Oct 23 '16 at 23:23
I want to set root shell to zsh
– user196091
Oct 23 '16 at 23:24
Don't use your user password at the prompt; use root's password.
– Jeff Schaller♦
Oct 23 '16 at 23:55
Already did login using root's password.
– user196091
Oct 23 '16 at 23:56