Home > Linux > CORESERVERのShell

CORESERVERのShell

  • 2008-08-09 (土) 21:47
  • Linux
  • このエントリをdel.icio.usに追加このエントリをはてなブックマークに追加

このblogはCORESERVERで動かしているのですが、一番最初にsshログインして操作しようとした時、


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

というメッセージが出て訳がわからず焦りました。とりあえずメッセージ内容をgoogle先生に聞いたところ、CORESERVERのShellはデフォルトでrbashという制限付きbashとなっているとのこと。従ってchshコマンドを使用し、デフォルトShellをbashに変更しました。


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

これで普通に ls とか cd コマンドが使用出来るようになりました。ふう〜。

Comments:0

Comment Form
Remember personal info

Trackbacks:0

Trackback URL for this entry
http://aoshiman.net/weblog/2008/08/09/default_shell/trackback/
Listed below are links to weblogs that reference
CORESERVERのShell from “南船北馬”

Home > Linux > CORESERVERのShell

Search
Feeds
Meta

Return to page top