su $USER

From: Chris Bryant <Chris.Bryant_at_DTAG.Com>
Date: Wed, 29 Jan 2003 13:41:14 -0600

Admins,

        I have an account which I have set up on a 5.1 UNIX machine which
when executing the accounts profile ( via a direct login or a su - $USER )
will execute a shell script for them. However, when someone executes a su
$USER from the command line will take them into a shell prompt. Now I am
wanting anyone who uses this account to have to login directly and not have
the functionality of su, however I am not sure how to disable this for one
user. Any ideas? I will summarize.

TIA,

Chris Bryant
Unix Administrator
Dollar Thrifty Automotive Group
Received on Wed Jan 29 2003 - 19:42:10 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT