Yes - that can be done using a Restricted Shell.
Define a virtual root for the user's account and establish a bin directory under their virtual root with copies of only those binaries you wish for them to use. The rsh will stop them from cd'ing outside their virtual root (which may be mapped to say /home/$USER.
----Original Message Follows----
From: Matthew Melvin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Disable a particular command for a user
Date: Thu, 6 Feb 2003 23:25:44 +1000 (EST)
On Thu, 6 Feb 2003 at 5:11am (-0800), Ha Ha wrote:
> Hi,
>
> I am using RedHat 8.0, and the user is using ssh.
>
> Can I disable a particular command for a user after he
> login?
> For example, he can't use ls, cd, etc.
>
Perhaps it'd be easier to come at this from the other direction... what /do/
you want them to be able to do?
M.
--
WebCentral Pty Ltd Australia's #1 Internet Web Hosting Company
Level 5, 100 Wickham St. Network Operations - Systems Engineer
PO Box 930, Fortitude Valley. phone: +61 7 3249 2552
Queensland, Australia 4006. pgp key id: 0x900E515F
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list
- Disable a particular command for a user Ha Ha
- Re: Disable a particular command for a user Matthew Melvin
- Danny Towler