Date: Mon, 25 Apr 2005 14:08:06 -0400 From: "Olaf Stein" <stein.175@osu.edu> To: "'Roland Smith'" <rsmith@xs4all.nl>, <freebsd-questions@freebsd.org> Subject: RE: lock user to home directory Message-ID: <200504251808.j3PI86mY029746@defang10.net.ohio-state.edu> In-Reply-To: <20050425163410.GE98448@slackbox.xs4all.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Does not work I changed the shell with chpass -s /usr/local/bin/bash -r or rbash Chpass said that those are unvalid arguments but changed it anyway in /etc/passwd But user could not login anymore at all Any other ideas?? Thanks /olaf -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Roland Smith Sent: Monday, April 25, 2005 12:34 PM To: freebsd-questions@freebsd.org Cc: Olaf Stein Subject: Re: lock user to home directory On Mon, Apr 25, 2005 at 10:51:00AM -0400, Olaf Stein wrote: > hi everybody > > is there an easy way to lock a user to his home directory?? Try giving them restricted bash (rbash, or bash -r) as shell. Roland -- R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504251808.j3PI86mY029746>