From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,86ddd3813f050241 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-12-09 10:07:05 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!cpc3-rdng3-3-0-cust172.winn.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: Security C2 : u_minchg and root privilege Date: Tue, 9 Dec 2003 18:07:02 -0000 Message-ID: References: <4ed260d6.0312090703.557f80bd@posting.google.com> NNTP-Posting-Host: cpc3-rdng3-3-0-cust172.winn.cable.ntl.com (80.5.159.172) X-Trace: news.uni-berlin.de 1070993223 76342056 80.5.159.172 ([138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-NFilter: 1.2.1-b1 Xref: archiver1.google.com comp.unix.tru64:11006 In news:4ed260d6.0312090703.557f80bd@posting.google.com, Bruno Agneray typed: > Hello, > > A customer using C2 security, set the u_minchg to 7 days (minimum > change time interval before a user can change is password again) > in /etc/auth/system/default. > > Regularly, users change their password, and regularly, few days > after (less than u_minchg ;-)) they have forgotten it. > > So they call the administrator to 'reset' a new password. > > Unfortunatly, when the administrator force change of the users > password, it's failed because of the u_minchg. > > Is it normal ? > > Is there a way to authorize root to change the users password > ignoring u_minchg ? > > Thanks, > > Bruno Root can run edauth, so all restrictions are bypassable. If the users are really forgetting the password often enough for it to be a problem then write yourself a little script which resets the u_succhg setting to 'today - 7 days' and then runs passwd. If you want to script the entire thing then perl knows about time_t values, as does gnu awk and gnu date. HTH Adam