From: fmw@droog.sdf-eu.org (Florian M. Weps)
Subject: Re: Locking a user account like dxaccount does, but then programmatically
Date: 04 Sep 2003 08:29:56 +0000 [thread overview]
Message-ID: <slzvfs9ot17.fsf@droog.sdf-eu.org> (raw)
In-Reply-To: 3f55f313$0$49106$e4fe514c@news.xs4all.nl
"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
prev parent reply other threads:[~2003-09-04 8:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox