Re: lock user to home directory - not with rbash

2005-04-25 Thread Ash
Olaf Stein wrote: hi thanks for the advice on rbash i got it to work but it is to restricted Be careful what you ask for :) in their home directories users should have full rw access as far as i tried rbash (bash -r) that is not possible (i can not even do a mkdir) i am doing something wrong or i

lock user to home directory - not with rbash

2005-04-25 Thread Olaf Stein
hi thanks for the advice on rbash i got it to work but it is to restricted in their home directories users should have full rw access as far as i tried rbash (bash -r) that is not possible (i can not even do a mkdir) i am doing something wrong or is this the goal of rbash (bash -r)?? is there a

Re: lock user to home directory

2005-04-25 Thread Alex Zbyslaw
Olaf Stein wrote: - bash is installed - if I run chpass -s /usr/local/bin/bash -r username chpass says chpass: illegal option -- r I guess because of the blank - if I run chpass -s /usr/local/bin/rbash chpass says: chpass: WARNING: shell '/usr/local/bin/rbash' does not exist Which also makes sens

Re: lock user to home directory

2005-04-25 Thread Alex Zbyslaw
Olaf Stein wrote: 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?? Did you install bash? What did chpass say? Did you use

RE: lock user to home directory

2005-04-25 Thread Olaf Stein
:[EMAIL PROTECTED] 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

Re: lock user to home directory

2005-04-25 Thread Lowell Gilbert
Roland Smith <[EMAIL PROTECTED]> writes: > 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. Assuming you trust them not to actively

Re: lock user to home directory

2005-04-25 Thread Roland Smith
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

lock user to home directory

2005-04-25 Thread Olaf Stein
hi everybody is there an easy way to lock a user to his home directory?? thanks /olaf Olaf Stein Research Scholar OSU Medical Center Department of Radiology Division of Imaging Research phone: 614-293-9983 cell: 614-589-9229 ___