fedora-users October 2011 archive
Main Archive Page > Month Archives  > fedora-users archives
fedora-users: Re: restricted shell

Re: restricted shell

From: Tim <ignored_mailbox_at_nospam>
Date: Sun Oct 16 2011 - 12:53:50 GMT
To: Community support for Fedora users <users@lists.fedoraproject.org>

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 facility he can't use.

You can look into "chroot"ing, where the other person has a different
root directory, and all the sub-directories, and you copy the commands
that they're allowed to use into their directory tree.

Of course, to do this properly, you also need to make sure that they
can't use a compiler, else they can create their own commands.

-- [tim@localhost ~]$ uname -r Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines