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

Re: su?

Doug wrote:

Tried to run a program from command line needing admin

Input su /usr/sbin/synaptic

Get message Unknown id: /usr/sbin/synaptic

Logged in as root, put in password, ran

and the file ran fine.

Is there no su in Debian?  If not what replaces it?

/bin/su is in the login package.

If you want to supply a command to it, rather than run a shell, you need

su -c <command>

su <something> tries to change to user <something> and run a shell (man su for details).

Chris Jackson
Shadowcat Systems Ltd.

Reply to: