From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Bryant Newsgroups: gmane.os.tru64.managers Subject: su $USER Date: Wed, 29 Jan 2003 13:41:14 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: main.gmane.org 1043869262 15269 80.91.224.249 (29 Jan 2003 19:41:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2003 19:41:02 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18dy43-0003vX-00 for ; Wed, 29 Jan 2003 20:40:03 +0100 Original-Received: (qmail 27284 invoked by uid 5); 29 Jan 2003 19:41:40 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27275 invoked by uid 49493); 29 Jan 2003 19:41:40 -0000 Original-Received: from Chris.Bryant@DTAG.Com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.344902 secs); 29 Jan 2003 19:41:40 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 29 Jan 2003 19:41:40 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9H00DKHQP77C@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 Jan 2003 14:41:39 -0500 (EST) Original-Received: from tfyfw.thrifty.com ([65.64.34.2]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9H00FF8QOXDL@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 Jan 2003 14:41:22 -0500 (EST) Original-Received: by tfyfw.thrifty.com; id NAA11044; Wed, 29 Jan 2003 13:47:21 -0600 (CST) Original-Received: from dtag.com(172.23.116.35) by tfyfw.thrifty.com via csmap (V1.5) id srcAAA0VZNOs; Wed, 29 Jan 2003 13:47:16 -0600 Original-Received: by dtagimc.thrifty.com with Internet Mail Service (5.5.2653.19) id ; Wed, 29 Jan 2003 13:41:16 -0600 Original-To: "Tru64 Unix \(tru64-unix-managers@ornl.gov\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:3129 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3129 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