Operating System - Tru64 Unix
1753937 Members
10214 Online
108811 Solutions
New Discussion юеВ

TRU64 passwd is prompting for Old password:

 
IrvingM
Occasional Contributor

TRU64 passwd is prompting for Old password:

Hi,

On a TRU64 and I'm trying to change a forgotten user passworrd as root, but it's prompting for the Old one, which is forgotten. I've unlocked the account:

# usermod -x administrative_lock_applied=0 a180083
# id
uid=0(root) gid=1(daemon) groups=0(system),3(mem),7(terminal),9(opr),12(lp),99(dba)
# passwd a180083
Old password:
Password not changed: old password entered incorrectly.

Any ideas?

Many thanks

Mike

 

4 REPLIES 4
Steven Schweda
Honored Contributor

Re: TRU64 passwd is prompting for Old password:

> On a TRU64 [...]

   sizer -v

   My Tru64 system has a dead power supply, so I can't try much here.
Are you saying that user "root" can't change a normal-user password
without knowing the old normal-user password?  That sounds wrong.

# id
uid=0(root) gid=1(daemon)
 groups=0(system),3(mem),7(terminal),9(opr),12(lp),99(dba)

   "gid=1"?  Shouldn't that be "gid=0"?

> Any ideas?

   If setting gid=0 doesn't help, then there's always the big hammer:
Boot into single-user mode.  A forum or Web search should find the
details.  I'd guess something like the following to start:

      >>> boot -fl s

IrvingM
Occasional Contributor

Re: TRU64 passwd is prompting for Old password:

Yes, root cannot change any passwords without knowing the Old one.

I've tried changing the group to 0 now and still no joy.

# newgrp 0
# id
uid=0(root) gid=0(system) groups=0(system),3(mem),7(terminal),9(opr),12(lp),99(dba)
# passwd a180083
Old password:
Password not changed: old password entered incorrectly.

I am su'd to root, so I'll try from the console direct as root next.

IrvingM
Occasional Contributor

Re: TRU64 passwd is prompting for Old password:

I can change the password from the console, which is not ideal and root logins are restricted to the console.

Is there a config somewhere that restricts admin command to the console?

There is a repeating warning in messages:

vmunix: chk_bf_quota: group quota underflow for group 7 on fileset /

I've yet to find out what this means.

Steven Schweda
Honored Contributor

Re: TRU64 passwd is prompting for Old password:

> Is there a config somewhere that restricts admin command to the
> console?

   My (old) notes say:

   Remote login by "root" - Add "ptys" to "/etc/securettys", as per
comments:

   cd /cluster/members/{memb}/etc
   
   urt# diff securettys_orig securettys
   44a45
   > ptys

   Consider other possibilities, like ":0", for CDE.


> vmunix: chk_bf_quota: group quota underflow for group 7 on fileset /

   I've never enabled disk quotas, so I know nothing.  It might be time
to find the actual Tru64 document set (at hpe.com).