• カテゴリ お決まりのパターン の最新配信
  • RSS
  • RDF
  • ATOM

ブログ - CoreServer で ls も使えない

CoreServer で ls も使えない

カテゴリ : 
Customize/Hackメモ » お決まりのパターン
執筆 : 
masa 2014/3/2
久々に CoreServer に新しいホストを借りて、SSHでつないで設定しようとしたら

-rbash: /bin/ls: restricted: cannot specify `/' in command names

と来たもんだ!
えー、と思って調べてみると chsh でシェルを変えなければいけないらしい。


% chsh
Changing login shell for ******.
Password: 
Enter the new value, or press return for the default.
	Login Shell [/bin/rbash]: /bin/bash
Shell changed.


前からこうだったっけ?
  • トラックバック (0)
  • 閲覧 (3543)