Dear all,

I am trying to use chroot environment for loging thru ssh.

After successfully doing this i am creating users 
useradd -g <PrimGroup> -s /bin/bash vishalsoni

As we know the capabilities of bash r termendous ... i started looking
for something like smrsh, so that one can access only those binaries,
which i put in /etc/smrsh/ ...

so i used below command to create user
useradd -g <PrimGroup> -s /bin/smrsh vishalsoni

(i have kept smrsh in the /bin of my chroot environment.)

but when i tried to login thru ssh, i realized that it can't be done
using this...
it says 
usage smrsh -c command 
and ssh conenction gets closed.

DO we have any other shell which has capabilities like smrsh and is
not does not work in command line fashion i.e can give me the prompt
so that the user can execute the binaries/programs present in
/etc/smrsh

or technically i am looking for a shell which will fork and exec the
executables, present in /etc/smrsh, when command is given.

that is i will get a restricted shell and that shell will be able to
work like bash with restrictions of smrsh...

do we have any ??? 
hope i am able to put across what i wanted. in case, if something is
ambigous,  lemme know.
Regards,
Vishal.

--
To unsubscribe, send mail to [EMAIL PROTECTED] with the body
"unsubscribe ilug-cal" and an empty subject line.
FAQ: http://www.ilug-cal.org/node.php?id=3

Reply via email to