[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Limiting User Commands



On Fri, Nov 05, 2004 at 01:19:53PM -0800, Stephen Le wrote:
> On Fri, 5 Nov 2004 18:40:59 +0100, Benedict Verheyen <benedict.verheyen@sjki.be> wrote:
> > Sounds like you want sudo.
> 
> I don't think sudo is appropriate for what I'm trying to do. I'd like
> users to have limited shell access; I'm not trying to give them access
> to special commands. Besides, telling users to prefix every command
> they run with 'sudo' would be awkward and cumbersome.
> 

try using aliases in (bash)rc scripts, and you can set up 
"alias passwd='sudo passwd'" and prefixing is history

-- 
matej kovac
matej@pobox.sk



Reply to: