From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Faulconer, Steven M." Newsgroups: gmane.os.tru64.managers Subject: Usermod Question Date: Tue, 02 Dec 2003 15:06:47 -0800 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <207DA77D2384D411A48B0008C7095D81C1D8BC@us-melbourne.mail.saic.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1070406515 8653 80.91.224.253 (2 Dec 2003 23:08:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2003 23:08:35 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Dec 03 00:08:32 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ARJd9-0007mf-00 for ; Wed, 03 Dec 2003 00:08:32 +0100 Original-Received: (qmail 18335 invoked by uid 5); 2 Dec 2003 23:08:20 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 18320 invoked by uid 49493); 2 Dec 2003 23:08:20 -0000 Original-Received: from STEVEN.M.FAULCONER@saic.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 0.651034 secs); 02 Dec 2003 23:08:20 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 2 Dec 2003 23:08:19 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HPA0036UIXU7T@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 02 Dec 2003 18:08:18 -0500 (EST) Original-Received: from cpmx.saic.com (cpmx.mail.saic.com [139.121.17.160]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HPA00DA9IX7TD@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 02 Dec 2003 18:07:56 -0500 (EST) Original-Received: from cp-its-ieg01.mail.saic.com by cpmx.saic.com for tru64-unix-managers@ornl.gov; Tue, 02 Dec 2003 15:07:40 -0800 Original-Received: from cpmx.saic.com ([139.121.17.160]) by cp-its-ieg01.mail.saic.com (SAVSMTP 3.1.2.35) with SMTP id M2003120215073928811 for ; Tue, 02 Dec 2003 15:07:39 -0800 Original-Received: from cp-its-exbh01.mail.saic.com by cpmx.saic.com with ESMTP for tru64-unix-managers@ornl.gov; Tue, 02 Dec 2003 15:07:39 -0800 Original-Received: by cp-its-exbh01.mail.saic.com with Internet Mail Service (5.5.2657.72) id ; Tue, 02 Dec 2003 15:07:39 -0800 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2657.72) Xref: main.gmane.org gmane.os.tru64.managers:5953 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5953 Hello Everyone, I'm new to both the list and Tru64 Unix. I was given an Compaq AlphaServer ES40LP running Tru64 5.1 to maintain. Not knowing anything about Tru64 Unix, my background is mostly Solaris with a dash of HP/UX and AIX, this was a daunting task. My question is in regards to setting up user accounts and the basic requirements of the accounts. Basically I need accounts to be setup as following: Passwords must be minimum of 8 characters Passwords expire in 365 days Accounts lock themselves after 5 failed login attempts in 5 minutes Passwords must pass complexity check (somewhat optional, but would be nice) Now, I've looked through the various guides, documents and man pages, and it seems like I've figured out what I want to do, but it doesn't work. I've got the Enhanced Security package installed: setld -i | grep "C2" returns: OSFC2SEC520 installed Enhanced Security (System Administration) OSFXC2SEC520 installed Enhanced Security GUI (System Administration) It seems to me that I should be able to use usermod to make changes to the default password configurations, using the extended attributes to do this, but running the command: usermod -D -x passwd_lifetime=365 gives me the error message: usermod: Invalid command line option - passwd-lifetime=365 Obviously, I'm missing something somewhere. I've checked to ensure I'm using the right extended options, and I've tried other extended options to the same effect. I'm able to use usermod to make default changes to the non-extended options though. Anyone have any thoughts? Summary to follow if anyone sends me anything. Thanks. Steven Faulconer