[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot()ing a user's login



On Sun, 12 Dec 1999, Nagilum wrote:

> So, I tried changing a user's login shell to '*/bin/bash' to no avail.
> When I attempt to login, I am asked for the username.. and then I am
> asked for the password twice and booted out.

Giving a user a chrooted home won't be an easy task.  You need to have a
fully functional system under there - that means the shell, libc, and all
that jazz.  Are you sure you can't do what you want to do with a
restricted shell?


Reply to: