Subject: Re: su behavior on 1.4.2
To: None <port-pmax@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-pmax
Date: 04/20/2000 21:42:33
In article <Pine.NEB.4.21.0004201317280.17946-100000@marzipan.nougat.org>,
Secret Asian Man <cchen@nougat.org> wrote:
> user is in the group wheel, su runs but says "sorry". a ktrace shows a few
> anomalies:
> 
>    284 su       CALL  getpriority(0,0)
>    284 su       RET   getpriority 0
>    284 su       CALL  setpriority(0,0,0xfffffffe)
>    284 su       RET   setpriority -1 errno 13 Permission denied
> ...
>    284 su       CALL  ioctl(0x5,TIOCGETA,0x7ffff188)
>    284 su       RET   ioctl -1 errno 25 Inappropriate ioctl for device
>    284 su       CALL  __fstat13(0x5,0x7ffff0c8)
>    284 su       RET   __fstat13 0
> ...
>    284 su       CALL  ioctl(0x5,TIOCGETA,0x7ffff158)
>    284 su       RET   ioctl -1 errno 25 Inappropriate ioctl for device
>    284 su       CALL  close(0x5)
>    284 su       RET   close 0
> 

Is su setuid root?

christos