Philip Guenther wrote:
On Sun, Mar 7, 2010 at 3:42 PM, Ron McDowell <r...@fuzzwad.org> wrote:
...
mtree -def /usr/src/distrib/i386/ramdisk_cd/../../miniroot/mtree.conf -p /mnt/ 
-u
.:      gid (0, 1000, modified)

It appears that you changed root's primary/default gid from 0 to 1000.
 Don't do that.


Philip Guenther

Good catch, Philip. That indeed was/is the problem, but it wasn't intentional.

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)
# logout
~
[...@zombie(OpenBSD)]> sudo bash
Password:

OpenBSD (i386) system.
Mon Mar  8 06:05:39 CST 2010

6:05AM  up 13:39, 1 user, load averages: 0.65, 1.30, 2.18
USER    TTY FROM              LOGIN@  IDLE WHAT
rcm      p0 juju-eth         Sun04PM     0 w

/usr/home/rcm
[r...@zombie(OpenBSD)]> id
uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 20(staff), 31(guest)

--
Ron McDowell
San Antonio TX

Reply via email to