Gentoo Archives: gentoo-server

From: "A. Khattri" <ajai@××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Virtual ssh users
Date: Thu, 08 Sep 2005 14:49:22
Message-Id: Pine.BSO.4.58.0509081042270.10227@ida.bway.net
In Reply to: Re: [gentoo-server] Virtual ssh users by Ben Munat
1 On Tue, 6 Sep 2005, Ben Munat wrote:
2
3 > Hmm, I haven't messed with jail in a while... Well, did you add the jailed user to the
4 > regular system with useradd? In other words, there are two steps to adding a jailed user:
5 > add the user to the regular system with useradd and a shell of /usr/bin/jail and then add
6 > the user to jail with addjailuser and a shell of /bin/bash. Oh, and the /usr/bin/jail
7 > shell needs to be in /etc/shells.
8
9 Incidently, you can use libnss-mysql to avoid having to create an actual
10 system account if you need "true" virtual users.
11
12
13 --
14
15 --
16 gentoo-server@g.o mailing list