From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shaun.Racine@intier.com Newsgroups: gmane.os.tru64.managers Subject: SUMMARY:[2] Enhanced security - minimum password length Date: Thu, 14 Apr 2005 11:18:43 +0100 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113473799 6006 80.91.229.2 (14 Apr 2005 10:16:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2005 10:16:39 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Apr 14 12:16:38 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DM1Ob-0006CC-D2 for gotm-tru64-unix-managers@gmane.org; Thu, 14 Apr 2005 12:16:25 +0200 Original-Received: (qmail 9283 invoked by uid 5); 14 Apr 2005 10:19:43 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 9268 invoked by uid 49501); 14 Apr 2005 10:19:43 -0000 Original-Received: from Shaun.Racine@intier.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 0.533861 secs); 14 Apr 2005 10:19:43 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 14 Apr 2005 10:19:42 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IEX0002VM0TEV@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 14 Apr 2005 06:19:42 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0IEX00A02LZR8E@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 14 Apr 2005 06:19:11 -0400 (EDT) Original-Received: from smtp2.msi-it.com (smtp2.msi-it.com [213.150.229.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0IEX007BYLZFWI@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 14 Apr 2005 06:18:53 -0400 (EDT) Original-Received: from MSIFRAHUB02DS.magna-europa.com ([213.150.229.253]) by smtp2.msi-it.com (8.11.6/8.11.6) with ESMTP id j3EAacG04869 for ; Thu, 14 Apr 2005 12:36:38 +0200 Original-Received: from miskhill01ds ([172.28.44.3]) by msifrahub02ds (Lotus Domino Release 6.5.1) with ESMTP id 2005041412184452-984545 ; Thu, 14 Apr 2005 12:18:44 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 X-MIMETrack: Serialize by Router on MISKHILL01DS/SVR/MISKHill(Release 5.0.12 |February 13, 2003) at 14/04/2005 11:18:44, Itemize by SMTP Server on MSIFRAHUB02DS/SVR/MSI-HUB(Release 6.5.1|January 21, 2004) at 04/14/2005 12:18:44 PM, Serialize by Router on MSIFRAHUB02DS/SVR/MSI-HUB(Release 6.5.1|January 21, 2004) at 04/14/2005 12:18:50 PM, Serialize complete at 04/14/2005 12:18:50 PM X-Envelope-From: X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on email.cind.ornl.gov X-Spam-Level: Xref: news.gmane.org gmane.os.tru64.managers:8214 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8214 (2nd summary, correct line to read: edauth -dd default) Dear All, Many thanks to responders (all responses attached below); Robert C. Dege Spider Boardman Ann Majeske Jeffrey Hummel BL Venkatesh Answer; edauth -dd default But to make life easier, use vi instead of ed. So before above command; EDITOR=/usr/bin/vi;export EDITOR Some people suggested using dxaccounts, but I will need to do this on remote servers where I only have CLI. Other useful resources, read the man pages for prpasswd, default, edauth, userdel/mod/add. Some outstanding issues with enhanced security I may just live with; new user accounts are locked by default, user passwords can be single case (even with non-trivial) - where before with BASE they had to be mix of at least 2 sets {lowercase, uppercase, numbers, symbols}. Best regards, Shaun Racine Original message > Tru64 v5.1B pk4 > > After setting enhanced security (with shadow password) on > this test server, I noticed the minimum required password > length is 1 character. > > What is the recommended/correct method for changing the > minimum password length to 6 ? ( I cannot find the way to > set it with edauth ) > > Do I just manually edit the file /etc/auth/system/default ? Responses Robert C. Dege You can use dxaccounts to setup the security settings. If you want the settings to be global, be sure to modify the default template settings. Spider Boardman You change it with 'edauth -dd', and be sure to hit both u_minlen and u_minchosen. I don't know how you got u_minlen of 1, since that's not the default. It's shipped as 0, which means to calculate it dynamically based on other parameters. That default is generally pretty safe, but changing it to 6 is about what it would do normally. (The u_minchosen value was defaulted from the setting of u_minlen.) Ann Majeske To use edauth to edit the default file: #edauth -d d default You need to specify "default", since that's the entry you're editing, even though it's the only entry in the default file. You can also use the Account Manager to edit the default file, go to the "Local Template" view and click on "default". The prpasswd man page has descriptions for the user account based entries in the default file, the default man page has descriptions for the the system wide entries. Jeffrey Hummel I think it is safe to edit default if you are the only one who could be running the user authorization program. Change u_minlen#1 to u_minlen#6 if 6 is the minimum length you would like for a password. BL Venkatesh You could either do it manually or use 'dxaccounts' and modify the 'default' template.