On Mon, Mar 8, 2010 at 10:12 AM, Ron McDowell <r...@fuzzwad.org> wrote: ... > su is not setting the group for me. sudo does, so I rebuilt using sudo and > everything worked fine. > > ~ > [...@zombie(OpenBSD)]> id > uid=1000(rcm) gid=1000(rcm) groups=1000(rcm), 0(wheel), 5(operator), > 12345(apache) > ~ > [...@zombie(OpenBSD)]> su > # id > uid=0(root) gid=1000(rcm) groups=1000(rcm), 0(wheel), 5(operator), > 12345(apache)
Hmm, I don't see that behavior: $ id uid=1000(guenther) gid=1000(guenther) groups=1000(guenther), 0(wheel), 9(wsrc), 10000(work) $ /usr/bin/su Password: # id uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest) # You're using the normal OpenBSD /usr/bin/su, right? Philip Guenther