[SunHELP] chroot ssh users??
Adam Mazza
adam at 68e.com
Wed Aug 28 11:15:44 CDT 2002
You can do this in the passwd file. For example, if you had a user called
cuser, you could create an entry like the following:
cuser:x:105:1::/home/cuser/./:/usr/bin/tcsh
This would allow a user in, but not let them back out of their homedir.
You will need to build the chroot jail in their homedir of course. You may
also want to look into rsh(1m) to give them a restricted shell.
Adam Mazza
On Wed, 28 Aug 2002, Takacs Istvan wrote:
> Hi,
>
> Solaris 8
>
> I'd like to chroot some of our users into their home directory
> when they connect to the server by ssh.
> I've found some information about this feature in ssh here;
> http://www.ssh.com/products/ssh/administrator24/Using_Chroot_Manager__ssh-ch
> rootmgr_.html
>
> but I'm afraid it starts with this statement;
> "Also, this functionality is not available directly in the binaries, and
> does not work on Solaris. "
> :(((
>
> Could you help me please, how can I set this important function?
> Or is there another method to chroot those users?
>
> Thanks in advance!
>
> Regards;
>
> Istvan
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
More information about the SunHELP
mailing list