PDA

View Full Version : kern.version string in -stable?


spiderpig
06-04-2008, 01:46 PM
Hey, guys!

I've just compiled a kernel for -stable, and the string returned from "sysctl kern.version" displays "root@hostname" instead of "spiderpig@hostname". Section 5 from the FAQ shows that the kernel should be compiled as root instead of a user account, but the -release kernel showed something like "deraadt@openbsd.org". I'm just curious as to how the developers did this. Can kernels be compiled from a user account?

Thanks!

jggimi
06-04-2008, 02:21 PM
Kernels may certainly be compiled from a user account, as long as the src/sys/arch/<arch>/compile hierarchy is configured to allow write access to that user.

Userland builds require root access