On Sunday 30 May 2004 02.22, C Hamel wrote:
Is there a wy to put this in the permissions.local file? I had entered it in there, but it seemed to make no difference
Just putting it in that file doesn't do anything by itself. If you want it to take effect you need to run "SuSEconfig --module permissions", and/or run the chmod command manually
...unless I specified the user.group incorrectly, or something. I had: /usr/local/ck_internet root.dialout 755 ...I then tried 6754
First of all, the suid and sgid bits aren't used at all for shell scripts, so if you want to run this script you will either need to run it as root, or have the binaries it runs (cinternet) have the proper permissions. It is a client/server thing, that calls the smpppd server, so I don't think you need it to be root/dialout at all. Secondly, if it had been a binary, and you had needed the suid, the permissions are a little inconsistent. the '6' at the start means 'suid + sgid', but the '4' at the end doesn't give you permission to execute the program unless you are already either root or in the dialout group, so 4750 is probably what you're looking for. I believe that is the default for pppd, to allow dialout only to those in the group 'dialout' 6755, if you absolutely must be in the group as well, and want to allow execute access to people who aren't. But like I said, for shell scripts suid and sgid aren't used at all, so the above is a little academic :)