From: <Mat...@ns...> - 2006-05-17 20:12:55
|
Milan Babuskov wrote: >> And 99.9% of the users don't >> even know what a semaphore is. > > > They don't need to. Admins do. Exactly, which is why I'm not concerned with someone trying to hack semaphores. > Let's solve this: you say that currently any user can work (perm.666). > So, if you were to add each user to firebird group, you will have same > functionality. > > Therefore, solution to your problem it's quite simple: just add all > users to firebird group. Just run something like this: > > awk -F: '{print "usermod -G firebird " $1;}' < /etc/passwd Kind of defeats the purpose, doesn't it. Much simplier is to just: chmod 666 /opt/firebird/security2.fdb (plus chmod for the binaries and a few other files). Matt |