From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Douglas B. Jones" Newsgroups: gmane.os.tru64.managers Subject: UPDATE: changing password and password in /etc/passwd Date: Fri, 28 Jun 2002 13:49:49 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <015901c21ecc$32f27f70$0101a8c0@gpc.edu> Reply-To: douglas@gpc.edu NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1025286512 7122 127.0.0.1 (28 Jun 2002 17:48:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 28 Jun 2002 17:48:32 +0000 (UTC) Cc: Douglas B Jones Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17NzrD-0001ql-00 for ; Fri, 28 Jun 2002 19:48:32 +0200 Original-Received: (qmail 29693 invoked by uid 5); 28 Jun 2002 17:48:46 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29685 invoked from network); 28 Jun 2002 17:48:45 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 28 Jun 2002 17:48:45 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GYF00D02G52L8@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 28 Jun 2002 13:48:45 -0400 (EDT) Original-Received: from c01.gpc.edu (c01.gpc.edu [168.28.223.11]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GYF00B99G4VNE@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 28 Jun 2002 13:48:32 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.gpc.edu by gpc.edu (PMDF V6.1-1 #38934) id <0GYF03401G4UB4@gpc.edu> for tru64-unix-managers@ornl.gov; Fri, 28 Jun 2002 13:48:31 -0400 (EDT) Original-Received: from jones00 (adsl-156-104-174.asm.bellsouth.net [66.156.104.174]) by gpc.edu (PMDF V6.1-1 #38934) with SMTP id <0GYF01PFOG4UYM@gpc.edu> for tru64-unix-managers@ornl.gov; Fri, 28 Jun 2002 13:48:30 -0400 (EDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:744 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:744 Hi, Made a mistake about something below. If I change u_pwd under edauth to *, it is not changed in /etc/passwd and the next time I go into edauth, it is back to what is in /etc/passwd. Now, if I vipw and change that to * or whatever, that is what is now under edauth. It also appears, despite the error message below, to reset the password in both places. We are on Tru64 5.1. Thanks, Cheers, Douglas > -----Original Message----- > From: tru64-unix-managers-owner@ornl.gov > [mailto:tru64-unix-managers-owner@ornl.gov]On Behalf Of Douglas B. Jones > Sent: Thursday, June 27, 2002 11:07 PM > To: tru64-unix-managers@ornl.gov > Cc: Douglas B Jones > Subject: changing password and password in /etc/passwd > > > Hi, > > Two problems right now: > > 1) if I try to change a password, via passwd(1) command from > root, for example: > > #passwd douglas > (choose option 4 for my own pick) > > After putting it in twice, I get the following error message: > > Password not changed: failed to write protected password entry. > > Any ideas why this is so? I can login as douglas, just can't > change it as root. > > 2) my password is encrypted in /etc/passwd. If I look at edauth: > > #edauth -g douglas > I see the u_pwd set to the same as in the /etc/passwd. If I > do vipw and replace the encrypted password with *, then the > next time I do the edauth, there is a * in u_pwd. How do I > make this password not show encrypted in the password file? > I thought they were supposed to have * for password in this > visible file and the encrypted one in the tcb. My encrypt > type is set to 'u_oldcrypt#3' right now. > > Thanks, > Cheers, > Douglas >