tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Partial summary:  C2 security
@ 1999-04-08 20:09 TIMM
  0 siblings, 0 replies; 2+ messages in thread
From: TIMM @ 1999-04-08 20:09 UTC (permalink / raw)
  To: tru64-unix-managers


Some have responded in the case of the disabled terminal.
Their suggestion...

use

edauth -dt :0
(or whatever device is locked)

to zero out the number of excessive logins.

I did edauth, it did show a lock, I was able to remove the lock 
entry  *but*  we still get the message "Terminal has been disabled"
when we try to login.

It was also suggested that I use the same edauth command to 
zero out the number of successful logins.  I did this,  it accepted
the edit, but again got a *terminal is disabled...see account 
adminstrator" message, and after this the old number of unsuccessful 
logins, plus one, came back.

--------------------------

In the case of the user whose account is locked  (only on one
NIS client node, not the server)  it was suggested
that I use edauth to clear out the account lock, which I did.
Only problem is, every time we try to use 
passwd to change his password (which is unknown) it locks
his account out again with message
"passwd was changed by root...."

I repeat.. on the NIS server I can change his password fine
using either passwd or dxaccounts.  But for some reason 
the password change is not propagating to the local node.

I even backed out C2 security and reinstalled it again... no such luck,
same problem.

Any clues?

Steve Timm

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Partial Summary:  C2 security
@ 1999-04-11 17:37 TIMM
  0 siblings, 0 replies; 2+ messages in thread
From: TIMM @ 1999-04-11 17:37 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to wmills@wellsfargo.com

The problem was that a user's account was disabled on one of my NIS
client machines only, but was fine on the NIS server.  The original 
disabling had come when I as root changed his password (using passwd)
on the NIS client only.

By doing

/usr/tcb/bin/edauth -dp username

and zeroing out the numunsuclog field and making sure the u_lock@ field
was there, the user has now been re-enabled.

This solves half of the problem.

The other half of the problem is a console to which people cannot log on.
We get the message "Terminal is disabled, see account administrator"

People have asked... does it appear in devassign and ttys... the answer is yes.
Some have also suggested

/usr/tcb/bin/edauth -dt \:0

and zeroing out the t_failures field.

The entry at first looks like this:

\:0|\:0.0:\
	:t_devname=\:0:t_uid=liujian:t_logtime#923404808:t_unsucuid=timm:\
	:t_unsuctime#923851367:t_failures#91:t_login_timeout#0:t_xdisplay:\
	:chkent:

When I do the edit mentioned above, it does take it

\:0|\:0.0:\
        :t_devname=\:0:t_uid=liujian:t_logtime#923404808:t_unsucuid=timm:\
        :t_unsuctime#923851367:t_failures#0:t_login_timeout#0:t_xdisplay:\
      :chkent:

But as soon as another login is attempted, the message again appears, 
"Terminal is disabled, see account administrator"

And the record reverts back to the way it was:

\:0|\:0.0:\
        :t_devname=\:0:t_uid=liujian:t_logtime#923404808:t_unsucuid=root:\
        :t_unsuctime#923852263:t_failures#93:t_login_timeout#0:t_xdisplay:\
        :chkent:

Any clues what is going on here?

Steve Timm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-04-11 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-08 20:09 Partial summary: C2 security TIMM
  -- strict thread matches above, loose matches on Subject: below --
1999-04-11 17:37 Partial Summary: " TIMM

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox