Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: d_gerst on January 19, 2006, 07:21:20 AM

Title: Join a SME-created useraccount to a new group?
Post by: d_gerst on January 19, 2006, 07:21:20 AM
Hello,

I have a mail2fax gateway running with hylafax (I wrote bash script myself).

Background: I modified qmail to run a script if a new Mail was delivered. The mail will be checked for fax. If check is pass the mail wll be send as fax to destination.

Now the problem:

I assigned the SME-User in /etc/groups to the hylafax-group uucp. But if I want to access (read) file which owned by uucp:uucp, my fileaccess will be denied.

If I use su -s /bin/bash - SMEAccount the script will work fine. I have looked also in /etc/passwd an there is an entry for this user /bin/sshell (uucp have /sbin/nologin). Changes would have no effects. If i use only su - SMEAccount, access will be denied.

Is there something more todo on a SME 6.5 system to get grouppermissions for a SME-User?

Best regards,
Daniel