restricted shell

restricted shell

Post by Gren-C. Kas » Thu, 19 Apr 2001 20:43:08

        hi there

        I have a small (actually  big prob) problem whith shell
access. I am running a FreeBSD 4.2 and I whish to make chroot-ed
shell access for some of my users. By chroot I mean like
chroot in ftp access where user can see only hes homedir
and nothing else. Ordinary shell users can
wonder around in the whole system which is not desired.
So, I have read the masnuals, searched the net and nothing.
Closest hit was which had a menition in manual about
ssh-chrootmgr but that was it.  
        The users should be able only to use vi,
mysql (to set up databases bla-bla), and something
else I but into users /bin. Any ideas?
        The idea is that the user should never be able
to copile anything, use alternate shell etc-etc.

------------  E  L  K  O  N  -------------

Tel: +372 50 67 637     Fax: +3726338507


1. restricted shell/restricting login

A while ago I posted a question about how to restrict logins to our
ultrix systems.  Someone sent me a C or shell script which I'm
embarassed to say I've misplaced.  I think is was called "syslogin".
Please re-send it to me, whoever you are (were).

Here's the problem I wish to solve:

What I want to do is split the modem pool into 2 numbers - one for
students and one for faculty/staff.  

I want to the login procedure to check which terminal server a connection
is coming from.  The procedure should then check the account and see if that
account is entitled to connect from that terminal server...if so,
then continue normally, if not then print a message like "Please dial
the number xxx-xxxx".

We have DEC terminal servers (I don't wish to use lat groups) and
Ultrix 4.2a.

I'm certain I'm not re-inventing the wheel here.  Any comments, suggestions
and pointers are most welcome.

Thanks in advance...

Trent University Computing & Telecommunications  tel: (705)748-1540
Peterborough, Ontario, Canada, K9J 7B8           fax: (705)748-1246

2. Help with CD-R & CD-RW !

3. restricted shell or restricted access

4. Any tips on using mkisofs -hard-disk-boot?

5. restricted shell - not so restrict

6. 2.5.42: xircom_cb doesn't work

7. rksh shell, how do i stop .profile from loading in restricted shell

8. Network unreachable - I want to compile my kernel for 1.2.1?

9. Restricted Shell Script for Free Shell

10. using cd in restricted shell

11. Restricted Shell Account

12. Looking for a restricted shell.

13. Restricted shell and ftp