From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,38fe7b9c7845ea8e X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-09-04 01:29:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!ihug.co.nz!news-out.newsfeeds.com!propagator2-maxim!news-in.superfeed.net!egsner!news.cirr.com!not-for-mail From: fmw@droog.sdf-eu.org (Florian M. Weps) Newsgroups: comp.unix.tru64 Subject: Re: Locking a user account like dxaccount does, but then programmatically Date: 04 Sep 2003 08:29:56 +0000 Organization: Central Iowa (Model) Railroad, Plano, TX, USA Message-ID: References: <3f55f313$0$49106$e4fe514c@news.xs4all.nl> NNTP-Posting-Host: sdf-eu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: chessie.cirr.com 1062664197 13218 192.94.73.35 (4 Sep 2003 08:29:57 GMT) X-Complaints-To: abuse@cirr.com NNTP-Posting-Date: Thu, 4 Sep 2003 08:29:57 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.unix.tru64:10779 "Manfred Suttorp" 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 Cheers, Florian -- fmw@sdf-eu.org SDF-EU Public Access UNIX System - http://sdf-eu.org