From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,59bdab6a784d93bb X-Google-Attributes: gidfee84,public From: Nikola Milutinovic Subject: Re: Passwd on Digital Unix 4.0E Date: 2000/01/12 Message-ID: <387C4463.44C2F5F8@ev.co.yu>#1/1 X-Deja-AN: 571558582 Content-Transfer-Encoding: 7bit References: <387B816F.8A65D030@netisi.com> <387B94E4.26A1@pstcc.cc.tn.us.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: EPS Elektrovojvodina Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Ed Wensell III wrote: > > Brad Van Orden wrote: > > > > Hello All, > > > > I have two questions relating to the passwd file on Digital Unix 4.0E. I have > > two alpha workstations with this OS. One is configured with enhanced security > > and I can add a user OK with the command line adduser, but the system disables > > the account until I go in with the GUI tool and enable it. This is a little > > bit of a pain since the box is about 20 miles away. Does anyone know of a > > method to enable an account with a command line? > > I haven't tried it, but I've been told to use edauth... From looking at > the man page, it's fairly cryptic. The reason why newly created accounts are locked is because account deafults say so. Either manually edit the file /etc/auth/system/defaults and change ":u_lock:" to ":@u_lock:" or do it in Account Manager -> local templates -> Default template. While you are there, you can change expiration and lifetime for accounts, if you wish. > Personally, I really wish there were some good command-line enhanced > security account tools. Either that or make the regular adduser, passwd, > etc fully enhanced security aware... But if wishes were horses... (sigh) > If I wanted to be stuck to a GUI account manager, I'd run NT... :) :-) > If a dxaccounts process exits ungracefully (e.g. if a > kill -9 is used) then it sometimes leaves a file in > /etc called .AM_is_running. Deleting this file will > solve the problem. > [Ian Lloyd] > > My understanding is this is something (finally) fixed in Tru64 (5.0??). If an instance is running it has this file to lockout all other commands dealing with users. Maybe if it wrote the PID of the lock owner, other commands could check to see if that process is one of "their kind"... Nix. -- The angle of the dangle is proportional to the heat of the meat.