Display
user information (FreeBSD):
$ pw usershow user_nameuser_name:*:1002:1002::0:0:Some User Name:/home/user_name:/bin/shYou'll notice that last field (/usr/local/bin/bash) is the shell of the user.
Change
user's shell on FreeBSD system to bash
$ pw usermod user_name -s /usr/local/bin/bash
$ pw usershow user_nameuser_name:*:1002:1002::0:0:Some User Name:/home/user_name:/usr/local/bin/bash
Nenhum comentário:
Postar um comentário