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

Re: Runing cardctl from a normal account



* Simon Rowe <sjrowe@ewor.co.uk> [010309 00:36]:
> I would like to be able to run:
> 
> 	cardctl eject | cardctl scheme | cardctl insert
> 
> from a normal user account. I have tried using the following command,
> which prompts for roots password and then should run the command:
> 
> 	su - root -c cardctl eject

Try
    su -c "/sbin/cardctl eject"

> Any suggestions, alternative methods (sudo I suppose??) would be great.

I'm using
    sudo cardctl eject

Cheers,
-- 
David



Reply to: