Re: Why cu i suid && sgid

2000-10-14 Thread Bill Fumerola
On Sat, Oct 14, 2000 at 07:13:42PM +0200, Tomasz Paszkowski wrote: > > Change /dev/MAKEDEV.local so that it modifies the permissions like you want > > them to be. BTW, make world does not change the devices in /dev in any way, if > > you don't run /dev/MAKEDEV. > > But cd /sys/etc ; make distri

Re: Why cu i suid && sgid

2000-10-14 Thread Tomasz Paszkowski
On Sat, Oct 14, 2000 at 07:09:15PM +0200, Blaz Zupan wrote: > > Change /dev/MAKEDEV.local so that it modifies the permissions like you want > them to be. BTW, make world does not change the devices in /dev in any way, if > you don't run /dev/MAKEDEV. But cd /sys/etc ; make distribution do.

Re: Why cu i suid && sgid

2000-10-14 Thread Blaz Zupan
> I presume cisco can be password protected, but what with dialup modems > connected to the server ? Now, evrytime after 'make world' I have to > remember changing permisions to /dev/[cuaa*,ttyd*] devices or cu. Change /dev/MAKEDEV.local so that it modifies the permissions like you want them t

Re: Why cu i suid && sgid

2000-10-14 Thread Tomasz Paszkowski
On Sat, Oct 14, 2000 at 06:38:03PM +0200, Nora Etukudo wrote: > > Well, the 'cu' command is like many others in your unix -- if not to > say most others -- a program of general purpose and intended for the use > of several users. In your special case, you may restrict the use of 'cu' > but this i

Re: Why cu i suid && sgid

2000-10-14 Thread Nora Etukudo
On Sat, Oct 14, 2000 at 06:28:29PM +0200, Tomasz Paszkowski wrote: > But think about the situation when you have cisco console connected > to the serial port. Everyone can operate on it. Well, the 'cu' command is like many others in your unix -- if not to say most others -- a program of genera

Re: Why cu i suid && sgid

2000-10-14 Thread Tomasz Paszkowski
On Sat, Oct 14, 2000 at 06:23:43PM +0200, Nora Etukudo wrote: > > Then all users but 'uucp' can't operate with 'cu' on the device owned by > 'uucp'. The s-bit in the owner rights indicates that the 'cu' always > operate as user 'uucp' regardless of which user it has started and > therfore has the

Re: Why cu i suid && sgid

2000-10-14 Thread Nora Etukudo
On Sat, Oct 14, 2000 at 12:44:28PM +0200, Tomasz Paszkowski wrote: > $ ls -l /dev/cuaa0 > crw-rw 1 uucp dialer 28, 128 14 Paz 01:09 /dev/cuaa0 > $ ls -l /usr/bin/cu > -r-sr-sr-x 1 uucp dialer 123456 7 Paz 19:45 /usr/bin/cu > > So when I plug in to machine cisco console, everyone can