Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Locking a user account like dxaccount does, but then programmatically
@ 2003-09-03 13:56 Manfred Suttorp
  2003-09-03 16:32 ` Adam Price
  2003-09-04  8:29 ` Florian M. Weps
  0 siblings, 2 replies; 3+ messages in thread
From: Manfred Suttorp @ 2003-09-03 13:56 UTC (permalink / raw)


In Tru64 5.1B, I need to lock an account in the same way that dxaccount
does; i.e. insert the NoLogin text fragment in front of the password.
However, whilst perfectly possible I do not really want to do this in C or
some other home brewn code. Can dxaccount be used in command line mode to
lock the account in the way described above or is there an alternative?
TIA
Regards,
Manfred




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

* Re: Locking a user account like dxaccount does, but then programmatically
  2003-09-03 13:56 Locking a user account like dxaccount does, but then programmatically Manfred Suttorp
@ 2003-09-03 16:32 ` Adam Price
  2003-09-04  8:29 ` Florian M. Weps
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Price @ 2003-09-03 16:32 UTC (permalink / raw)


In news:3f55f313$0$49106$e4fe514c@news.xs4all.nl,
Manfred Suttorp <no.way@spam> typed:
> In Tru64 5.1B, I need to lock an account in the same way that
> dxaccount does; i.e. insert the NoLogin text fragment in front of
> the password. However, whilst perfectly possible I do not really
> want to do this in C or some other home brewn code. Can dxaccount
> be used in command line mode to lock the account in the way
> described above or is there an alternative? TIA
> Regards,
> Manfred

man usermod.




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

* Re: Locking a user account like dxaccount does, but then programmatically
  2003-09-03 13:56 Locking a user account like dxaccount does, but then programmatically Manfred Suttorp
  2003-09-03 16:32 ` Adam Price
@ 2003-09-04  8:29 ` Florian M. Weps
  1 sibling, 0 replies; 3+ messages in thread
From: Florian M. Weps @ 2003-09-04  8:29 UTC (permalink / raw)


"Manfred Suttorp" <no.way@spam> writes:

> In Tru64 5.1B, I need to lock an account in the same way that dxaccount
> does; i.e. insert the NoLogin text fragment in front of the password.
> However, whilst perfectly possible I do not really want to do this in C or
> some other home brewn code. Can dxaccount be used in command line mode to
> lock the account in the way described above or is there an alternative?
> TIA

usermod -x administrative_lock_applied=1 <login name>

Cheers,
Florian

-- 
fmw@sdf-eu.org
SDF-EU Public Access UNIX System - http://sdf-eu.org


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

end of thread, other threads:[~2003-09-04  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-03 13:56 Locking a user account like dxaccount does, but then programmatically Manfred Suttorp
2003-09-03 16:32 ` Adam Price
2003-09-04  8:29 ` Florian M. Weps

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