From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Knorr Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Non-root users cannot do things like su, ps, crontab -l Date: Fri, 01 Oct 2004 10:19:02 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <010901c4a7c1$9e473510$b4c8a8c0@hopsdc.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; reply-type=original; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096640432 17281 80.91.229.6 (1 Oct 2004 14:20:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2004 14:20:32 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Oct 01 16:20:13 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CDOGb-0002sd-00 for ; Fri, 01 Oct 2004 16:20:13 +0200 Original-Received: (qmail 6560 invoked by uid 5); 1 Oct 2004 14:19:31 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 6545 invoked by uid 49501); 1 Oct 2004 14:19:31 -0000 Original-Received: from cknorr@trapsystems.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 0.628057 secs); 01 Oct 2004 14:19:31 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 1 Oct 2004 14:19:30 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I4W00IRAT4E53@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Oct 2004 10:19:29 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I4W00002T44JM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Oct 2004 10:19:18 -0400 (EDT) Original-Received: from gull2.hopsdc.com (gull.hopsdc.com [199.227.253.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I4W00KBDT40TC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Oct 2004 10:19:16 -0400 (EDT) Original-Received: from cknorrlap ([192.168.200.180]) by gull2.hopsdc.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 01 Oct 2004 10:19:09 -0400 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-Priority: 3 X-MSMail-priority: Normal X-OriginalArrivalTime: 01 Oct 2004 14:19:09.0890 (UTC) FILETIME=[9E427A20:01C4A7C1] Xref: main.gmane.org gmane.os.tru64.managers:7634 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7634 Problem: Non-root users cannot do various things. This includes things like "ps aux" (it just returns the top header line containing column descriptions), "crontab -l" (says it can't open their crontab file) or "su" (just goes back to the shell prompt -- no errors. yes, the login account has been added to the system group). Solution: The overwhelming consensus from the many responses I received was that the SUID bit had been removed. This indeed turned out to be the case! The weird thing is it didn't seem to have been done globally (either on the entire system or directory), so I'm definitely stumped as to how this happened. Nevertheless, setting the SUID bit on ps, su, and crontab most definitely corrected the problem. A few additional items which may help someone someday: The fverify utility was mentioned by many people to identify problems. This looks very nice but it appears to work subset by subset. I was hoping there would be something more global - running fverify on every installed subset seems like a lot of work, especially since the few subsets I tried were producing a load of messages/information. Ken Kleiner suggested looking at a download and install and run 'checkrootkit' from www.chkrootkit.org. I did try downloading and building this but I got many errors trying to build it under Tru64 Unix V5.1 with the gcc compiler. The README says it's supported on T64, but it didn't work so well for me. Thanks for everyone's great responses! Chris