16.11.2014 Views

solaris-tips-for-linux-users

solaris-tips-for-linux-users

solaris-tips-for-linux-users

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

参 考 :ログイン 時 のデフォルトシェル<br />

• デフォルトシェルの 変 更<br />

デフォルトのシェルはLinux,Solarisともにbashです。<br />

• Linuxの 場 合 は、chshコマンドを 使 用<br />

実 行 例<br />

1.ユーザ(user01)のデフォルトシェルを 変 更 する。<br />

# chsh user01<br />

user01 のシェルを 変 更 します。<br />

新 しいシェル [/bin/bash]: /bin/sh<br />

シェルを 変 更 しました。<br />

• Solarisの 場 合 は、passwdコマンドを 使 用<br />

実 行 例<br />

1.ユーザ(user01)のデフォルトシェルを 変 更 する。<br />

# passwd -e user01<br />

Old shell: /usr/bin/bash<br />

New shell: /bin/sh<br />

passwd: password in<strong>for</strong>mation changed <strong>for</strong> user01<br />

24<br />

Copyright 2014 FUJITSU LIMITED

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!