From: Torsten Hehl <hehl@pit.physik.uni-tuebingen.de>
To: delphig@dsuper.net
Subject: Re: Unlocking a user account
Date: 1997/06/06 [thread overview]
Message-ID: <33986385.41C6@pit.physik.uni-tuebingen.de> (raw)
In-Reply-To: 339826BB.6FA2@dsuper.net
Anthony McGarr wrote:
>
> Version 4.0b.C2 enabled .. How do you unlock a user account from the
> command line.
> Due to a bug in the cde we cannot use dxaccounts.
>
It's pretty simple:
dxaccounts puts a 'Nologin' string in front of the encrypted password.
Therefore you can use vi/sed or whatever you like to remove these
strings. Here is an example:
user:NologindnEKsA/UL7ho.:7119:9115:Mr. User:/home/user:/bin/tcsh
sed -e 's/user:Nologin/user:/' passwd > passwd.unlocked
should do the job in this case.
Best wishes,
Torsten Hehl.
prev parent reply other threads:[~1997-06-06 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-06-06 4:00 Unlocking a user account Anthony McGarr
1997-06-06 4:00 ` Matt Cheek
1997-06-06 4:00 ` Torsten Hehl [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