Operating System - HP-UX
1830335 Members
1933 Online
110001 Solutions
New Discussion

deactivating a userid generates an error.

 
KathyK
Regular Advisor

deactivating a userid generates an error.

I have a user on my L1000 (HPUX 11.23) with the following userID:

VSOURINTHONE

when I try to lock it via commad line or deactivate is via sam I get this error:

Invalid login name.


Any idea how to disable this account?

your input is greatly appreciated.

Kathy


4 REPLIES 4
George Spencer_4
Frequent Advisor

Re: deactivating a userid generates an error.

Use vipw or vi /etc/passwd and replace the password field witha an asterisk. I suspect the user login is too long.
KathyK
Regular Advisor

Re: deactivating a userid generates an error.

Thanks George, we have the shadow file enabled on our system, would that still be OK?
KathyK
Regular Advisor

Re: deactivating a userid generates an error.

Thanks George, that gave me the idea to vi /etc/shadow and put a * in the password field. and it worked.

I'll close the is thread.
KathyK
Regular Advisor

Re: deactivating a userid generates an error.

closed