Aleksey,

> I have I question/problem with msec on my 8.2 system: it keeps changing
> permissions on directory /home/PgDB. /var/log/auth.log has:
> ...
> Aug 13
> 15:01:00 ples msec: changed mode of /home/PgDB from 700 to 755
> ...
>
> Trouble is, this is my data directory for PostgreSQL database, so it has
> to have permission 700, i.e.:
> drwx------    6 postgres postgres     4096 Aug 13 14:56 PgDB/
>
> otherwise, the Postgres server is not accepting connections correctly.
>
> I looked at msec but wasn't able to figure out what to change. My security
> level is 2 (just a personal computer, default 8.2 security). Looked at
> /var/lib/msec/security.conf, but what do I change? It is not clear from
> reading man msec or mseclib.
>
> Would appreciate any hints on how to deal with this.

Check out the how-to on Mandrake Secure Site at
    http://www.mandrakesecure.net

read the man pages
    man msec
    man mseclib

and create the necessary info in
    /etc/security/msec/level.local
    /etc/security/msec/perm.local

then run 'msec'

> P.S. Below is my /var/lib/msec/security.conf
>
> CHECK_UNOWNED=no
> CHECK_SHADOW=no
> CHECK_SUID_MD5=yes
> CHECK_SECURITY=yes
> CHECK_PASSWD=no
> SYSLOG_WARN=yes
> CHECK_SUID_ROOT=yes
> CHECK_PERMS=no
> CHKROOTKIT_CHECK=no
> CHECK_PROMISC=no
> RPM_CHECK=no
> TTY_WARN=no
> CHECK_WRITEABLE=yes
> MAIL_WARN=no
> CHECK_OPEN_PORT=no
> CHECK_SUID_GROUP=yes

Thanks... Dan.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to