Re: restricted shell

2011-10-17 Thread Joe Zeff
On 10/17/2011 01:27 PM, Hugh Caley wrote: > Not precisely what you are requesting, but the "sudo" command could be > used to allow your admin root access to certain commands only. Yes. In fact, I'm fairly sure that this is exactly what it was written for in the first place. Using it in place of

Re: restricted shell

2011-10-17 Thread Hugh Caley
ing the visudo utility. Hugh On Sun, 2011-10-16 at 14:17 +0530, Benjamin wrote: > I want to configure restricted shell for one of my server. > > I want to allow specific commands only to my local admin , means he > can use only commands which i allowed for him.no more commands or any &

Re: restricted shell

2011-10-16 Thread suvayu ali
On Mon, Oct 17, 2011 at 2:00 AM, Mikkel L. Ellertson wrote: > You may want to look at the -r option of bash, or bash invoked as > rbash. Unfortunately, there are ways to get around the restrictions > of rbash, or most other restricted shells. > Although the OP specifically asked for

Re: restricted shell

2011-10-16 Thread Mikkel L. Ellertson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/16/2011 08:06 AM, Don Quixote de la Mancha wrote: > > Chroot is great for securing certain kinds of things, but if the > intended user is an administrator, he won't be able to administer any > of the files outside of his chroot jail. > > I'm pr

Re: restricted shell

2011-10-16 Thread Don Quixote de la Mancha
On Sun, Oct 16, 2011 at 5:53 AM, Tim wrote: > On Sun, 2011-10-16 at 14:17 +0530, Benjamin wrote: >> I want to allow specific  commands only to my local admin , means he >> can use only commands which i allowed for him.no more commands or any >> other bash facility he can't use. > > You can look in

Re: restricted shell

2011-10-16 Thread Benjamin
Hi Tim, Can u provide me any good document or any example to get proper idea of chroot Regards, Benjo > On Sun, 2011-10-16 at 14:17 +0530, Benjamin wrote: >> I want to configure restricted shell for one of my server. >> >> I want to allow specific commands only to my l

Re: restricted shell

2011-10-16 Thread Tim
On Sun, 2011-10-16 at 14:17 +0530, Benjamin wrote: > I want to configure restricted shell for one of my server. > > I want to allow specific commands only to my local admin , means he > can use only commands which i allowed for him.no more commands or any > other bash facili

restricted shell

2011-10-16 Thread Benjamin
Hi Friends, I want to configure restricted shell for one of my server. I want to allow specific commands only to my local admin , means he can use only commands which i allowed for him.no more commands or any other bash facility he can't use. Please guide me , how to setup such ki