chsh is change login shell program.
it's contained in passwd package.
it's used like this:
it's contained in passwd package.
it's used like this:
$ cat /etc/passwd
...
x:x:1000:1000:Doo-Hyun Jang,,,:/home/x:/bin/bash
$ chsh
Password:
Changing the login shell for x
Enter the new value, or press ENTER for the default
Login Shell [/bin/bash]: /usr/bin/zsh
$ cat /etc/passwd
...
x:x:1000:1000:Doo-Hyun Jang,,,:/home/x:/usr/bin/zsh
댓글 없음:
댓글 쓰기