From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Wincentsen Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: su - memory fault error Date: Wed, 10 Sep 2003 14:03:06 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <2BF9B77525A3D511964000508BB8B0F30547F2E2@roswell.csustan.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 X-Trace: sea.gmane.org 1063227777 2164 80.91.224.253 (10 Sep 2003 21:02:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 21:02:57 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Sep 10 23:02:55 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19xC75-0006ai-00 for ; Wed, 10 Sep 2003 23:02:55 +0200 Original-Received: (qmail 25803 invoked by uid 5); 10 Sep 2003 21:02:48 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25794 invoked by uid 49493); 10 Sep 2003 21:02:48 -0000 Original-Received: from CWincentsen@csustan.edu by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-5.8/5.0):. Processed in 20.723204 secs); 10 Sep 2003 21:02:48 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 10 Sep 2003 21:02:27 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HL000FQRNS0SO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 10 Sep 2003 17:02:26 -0400 (EDT) Original-Received: from eris.csustan.edu (eris.csustan.edu [130.17.100.136]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HL000927NRMVT@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 10 Sep 2003 17:02:10 -0400 (EDT) Original-Received: from roswell.csustan.edu (roswell.csustan.edu [130.17.101.142]) by eris.csustan.edu (8.9.3p2/Pro-8.9.3) with ESMTP id LAA491439 for ; Tue, 09 Sep 2003 11:35:31 -0700 (PDT) Original-Received: by roswell.csustan.edu with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Sep 2003 14:03:08 -0700 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:5315 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5315 I had software support stumped for a couple of days on this. I had changed the default file, /etc/auth/system/default and removed some suspicious looking lines in the file... :u_cmdpriv=boot,ping,printerstat,tape:\ :u_syspriv=execsuid,chmodsugid:\ :u_basepriv=execsuid,chmodsugid:\ su, in ENHANCED (C2) security mode, needs both the u_syspriv and u_basepriv parameters to work properly. The reason the root account worked was because these privs were already set there in edauth. One of the tests I did was to set security back to BASE mode and the su command worked fine that way. (I had made some other changes too, but these are the relevant lines which caused su to stop working.) Software support also said that although these parameters are undocumented, they are necessary, so leave them in there! My thanks to David Knight who suggested checking for password file problems and Chris Ford who suggested checking login file problems. You guys were close! Many thanks to Sandy Levitt at HP software support for getting me back on track. Chris Wincentsen VMS & UNIX Sys. Admin. and Banner VR guy Office of Information Technology CSU Stanislaus - Turlock, CA (209) 667-3732 CWincentsen@csustan.edu > ---------- > From: Chris Wincentsen > Sent: Thursday, September 4, 2003 3:18 PM > To: 'tru64-unix-managers@ornl.gov' > Subject: su - memory fault error > > Hi, > > Question from a new subscriber (me). I'm setting up a new ES45 with Tru64 > 5.1b, patch kit 2 installed. The "su" command is returning a memory fault > message/error when I try to su to any account besides root. Anyone else > seen this and know the cure? > > Some samples - works for su root, but not to other accounts, even when in > root to start with... > > chrisw@csusa2:..staff/chrisw > su root > Password: (works to root) > chrisw@csusa2:..staff/chrisw > exit > chrisw@csusa2:..staff/chrisw > su - root > Password: (entered wrong password) > Sorry > > chrisw@csusa2:..staff/chrisw > su - root > Password: (works to root with -) > Your terminal type is now set to vt220 > Thu Sep 4 15:03:55 PDT 2003 > > root@csusa2:/ > > root@csusa2:/ > su banjobsu > Memory fault > root@csusa2:/ > su chrisw > Memory fault > root@csusa2:/ > su - chrisw > Memory fault > root@csusa2:/ > su root (from root, works to su > root) > root@csusa2:/ > > > (Entries in the sialog show that the command succeeded in all cases (with > a > correct password).) > > Comments or suggestions appreciated! > > Chris > > Chris Wincentsen > VMS & UNIX Sys. Admin. and Banner VR guy > Office of Information Technology > CSU Stanislaus - Turlock, CA > (209) 667-3732 CWincentsen@csustan.edu > >