Lofland bLOG

Root’s Shell

Filed under Unix Notes on Tuesday, June 13th, 2006 @ 8:26am by Christen

In the old days when /usr was a separate file system, making your shell /bin/ksh was not a good thing, because /bin was a link to /usr/bin and if /usr didn’t mount you had no shell. However, /sbin is part of root so you always had /sbin.

At least here, the way our filesystem is normally laid out today, /usr is part of / so this isn’t an issue.

I always change the shell to /bin/ksh, make sure you make it /bin and not /sbin or you will lock your self out of the box.

So, in short, make sure your shell will be available if ONLY / mounts.

Also, it is a good idea to test that you can log into the box again before terminating the connection you used to make the change.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress