[Systems] Fwd: [Systems-logs] Cron <root at sunjammer> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )

Samuel Cantero scanterog at gmail.com
Sun Jan 31 16:23:05 EST 2016


I checked the script and it is fine. The problem arise when the user is not
present in the LDAP database. Therefore, the account doesn't have shadowMax
field as the script complaint. For instance, the user "german" only exists
in the /etc/passwd file.

On Sun, Jan 31, 2016 at 3:54 PM, Bernie Innocenti <bernie at codewiz.org>
wrote:

> On 01/31/2016 10:42 AM, Samuel Cantero wrote:
> > ¿Should be deactivate those users?
>
> Yes, let's deactivate them please. Ancient accounts constitute a (small,
> but non-zero) security risk. That's why we expire passwords every 6
> months. There's a script to do that quickly:
>
>   system-userdel <user>
>
> It preserves the home in /home/_disabled/<user>.disabled
>
> Also, there must be a bug in my cronjob: it doesn't print the username
> for the immortal users.
>
>
> > ---------- Forwarded message ----------
> > From: Cron Daemon <root at sugarlabs.org>
> > Date: Sun, Jan 31, 2016 at 3:47 AM
> > Subject: [Systems-logs] Cron <root at sunjammer> test -x /usr/sbin/anacron
> ||
> > ( cd / && run-parts --report /etc/cron.weekly )
> > To: root at sugarlabs.org
> >
> >
> > /etc/cron.weekly/check_pwd_expire:
> > Note: user adborden password has expired since 1440 days
> > Note: user aguz password has expired since 489 days
> > Note: user aklis password has expired since 824 days
> > Note: user aneesh password has expired since 584 days
> > Note: user bernie2 password has expired since 1377 days
> > Note: user caspar password has expired since 1137 days
> > Note: user danishka password has expired since 1221 days
> > Note: user djbclark password has expired since 1573 days
> > Note: user dnarvaez password has expired since 576 days
> > Note: user dpic password has expired since 1438 days
> > Note: user fdanesse password has expired since 670 days
> > Note: user gboudrias password has expired since 1334 days
> > Warning: user  has no shadowMax field in LDAP database
> > Note: user iraguet password has expired since 411 days
> > Warning: user  has no shadowMax field in LDAP database
> > Note: user manuq password has expired since 527 days
> > Note: user nitika password has expired since 960 days
> > Warning: user  has no shadowMax field in LDAP database
> > Note: user sridhar password has expired since 730 days
> > Note: user valerie password has expired since 1325 days
> > Note: user vueltaciclista password has expired since 1573 days
> > _______________________________________________
> > Systems-logs mailing list
> > Systems-logs at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/systems-logs
> >
> >
> >
> > _______________________________________________
> > Systems mailing list
> > Systems at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/systems
> >
>
>
> --
>  _ // Bernie Innocenti
>  \X/  http://codewiz.org
> _______________________________________________
> Systems mailing list
> Systems at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/systems/attachments/20160131/ff10a710/attachment.html>


More information about the Systems mailing list