Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 11:10:52 -0400 (EDT)
From:      Thomas Good <tomg@mailhost.nrnet.org>
To:        Marco Hinz <marco@hinz-consulting.de>
Cc:        questions@FreeBSD.org
Subject:   Re: help !! please !!
Message-ID:  <Pine.LNX.3.96.1000525110309.27411A-100000@mailhost.nrnet.org>
In-Reply-To: <000801bfc65a$525dd2a0$0100a8c0@mastermarco>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 May 2000, Marco Hinz wrote:

> hello
> 
> i need help very important
> sorry for my english but i am from germany
> so my prob is
> i want to do something like an changerootenviroment
> so when a user logged in that he can not get out of his home directory 
> so i really hope that you can help me or give me a adress where 
> i can read some stuff about my prob
> 
> thanks
> 
> marco

Hallo Marco,

Wie geht's?  What is your real purpose - to prevent the user from
getting to a shell prompt?  If so, this is what I do:

Add to /home/marco/.profile:

/usr/local/bin/menu
exit

And I don't let end users near vi or other programs where they can
escape to the shell.

Viel erfolg,
Tom
------- North Richmond Community Mental Health Center -------

Thomas Good                                   MIS Coordinator
Vital Signs:                  tomg@ { admin | q8 } .nrnet.org
                                          Phone: 718-354-5528  
                                          Fax:   718-354-5056  
                              
/* Member: Computer Professionals For Social Responsibility */ 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.1000525110309.27411A-100000>