tom.tinnes at food.com
Tue Nov 13 14:04:00 EST 2001
I commonly use an alias in the user's profile:
alias so sudo -u root su - oracle
alias sy sudo -u root su - sybase
the user types "so" (for switch oracle) to switch up to a locked,
anonymous user called oracle, or sybase -- such that the user "oracle" or
"sybase" can run all its functions, but no one can log in under that name.
Anyone switching to that name is logged.
t h o m a s t i n n e s | u n i x m o n k e y
Food.com | 22 Fourth Street, 10th Floor San Francisco CA 94103
ttinnes at food.com | P . 415 . 591 . 5520 | F . 415 . 495 . 8340
On Tue, 13 Nov 2001, WHITING Russell wrote:
> I am fairly new to sudo and would like a little advice to what should
> hopefully be an easy question. Firstly, I have installed the latest version
> of sudo onto AIX 4.3.3.
> How can I ensure that users use 'sudo' in front of every command they issue.
> For example, a user could issue the following command su - oracle, but I
> need to ensure that they use sudo su - oracle.
> Russell Whiting
> This is an email communication from Hermes Pensions Management Ltd. Registered in England No. 1661776.
> This electronic mail, together with any attachments, is for the exclusive and confidential use of the recipient addressee. Any other distribution, use or reproduction without our prior consent is unauthorised and strictly prohibited. If you have received this message in error, please delete it immediately and contact the sender directly or the Hermes IT Helpdesk on +44 (0)20 7680 2117. Any views or opinions expressed in this message are those of the author and do not necessarily represent those of Hermes Pensions Management Ltd or of any of its associated companies. No reliance may be placed on this message without written confirmation from an authorised representative of the company.
> Hermes Pensions Management Limited reserves the right to monitor all e-mail communications through its network.
> This message has been checked for viruses but the recipient is strongly advised to rescan the message before opening any attachments or attached executable files.
> sudo-users mailing list <sudo-users at courtesan.com>
> For list information, options, or to unsubscribe, visit:
More information about the sudo-users