Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 18:23:43 +0200
From:      Nora Etukudo <nora@sappho-net.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: Why cu i suid && sgid
Message-ID:  <20001014182342.A24430@mail.nxe.de>
In-Reply-To: <20001014124428.A7367@genesis.k.pl>; from ns88@genesis.k.pl on Sat, Oct 14, 2000 at 12:44:28PM %2B0200
References:  <20001014124428.A7367@genesis.k.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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 operate on it.
> 
>  I think that 755 will be enough for cu.

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 permisson for this device. May be we can talk about the
reason for s-bit in the group rights.

Liebe Grüße, Nora.
-- 
nora@sappho-net.de                            http://www.sappho-net.de/
     Lesbian Computer Networks, Finland       http://www.sappho.net/
     Web for Women (von Frauen, für Frauen)   http://www.w4w.net/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001014182342.A24430>