Bingo! The plain, ordinary users in /var/db/passwd.db have a shell of
/bin/true (and a meaningless encrypted passwd), because noone needs to
log in.
Thanks.
Professional Software Engineering wrote:
At 10:22 2003-10-22 +0100, Ian Prideaux wrote:
Sift_SpamFound: line removed, and then have chown/chmod alter the
file's permissions. However, this only works with users which are
defined in /etc/passwd,
... which defines a *SHELL*, something I'm betting that the NON-USERS
don't have.
If you're doing this from an /etc/procmailrc, it's a good idea to do this:
# in global procmailrc, define a shell WE USE HERE, esp so that users
without
# shells don't have problems
ORGSHELL=$SHELL
SHELL=/usr/bin/sh
(do whatever)
# Put things back for ~/.procmailrc
SHELL=$ORGSHELL
ORGSHELL
--
Ian Prideaux
System Administrator
mailto:ian(_at_)sift(_dot_)co(_dot_)uk
http://www.sift.co.uk/
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail