From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,89e3ba1db203e07 X-Google-Attributes: gidfee84,public From: Torsten Hehl Subject: Re: Unlocking a user account Date: 1997/06/06 Message-ID: <33986385.41C6@pit.physik.uni-tuebingen.de>#1/1 X-Deja-AN: 246609402 References: <339826BB.6FA2@dsuper.net> To: delphig@dsuper.net Organization: Physikalisches Institut Tuebingen Newsgroups: comp.unix.osf.osf1 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.