NomadBSD - 1.4 - 基本設定 - ユーザ設定
- 1. 概要
- 2. sudo
- 3. ログイン
- 4. VBoxClient
- 5. シェル
1. 概要
前ページで作成した、新規ユーザの設定を行います。
2. sudo
「sudo」権限を与えようとしたのですが、前回と異なっていました。
作成したユーザは、「wheel」グループに存在し、「wheel」に「sudo」の権限が与えられていましたので、なにもしません。
3. ログイン
自動ログインを無効とし、デフォルトのログインユーザを新規作成したユーザにします。
「root」ユーザで
vi /usr/local/etc/slim.conf
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user nomad
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password no
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login yes
下記へ変更(72、76、80行)します。
# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user 新規ユーザ名
# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
focus_password yes
# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
auto_login no
4. VBoxClient
前回は、ログイン時に、「VBoxClient」を起動していましたが、今回は、起動しているようです。
ついでにキーボードレイアウトがおかしいので編集
sh
cat << 'EOF' >> ~/.config/openbox/autostart
setxkbmap -layout jp
EOF
exit
5. シェル
前回は、シェルを「tcsh」へ変更しましたが、今回は、「bash」のままにします。
|
|