3 Jun 04:43
Re: Plesk 8.1.1 + Owl :)
From: Solar Designer <solar <at> openwall.com>
Subject: Re: Plesk 8.1.1 + Owl :)
Newsgroups: gmane.linux.openwall.user
Date: 2007-06-03 02:43:12 GMT
Subject: Re: Plesk 8.1.1 + Owl :)
Newsgroups: gmane.linux.openwall.user
Date: 2007-06-03 02:43:12 GMT
Galaxy, Thank you for spending the time to write down and post those notes, and for bringing life back to this quiet mailing list. I haven't reviewed this yet (and I might not do it ever), but here's one thing I've noticed: On Sat, Jun 02, 2007 at 10:43:42PM +0400, (GalaxyMaster) wrote: > 4. RHEL don't mind you having long account names but Owl restricts them > to 8 characters. Unfortunately, the RH webalizer package uses a long > name so we need to mimic it here: > > # useradd -s /sbin/nologin -d /var/www/usage webalize > # for f in /etc/passwd /etc/groups /etc/tcb/webalize/shadow ; do > sed -i 's,^webalize:,webalizer:,g' $f > done > # mv /etc/tcb/webalize /etc/tcb/webalizer > > NB: pwck will bark on 'webalizer' but we will fix this later. This is a really weird workaround. There exists a simple solution - edit the USERNAME_MAX setting in /etc/login.defs. By default it's 8, but it can be increased to 9 for the "useradd" command to add "webalizer". Then it can be changed back to 8, to enforce our default length restriction on further users to be created. -- Alexander Peslyak <solar at openwall.com> GPG key ID: 5B341F15 fp: B3FB 63F4 D7A3 BCCC 6F6E FC55 A2FC 027C 5B34 1F15 http://www.openwall.com - bringing security into open computing environments -- -- To unsubscribe, e-mail owl-users-unsubscribe <at> lists.openwall.com and reply to the automated confirmation request that will be sent to you.
RSS Feed