--
Hal B
[EMAIL PROTECTED]
--
Linux helps those who help themselves
On Sat, Jul 17, 1999 at 08:36:46AM -0500, Clifford Kite wrote:
> On Sat, 17 Jul 1999, Evert Verhellen wrote:
>
> [edited]
>
> |After the "chmod 4755 /usr/sbin/pppd" command the file permissions for
> |pppd now look like this:
> |
> |-rwsr-xr-x 1 root root 120020 Apr 10 05:33 pppd
>
> These are the correct permissions.
>
> |With these permissions changed I can launch /etc/ppp/ppp-on from my own
> |account (evert) but the connection still doesn't work in this situation.
> |This is wat /var/log/messages says:
> |
> |Jul 17 13:40:17 localhost pppd[919]: pppd 2.3.7 started by evert, uid
> |500
> |Jul 17 13:40:17 localhost pppd[919]: Failed to open /dev/ttyS1:
> |Permission denied
> |Jul 17 13:40:17 localhost pppd[919]: Exit.
> |
> |The permissions for the ttyS* device files are the following:
> |
> |crw------- 1 root tty 4, 64 Jul 17 11:45 /dev/ttyS0
> |crw------- 1 root tty 4, 65 Jul 17 13:26 /dev/ttyS1
> |crw------- 1 root tty 4, 66 May 5 1998 /dev/ttyS2
> |crw------- 1 root tty 4, 67 May 5 1998 /dev/ttyS3
> |
> |I don't know whether is wise to change anything here. Maybe this
> |additional information is of interest:
>
> Sorry, I forgot about the device file permissions. I don't have a problem
> with changing permissions, if someone else does then he's welcome to speak
> up and say exactly why. The command chmod 666 /dev/ttyS1 should do
> the trick. The permissions then will be
>
> crw-rw-rw- 1 root tty 4, 65 Jul 17 13:26 /dev/ttyS1
>
> The permissions are changed to crw-r--r-- during the connection and
> back again when pppd is done.
>
I forgot which distro Evert is using, but if it is RH, then might have
to configure PAM (/etc/security/console.perms) or else this gets
dynamically changed everytime you log in/out. There is a man page:
console.perms. This may apply to other distros as well.
PAM can be setup where $USER is owner of devices.
--
Hal B
[EMAIL PROTECTED]
--
Linux helps those who help themselves