Re: Hoping to donate/sell a Talos II motherboard
On Tue, Feb 28, 2023 at 7:46 PM wrote: > > My friend has a spare Talos II motherboard that is currently sitting in his > house > in Indiana USA collecting dust. > > https://www.raptorcs.com/TALOSII/ > > I have convinced him to donate/sell it to an open source project or developer. > > I reached out to Richard Stallman, and he agreed to take the board. I am > certain that the > FSF would put it to good use. My friend and I have not yet decided, to whom > we will give > the motherboard. Is it possible that I could give it to someone or project, > such that all > parties here would benefit? > > Is there any project or developer here that would be willing to take this > motherboard and create > virtual machines that other projects could have access to? > > Thoughts? I trimmed some of the non-relevant lists. The Talos workstations are PowerPC based. There are users on debian-powerpc who would put it to good use. https://lists.debian.org/debian-powerpc/ . And I am envious of your friend. I've got a Talos on my wishlist for a daily driver. Jeff
Install latest package without prompts on OpenBSD 7.0
Hi Everyone, I am working on OpenBSD 7.0, x86_64. I'm trying to script an install of developer tools I use, like GCC and Git. When I attempt to install GCC I am prompted: $ sudo pkg_add gcc g++ quirks-4.54 signed on 2022-01-09T19:08:35Z Ambiguous: choose package for gcc a0: 1: gcc-8.4.0p9 2: gcc-11.2.0p0 I've looked over the man page at https://man.openbsd.org/pkg_add, but I don't see an option to tell pkg_add to install the latest version of the package. How do I tell pkg_add to install the latest version without prompting me? Thanks in advance.
Re: How to test for FORTIFY_SOURCE?
On Wed, Mar 18, 2020 at 11:25 AM Andreas Kusalananda Kähäri wrote: > > On Wed, Mar 18, 2020 at 10:59:21AM -0400, Jeffrey Walton wrote: > > On Wed, Mar 18, 2020 at 4:26 AM Stuart Henderson > > wrote: > > > > > > On 2020-03-18, Jeffrey Walton wrote: > > > > According to > > > > https://man.openbsd.org/NetBSD-8.1/security.7#FORTIFY_SOURCE > > > > OpenBSD implements glibc bounds checking on certain functions. I am > > > > trying to detect FORTIFY_SOURCE without looking up operating system > > > > names and versions. > > > > > > That is a NetBSD manual page, it does not apply to OpenBSD. > > > > Thanks. > > > > I may be splitting hairs, but the pages title clearly says it is an > > OpenBSD man page. > > I have no real connection to the OpenBSD project other than being a long > time user, and I have an interest in documentation. > > It says, at the top of the page, it says "OpenBSD manual page server", > i.e. it's a manual page server hosted by the OpenBSD project. The > link that you mention contains the string "NetBSD-8.1" and the name > of the manual that you're looking at is "security — NetBSD security > features". Also, "NetBSD-8.1" is repeated in the page footer and the > string "NetBSD" occurs many times throughout the page while "OpenBSD" > really only occurs once. Hovering the mouse over the open tab says "security(7) - OpenBSD man pages". I double checked it when I saw the references to NetBSD. Regarding the references to NetBSD, I thought your sed went sideways. I assumed OpenBSD and NetBSD were collaborating and shared code and docs in some places. Figuring out why the sed was broken was not my task at hand. I was on the site to figure out why my test for FORTIFY_SOURCE was failing. The admins can figure that out why the document conversion is not working they notice it. Jeff
Re: How to test for FORTIFY_SOURCE?
On Wed, Mar 18, 2020 at 4:26 AM Stuart Henderson wrote: > > On 2020-03-18, Jeffrey Walton wrote: > > According to https://man.openbsd.org/NetBSD-8.1/security.7#FORTIFY_SOURCE > > OpenBSD implements glibc bounds checking on certain functions. I am > > trying to detect FORTIFY_SOURCE without looking up operating system > > names and versions. > > That is a NetBSD manual page, it does not apply to OpenBSD. Thanks. I may be splitting hairs, but the pages title clearly says it is an OpenBSD man page. What is the purpose of supplying man pages for the wrong operating system? It wastes people's time and breaks search. This search does not produce expected results: https://www.google.com/search?q=FORTIFY_SOURCE+site%3Aopenbsd.org. If you really want to confuse folks, maybe OpenSD can supply Windows man pages. Jeff
How to test for FORTIFY_SOURCE?
According to https://man.openbsd.org/NetBSD-8.1/security.7#FORTIFY_SOURCE OpenBSD implements glibc bounds checking on certain functions. I am trying to detect FORTIFY_SOURCE without looking up operating system names and versions. The following code works for Linux, but fails under OpenBSD (it is part of an autoconf test): #include int main(int argc, char** argv) { [char msg[16];] #[strcpy(msg, argv[0]);] #[return (int)(msg[0] & ~msg[1]);] [memcpy(msg, argv[0], strlen(argv[0]));] [return msg[0] != msg[strlen(argv[0])-1];] } I then compile it and scan for the fortified function call: if $CC -D_FORTIFY_SOURCE=2 $CPPFLAGS -O2 $CFLAGS fortify_test.c -o fortify_test.exe; then count=`readelf --relocs fortify_test.exe | grep -i -c '_chk'` if test "$count" -ne 0; then AC_MSG_RESULT([yes]); NSD_CPPFLAGS="$NSD_CPPFLAGS -D_FORTIFY_SOURCE=2" else AC_MSG_RESULT([no]) fi fi The problem is, OpenBSD is not using the fortified function even though the destination buffer size can be deduced: $ readelf --relocs fortify_test.exe | grep -i -c '_chk' 0 And: $ readelf --relocs fortify_test.exe Relocation section '.rela.dyn' at offset 0x488 contains 2 entries: Offset Info Type Sym. ValueSym. Name + Addend 2168 0008 R_X86_64_RELATIVE13e0 2160 00030006 R_X86_64_GLOB_DAT _Jv_RegisterClasses + 0 Relocation section '.rela.plt' at offset 0x4b8 contains 7 entries: Offset Info Type Sym. ValueSym. Name + Addend 2188 00010007 R_X86_64_JUMP_SLO _csu_finish + 0 2190 00020007 R_X86_64_JUMP_SLO exit + 0 2198 00030007 R_X86_64_JUMP_SLO _Jv_RegisterClasses + 0 21a0 00040007 R_X86_64_JUMP_SLO atexit + 0 21a8 00050007 R_X86_64_JUMP_SLO strlen + 0 21b0 00060007 R_X86_64_JUMP_SLO memcpy + 0 21b8 00070007 R_X86_64_JUMP_SLO __stack_smash_handler + 0 I expect to see memcpy_chk or strcpy_chk. Do I have a misunderstanding of OpenBSD's implementation? If someone could point out what is wrong I would greatly appreciate it.
Re: LibreSSL vs. OpenSSL enc command
On Wed, Dec 4, 2019 at 1:05 PM Dieter Rauschenberger wrote: > > i have encrypted several documents with > > openssl enc -aes-256-cbc -e < FOO > FOO.aes256 > > This was serveral years ago before Libressl was invented. Now I wanted > to decrypt the docs with: > > openssl enc -aes-256-cbc -d < FOO.aes256 > FOO > > This did not work. The password did not work anymore. I had to install > openssl-1.0.2t via packages. This works: > > eopenssl enc -aes-256-cbc -d < FOO.aes256 > FOO > > My password is accepted. The document appeared in plaintext. > Is there a trick to do this with libressl from base? OpenSSL changed the hash used in the key derivation function sometime around OpenSSL 1.0.2. Formerly is was MD5. I believe it was changed to SHA256. I believe the command line option to changed the derivation hash is -md. You might try adding -md md5 or -md sha1. Jeff
Re: How to achieve O_TTY_INIT when opening a USB modem?
On Sun, Nov 24, 2019 at 10:10 PM Philip Guenther wrote: > > On Sun, Nov 24, 2019 at 3:11 AM Jeffrey Walton wrote: >> >> I am struggling to get a USB modem and terminal configured properly >> under OpenBSD. The same code on Linux is fine. The symptom I am seeing >> is a hung read() after issuing ATZ\r to the modem. >> >> I'm guessing there's an uninitialized field in my struct termios tty. > > I'm not sure what you mean by that. Do you mean you're concerned that you're > you making a tcsetattr(3) call on an incompletely initialized structure? Or > do you mean you're concerned that the initial configuration of the tty > provided by the kernel is in a "not good" state? I think cfmakeraw is not initializing the structure properly. It is an intermittent failure. Attached is a reproducer. Valgrind lights up like a christmas tree on the reproducer. The results are so bad I am pretty sure the problem is with Valgrind, not the reproducer. Jeff #include #include #include #include #include #include #include #include #include #include #if defined(__linux__) # define MODEM "/dev/ttyACM0" #elif defined(__APPLE__) # define MODEM "/dev/cu.usbmodem001" #elif defined(__OpenBSD__) # define MODEM "/dev/cuaU0" #endif static void make_blocking(int fd) { const int old = fcntl(fd, F_GETFL, 0); fcntl(fd, F_SETFL, old & ~(int)O_NONBLOCK); } static void make_nonblocking(int fd) { const int old = fcntl(fd, F_GETFL, 0); fcntl(fd, F_SETFL, old | (int)O_NONBLOCK); } /* gcc -Wall -g3 -O1 -std=c99 test.c -o test.exe */ int main(int argc, char* argv[]) { int fd = open(MODEM, O_RDWR | O_NOCTTY | O_SYNC); if (fd == -1) { printf("open failed\n"); goto finish; } if (ioctl(fd, TIOCEXCL, NULL) == -1) { printf("ioctl failed\n"); goto finish; } struct termios tty; memset(&tty, 0, sizeof(tty)); cfmakeraw(&tty); tty.c_cflag |= (CLOCAL | CRTSCTS); // tty.c_cflag &= ~CSTOPB; /* 1 stop bit */ // tty.c_cflag |= CSTOPB; /* 2 stop bit */ cfsetospeed(&tty, B57600); cfsetispeed(&tty, B57600); if (tcsetattr(fd, TCSANOW, &tty) != 0) { printf("tcsetattr failed\n"); goto finish; } if (tcflush(fd, TCIOFLUSH) != 0) { printf("tcflush failed\n"); goto finish; } /*** Write ***/ ssize_t res = write(fd, "ATZ\r", 4); if (res == -1) { printf("write failed\n"); goto finish; } res = tcdrain(fd); if (res == -1) { printf("tcdrain failed\n"); goto finish; } printf("Wrote: ATZ\n"); /*** Read ***/ make_blocking(fd); for ( ; ; ) { unsigned char buf[512]; res = read(fd, buf, sizeof(buf)); if (res == -1 && errno == EWOULDBLOCK) { break; } else if (res == -1) { printf("read failed\n"); goto finish; } make_nonblocking(fd); buf[res] = '\0'; printf("Read: %s\n", buf); } finish: if (fd != -1) close(fd); return 0; }
Re: How to achieve O_TTY_INIT when opening a USB modem?
On Sun, Nov 24, 2019 at 11:01 PM Philip Guenther wrote: > > On Sun, Nov 24, 2019 at 7:53 PM Jeffrey Walton wrote: >> >> On Sun, Nov 24, 2019 at 10:10 PM Philip Guenther wrote: >> > >> > On Sun, Nov 24, 2019 at 3:11 AM Jeffrey Walton wrote: >> >> >> >> I am struggling to get a USB modem and terminal configured properly >> >> under OpenBSD. The same code on Linux is fine. The symptom I am seeing >> >> is a hung read() after issuing ATZ\r to the modem. >> >> >> >> I'm guessing there's an uninitialized field in my struct termios tty. >> > >> > I'm not sure what you mean by that. Do you mean you're concerned that >> > you're you making a tcsetattr(3) call on an incompletely initialized >> > structure? Or do you mean you're concerned that the initial configuration >> > of the tty provided by the kernel is in a "not good" state? >> >> I think cfmakeraw is not initializing the structure properly. It is an >> intermittent failure. > > This code is misusing cfmakeraw(3): it needs to call tcgetattr(3) on the tty > fd and only call cfmakeraw() on the termios structure that tcgetattr() has > filled in. Ack, thanks. > (There may be other problems; I only reviewed enough to see that it was > violating the rule I mentioned in my previous post. The _only_ portable way > to initialize a struct termios is to use tcgetattr()!) Ack, thanks. At the risk of sounding argumentative, the OpenBSD man page on cfmakeraw [0] does not detail the requirement of using cfmakeraw on a struct termios obtained from tcgetattr. In fact I specifically avoid it because Valgrind produced so many findings due to the unmapped ioctl's. The Linux man page does not detail the limitation either. But things "just work" on Linux and it was not a problem. I suggest adding text similar to the following to the man page (the first sentence is existing): The cfmakeraw() function sets the flags stored in the termios structure to a state disabling all input and output processing, giving a “raw I/O path”. cfmakeraw() must use a termios structure obtained from tcgetattr(). (remaining text from man page) Thanks for the help. Jeff [0] https://man.openbsd.org/tcsetattr.3
How to achieve O_TTY_INIT when opening a USB modem?
I am struggling to get a USB modem and terminal configured properly under OpenBSD. The same code on Linux is fine. The symptom I am seeing is a hung read() after issuing ATZ\r to the modem. I'm guessing there's an uninitialized field in my struct termios tty. The latest Posix provides O_TTY_INIT to ensure a terminal is in a good configuration, but OpenBSD does not recognize it. What is the equivalent under OpenBSD? How do I achieve O_TTY_INIT when using a struct termios tty? Thanks in advance.
Re: pkg_add hung?
On Sun, Sep 15, 2013 at 9:48 AM, Maxime wrote: > Le 15/09/2013 15:25, Jeffrey Walton a écrit : >> On Sun, Sep 15, 2013 at 8:28 AM, Roman Gorelov wrote: >>>> Jeffrey Walton writes: >>>>> Mt bad. That was the mirror. Here's the full PKG_PATH (from the >>>>> capture): ftp://mirror.jmu.edu/pub/OpenBSD/OpenBSD/5.3.packages/amd64/ >>>>> (with the trailing slash). >>>> >>> >>> Look carefully at yout $PKG_PATH. >>> Should be: ftp://mirror.jmu.edu/pub/OpenBSD/5.3/packages/amd64/ >>> Really is: ftp://mirror.jmu.edu/pub/OpenBSD/OpenBSD/5.3.packages/amd64/ >> Thanks Roman. It was a typo. The screen capture is correct. >> > > Don't use screen capture attached as they are removed from the > mailing-list. Thanks Maxime. I provided a link to the capture. It was not attached. > Are you able to do a "telnet mirror.jmu.edu 21" and get successfully > connected or not? > You could just copy/paste text of your terminal. The first few dependent packages were downloaded. It hung on the libiconv. > My guess is there is a firewall which is not allowing your OpenBSD > server to connect to the mirror (dropping packets). > It can be the local firewall itself or another one depending of your > network architecture. OK, thanks. So am I safe to ^C this process and try again? I don't want to corrupt the package database since I'll probably not be able to fix it. Did I do something wrong when attempting to follow the manual? The command woud have been: sudo -E pkg_add subversion Jeff
Re: pkg_add hung?
On Sun, Sep 15, 2013 at 8:28 AM, Roman Gorelov wrote: >> Jeffrey Walton writes: >> > Mt bad. That was the mirror. Here's the full PKG_PATH (from the >> > capture): ftp://mirror.jmu.edu/pub/OpenBSD/OpenBSD/5.3.packages/amd64/ >> > (with the trailing slash). >> > > Look carefully at yout $PKG_PATH. > Should be: ftp://mirror.jmu.edu/pub/OpenBSD/5.3/packages/amd64/ > Really is: ftp://mirror.jmu.edu/pub/OpenBSD/OpenBSD/5.3.packages/amd64/ Thanks Roman. It was a typo. The screen capture is correct.
Re: pkg_add hung?
On Sun, Sep 15, 2013 at 6:24 AM, Jeffrey Walton wrote: > On Sun, Sep 15, 2013 at 6:21 AM, Maxime wrote: >> Le 15/09/2013 12:08, Jeffrey Walton a écrit : >>> Before I spend my time and the list's time on this issue, I've read >>> 15.1 and 15.2 from http://www.openbsd.org/faq/faq15.html#PkgMgmt. >>> >>> The command show at http://postimg.org/image/ke2g1wlb9/55c1891b/ >>> attempted to install 'subversion'. Its been running for about 6 hours, >>> so believe something is wrong. Obviously, my speculation could be (and >>> likely is) wrong. >>> >>> I've searched for "pkg_add hung". If the BSD folks call a hung program >>> something else, please let me know so I can search for it. >>> >>> The docs state I will get an error. I have not received an error. What >>> is the relevant man page or manual to rtfm? What should I do next? >> >> Which PKG_PATH are you using? Are you able to connect to the mirror? > ftp://mirror.jmu.edu/pub/OpenBSD/ Mt bad. That was the mirror. Here's the full PKG_PATH (from the capture): ftp://mirror.jmu.edu/pub/OpenBSD/OpenBSD/5.3.packages/amd64/ (with the trailing slash).
Re: pkg_add hung?
On Sun, Sep 15, 2013 at 6:21 AM, Maxime wrote: > Le 15/09/2013 12:08, Jeffrey Walton a écrit : >> Before I spend my time and the list's time on this issue, I've read >> 15.1 and 15.2 from http://www.openbsd.org/faq/faq15.html#PkgMgmt. >> >> The command show at http://postimg.org/image/ke2g1wlb9/55c1891b/ >> attempted to install 'subversion'. Its been running for about 6 hours, >> so believe something is wrong. Obviously, my speculation could be (and >> likely is) wrong. >> >> I've searched for "pkg_add hung". If the BSD folks call a hung program >> something else, please let me know so I can search for it. >> >> The docs state I will get an error. I have not received an error. What >> is the relevant man page or manual to rtfm? What should I do next? > > Which PKG_PATH are you using? Are you able to connect to the mirror? ftp://mirror.jmu.edu/pub/OpenBSD/ > Did you allow output in pf.conf ? I have no idea what that is. > You could try something like this: > $ echo $PKG_PATH > ftp://ftp.fr.openbsd.org/pub/OpenBSD/5.3/packages/amd64/ Did that. Its in the screen capture to remove all ambiguity. Jeff
pkg_add hung?
Before I spend my time and the list's time on this issue, I've read 15.1 and 15.2 from http://www.openbsd.org/faq/faq15.html#PkgMgmt. The command show at http://postimg.org/image/ke2g1wlb9/55c1891b/ attempted to install 'subversion'. Its been running for about 6 hours, so believe something is wrong. Obviously, my speculation could be (and likely is) wrong. I've searched for "pkg_add hung". If the BSD folks call a hung program something else, please let me know so I can search for it. The docs state I will get an error. I have not received an error. What is the relevant man page or manual to rtfm? What should I do next?
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 10:08 PM, Philip Guenther wrote: > On Sat, Sep 14, 2013 at 7:00 PM, Jeffrey Walton wrote: > ... >> Yeah, I should have taken a screen capture. I don't use the mail >> program too often (its been years since I've had to), so it was not a >> priority. > > Screen capture? In order to convey what was presumably a one line > error message? If cut-n-paste won't work, might I suggest just > (carefully) typing it? Yes, I'm lazy like that. Plus it removes any ambiguity. > Side note: it's lost on me why you're unable to run the compiler > because of tangles with adduser/sudo/whatever. Oh, that's my own doing. I need to install wget and subversion to fetch the sources. Plus, I want to see how a Clang 3.3 build goes. (Compilers and software engineering are my business, not system administration). Jeff
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 9:47 PM, Marc Espie wrote: > On Sat, Sep 14, 2013 at 09:28:07PM -0400, Jeffrey Walton wrote: >> On Sat, Sep 14, 2013 at 9:20 PM, Brian McCafferty >> wrote: >> > On 09/14/13 18:41, Jeffrey Walton wrote: >> >> >> > >> > Just in case you didn't notice, when you first install you should have >> > mail. >> > $mail >> > It will describe reading "afterboot" and many other things, even an example >> > of adding the emacs package. >> > >> Haha! that's too funny. I saw the prompt and immediately tried to run >> mail. It did not work (I don't recall what the message was, but I >> remember thinking, wtf???). > > Too bad you don't remember what the message was. > > It works for us. You must have done something really stupid and obvious, I would not rule that out. After system install, I saw that system message and immediately ran `mail` based on its suggestion. I don't recall an error message - it was more like it exited immediately or had no effect. > and if we knew the message, we could possibly help you... Yeah, I should have taken a screen capture. I don't use the mail program too often (its been years since I've had to), so it was not a priority.
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 9:52 PM, Ted Unangst wrote: > On Sat, Sep 14, 2013 at 20:14, Jeffrey Walton wrote: > >> I really don't get why this shit is so f**k'ing difficult. How is >> running around with a root terminal open more secure than exec'ing one >> command under sudo??? > > I think you're going to be in for a long day. It's not really very hard to > drive a screw into wood, but it can be if you're using a hammer. Dont be > fooled just because a screw resembles a nail. Yeah, there's no doubt in my mind. I'm 4 or 6 hours into this, and I still have not been able to run my compiler!
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 9:20 PM, Brian McCafferty wrote: > On 09/14/13 18:41, Jeffrey Walton wrote: >> > > Just in case you didn't notice, when you first install you should have mail. > $mail > It will describe reading "afterboot" and many other things, even an example > of adding the emacs package. > Haha! that's too funny. I saw the prompt and immediately tried to run mail. It did not work (I don't recall what the message was, but I remember thinking, wtf???). Jeff
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
Thanks Shawn. Sorry to go offlist. So, I'm trying to do some initial testing. I'm on a MacBook with OpenBSD in a VM. All I want to do is run my compiler over some source files. MacBooks have a funky keyboard, and when I try to use visudo to move the cursor around, some of the arrow keys don't work. Not to mention the DELETE key (or the key combinations I know to use to simulate delete). visudo responds with ^? is not valid. I'm sure I'll have that file corrupted shortly. I really don't get why this shit is so f**k'ing difficult. How is running around with a root terminal open more secure than exec'ing one command under sudo??? Thanks for the advice. Jeff On Sat, Sep 14, 2013 at 7:53 PM, Shawn K. Quinn wrote: > On Sat, Sep 14, 2013, at 06:47 PM, Martin Schröder wrote: >> 2013/9/15 Jeffrey Walton : >> >> man visudo >> > I don't know vi. I do known emacs, but its not on this system so I >> >> Then learn it. This is unix. >> You really should use visudo to edit /etc/sudoers, not an editor. > > Note that you can configure visudo, vipw, and vigr to use an editor > besides vi. It's possible to get by on Unix without knowing vi, I did so > on GNU/Linux systems for most of 4 years, but I finally broke down and > figured it out and promptly realized it wasn't as hard as it had been > made out to be. > > -- > Shawn K. Quinn > skqu...@rushpost.com
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 7:08 PM, Martin Schröder wrote: > 2013/9/15 Jeffrey Walton : >> I wanted to add myself to the sudo group. > > man sudo It appears to lack information on adding a user (I went through this man page before asking the question). Then, I went to the web and landed on an overflow page (I think its the 'meta' site, and not the 'stack' site). That's what took me to 'adduser'. > man visudo I don't know vi. I do known emacs, but its not on this system so I can't edit /etc/sudo by hand. I tried to add emacs through pkg_add, but it appears broke. Surely emacs has been ported to every *nix system in existence, so its baffling (to me) the package manager cannot find it. > man adduser I tried `adduser jwalton sudo`, and it did not work even though the command looks well formed. I got the command from the overflow site. > man group Does not appear applicable. I want to add a user to a group, and not create or delete groups. And 'usermod -G sudo jwalton' does not work, either. It errors with "Can't append group sudo for user jwalton". This stuff really should not be this hard... Jeff
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 7:11 PM, Kenneth R Westerback wrote: > On Sat, Sep 14, 2013 at 06:41:58PM -0400, Jeffrey Walton wrote: >> I'm trying to add myself to sudoers. I used `su -` to get root, and >> then `adduser jwalton sudo`. >> >> Now I'm stuck a loop of: >> >> Enter username[]: >> >> When I try and add my name, I'm told its there. When I try to >> (no name), I looped back to the prompt. I have to break out with a ^C. >> >> After the ^C break and exit from root, I'm told I'm not in sudoers again. >> >> How does one use adduser in OpenBSD? >> > > rtfm? Thanks Kenneth.
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 7:08 PM, Martin Schröder wrote: > 2013/9/15 Jeffrey Walton : >> I wanted to add myself to the sudo group. > > man sudo > man visudo > man adduser > man group Thanks Martin.
Re: How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
On Sat, Sep 14, 2013 at 6:56 PM, Alexander Hall wrote: > On 09/15/13 00:41, Jeffrey Walton wrote: >> >> I'm trying to add myself to sudoers. I used `su -` to get root, and >> then `adduser jwalton sudo`. > > What did you expect from that command? And why? I'd expect the user jwalton to be added to the sudo group. Its seems like a reasonable expectation to me. >> Now I'm stuck a loop of: >> >>Enter username[]: >> >> When I try and add my name, I'm told its there. When I try to >> (no name), I looped back to the prompt. I have to break out with a ^C. >> >> After the ^C break and exit from root, I'm told I'm not in sudoers again. >> >> How does one use adduser in OpenBSD? > > I'd say you use it to add users, but since your user name already existed > you could not. It makes sense to me. When I cat /etc/sudoers, its not there. > The question is what you really wanted to do. I wanted to add myself to the sudo group. I'm not a BSD admin - I'm just a dumb user. So I'm probably doing something wrong. I just haven't figured out what it is. Jeff
How does one use adduser in OpenBSD (stuck in"Enter username[]" loop)?
I'm trying to add myself to sudoers. I used `su -` to get root, and then `adduser jwalton sudo`. Now I'm stuck a loop of: Enter username[]: When I try and add my name, I'm told its there. When I try to (no name), I looped back to the prompt. I have to break out with a ^C. After the ^C break and exit from root, I'm told I'm not in sudoers again. How does one use adduser in OpenBSD?
US Paypal Donations Appears Broken
It appears the US donations area is broken. Following PayPal from http://www.openbsd.org/donations.html, I am taken to http://www.openbsdfoundation.org/donations.html. >From http://www.openbsdfoundation.org/donations.html, I select "US Donations" and then taken to PayPal. PayPal's site takes me to Canada's landing page. When I switch countries to US, the US states are not populated so I can't select my state from the dropdown. When I attempt to add my state to my city (i.e., Pasadena, MD), the form fails validation due to lack of a province.
Modern C++ Compiler for OpenBSD
I'd like to use some C++ language features that are relatively new. They include intializer lists, rvalue references and regex (and perhaps a lambda on occasion). Does anyone have a C++ compiler recommendation for OpenBSD? Thanks in advance
Re: Modern C++ Compiler for OpenBSD
On Tue, Sep 10, 2013 at 6:10 PM, Gregor Best wrote: > On Tue, Sep 10, 2013 at 05:40:19PM -0400, Jeffrey Walton wrote: >> [...] >> Does anyone have a C++ compiler recommendation for OpenBSD? >> [...] > > What about GCC? Clang++'s C++11 support is spotty at best, at least it > was the last time I tried. > Thanks Gregor. I don't believe GCC 4.2.1 supports C++11x features, but I could be wrong. I also tried tracking down Clang and Comeau's support for OpenBSD, but I could not find something stated it in clear terms (lots of mailing list questions). At this point, it looks like the platofrm is not supported. I think that leaves PCC, which is a C99 compiler (according to http://pcc.ludd.ltu.se/). Jeff
Re: question about documentation
On Sun, Sep 18, 2011 at 4:36 AM, Fritz Wuehler wrote: > You wrote: > >> On Sat, 17 Sep 2011 02:34:30 +0200 >> Fritz Wuehler wrote: >> >> > That's a load of rubbish. Doing something wrong because others do it just >> > makes you a meme, it doesn't make you right. You're a great arrogant, >> > know-nothing son of a bitch. >> >> Trust me, you wouldn't say that to my face, your a disgrace to the >> human race. > > Dumb sonofabitch, in this case you should have written "you're" not "your." > You're probably dislexic and we shouldn't hold it against you but you're an > argumentative sonofabitch, and stupid too, so it's on you babe. > > But you right about what you said, I probably couldn't get that low. I have > a match for you though pal, your face and the south end of Uncle Homer's > mule. > >> On a mailing list... Quite frankly my dear, I don't give a damn! as long >> as I'm understood, which is why I responded to the Latin translation and >> on this topic I don't care much about being understood either, >> certainly not anymore. > > You're in the right place, you great silly queer bastard. Why don't you > stand up and admit you've been wrong all along. Would you lose face in the > eyes of your girlfriend Danni? > > Later for you linguisticially-impared faggots! I'm sure you'll be very happy > together! Make sure not to send us an invitation. Ta ta homos! http://www.openbsd.org/mail.html
Re: GCC 4.2.4?
On Thu, Sep 15, 2011 at 5:23 PM, Marc Espie wrote: > On Thu, Sep 15, 2011 at 03:17:36PM -0400, Jeffrey Walton wrote: >> I'm interested in seeing if (1) patches have been applied to fix my >> template error problem >> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21656); and (2) the >> compiler/linker is using hardened settings (I know 4.2.1 is not >> hardened out of the box). > > lol. > > 4.2.1 *in OpenBSD* is "hardened" more, and has been tested as an hardened > compiler for more time than gcc 4.2.4. I believe -z relro -z now are fairly standard for GOT and PLT attack remediations. I know some flavors of Linux include them in the spec file for a gcc: $ uname -a OpenBSD germain.home.pvt 4.9 GENERIC#671 i386 $ /usr/local/bin/egcc -dumpspecs | grep -i relro $ /usr/local/bin/egcc -dumpspecs | grep -i wall $ /usr/local/bin/egcc -dumpspecs | grep -i wextra $ /usr/local/bin/egcc -dumpspecs | grep -i format $ /usr/local/bin/egcc -dumpspecs | grep -i security $ Also, I was not sure about -Wformat=2 -Wformat-security. I guess it depends on what procedures are in place to enforce policy (or in OpenBSD's case, its position on security). > (unless you want to get f*d harder by the GPLv3, that is) I sometimes wonder about the whole free software, free beer thing. Its kind of like trying to figure out how US politicians claim to balance a budget, yet the US is trillions in debt. Jeff
Re: GCC 4.2.4?
On Thu, Sep 15, 2011 at 3:01 PM, LeviaComm Networks wrote: > On 15-Sep-11 11:40, Jeffrey Walton wrote: >> >> Hi All, >> >> After installing GCC 4.2.4, I still have version 4.2.1. I've learned a >> little about pkg_add, so I went hunting for the README. >> >> $ find / -name gcc 2>/dev/null >> /usr/local/lib/gcc >> /usr/local/libexec/gcc >> /usr/local/include/boost/mpl/aux_/preprocessed/gcc >> /usr/bin/gcc >> >> $ find /usr/local/lib/gcc -name README 2>/dev/null >> /usr/local/lib/gcc/i386-unknown-openbsd4.9/4.2.4/include/README >> >> /usr/local/lib/gcc/i386-unknown-openbsd4.9/4.2.4/install-tools/include/README >> >> Not much to the install-tools/README: >> >> This README file is copied into the directory for GCC-only header >> files >> when fixincludes is run by the makefile for GCC. >>... >> >> Would anyone be able to point out my mistakes with installing GCC >> 4.2.4? There is no GCC 4.2.4 executable, and I'm catching a boatload >> of c++ template errors >> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21656). I'm also hoping >> Binutils will be updated. >> > > > Another example of the OS giving you enough rope to hang yourself. :) > Unless there is some burning need to run that version of gcc, I would > recommend staying away from upgrading it, I'm interested in seeing if (1) patches have been applied to fix my template error problem (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21656); and (2) the compiler/linker is using hardened settings (I know 4.2.1 is not hardened out of the box). > at least until you understand enough about the OS to fix this yourself. I don't think I have that much time. But on the good side, I can reinstall/restore the OS in about 45 minutes. Jeff
GCC 4.2.4?
Hi All, After installing GCC 4.2.4, I still have version 4.2.1. I've learned a little about pkg_add, so I went hunting for the README. $ find / -name gcc 2>/dev/null /usr/local/lib/gcc /usr/local/libexec/gcc /usr/local/include/boost/mpl/aux_/preprocessed/gcc /usr/bin/gcc $ find /usr/local/lib/gcc -name README 2>/dev/null /usr/local/lib/gcc/i386-unknown-openbsd4.9/4.2.4/include/README /usr/local/lib/gcc/i386-unknown-openbsd4.9/4.2.4/install-tools/include/README Not much to the install-tools/README: This README file is copied into the directory for GCC-only header files when fixincludes is run by the makefile for GCC. ... Would anyone be able to point out my mistakes with installing GCC 4.2.4? There is no GCC 4.2.4 executable, and I'm catching a boatload of c++ template errors (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21656). I'm also hoping Binutils will be updated. Jeff
Re: Installing Gnome on OpenBSD 4.9
Hi Sturat, On Mon, Sep 12, 2011 at 3:58 PM, Stuart Henderson wrote: > On 2011-09-12, Jeffrey Walton wrote: >> Otherwise, if pkg_add is the 'installer', then the tool or process is >> broken. In the later case - as a dumb user - I don't consider required >> configuration changes 'knob turning'. > > pkg_add is a package installer, not a configuration editor. By policy > OpenBSD doesn't second-guess your intentions and reconfigure your system > just because you've installed a package. I think my confusion lies in the [overloaded] meaning of 'install'; and my presumption that one who wants to install a package really wants it configured and ready for use. I did not realize there were folks who want to install software, but don't want it configured (and don't want to use it). Perhaps Item 15 of the FAQ could differentiate the meaning of 'install' more succinctly? ('How to install' was one of the first topics I researched, and 15.2.4 was the first items I visited). > Applications for Microsoft OS often *do* do this; the result: the Don't forget the Mac OS X installer, Debian and friends via apt-get, and Fedora with yum (I don't work with BlackBerry and Android enough to speak about their process). As far as I am aware, all perform an installation with appropriate configuration changes. > There are plenty of OS geared towards, to use your words, a "dumb user"; > OpenBSD is not one. (actually I would change this to "inexperienced admin" > as it's quite possible for a system administrator to set things up for a > non-technical user, as happens all the time in the commercial software > world but also demonstrated nicely in the 'Puffy In The Corporate Aquarium' > article in bsdmag/undeadly). Don't worry - I don't take offense to being a 'dumb user'. Half the time its all that I really am, and the other half its all I really want to be. If I'm spending time researching how to administer a system, I'm not working on my primary task. I kind of exist in a middle ground - I only need to compile a library and run test cases to make sure the software is OpenBSD compatible. I don't want to be an administrator or a user. Please don't take offense as its not meant to be an insult. For what its worth, I needed to fetch some info from the web, so I installed Firefox. Unfortunately, Firefox crashed constantly under the default window manager (FVVM?), so I moved to Gnome to try and stabilize the system. >> http://xkcd.com/342/. , > 349, surely? :) Most certainly! Jeff
Re: Installing Gnome on OpenBSD 4.9
On Mon, Sep 12, 2011 at 2:39 AM, Antoine Jacoutot wrote: > On Mon, 12 Sep 2011, Jeffrey Walton wrote: >> Otherwise, if pkg_add is the 'installer', then the tool or process is >> broken. In the later case - as a dumb user - I don't consider required >> configuration changes 'knob turning'. Its kind of like buying a new >> car, but being expected to fill the engine with oil, the transmission >> with fluid, and the brake system with fluid before driving it. > > Nope but you do need a license... http://www.openbsd.org/faq/faq15.html#PkgInstall
Re: Installing Gnome on OpenBSD 4.9
On Mon, Sep 12, 2011 at 1:00 AM, Tomas Bodzar wrote: > On Mon, Sep 12, 2011 at 4:12 AM, Jeffrey Walton wrote: >> On Sun, Sep 11, 2011 at 5:46 PM, Dmitrij D. Czarkoff wrote: >>> On Sun, Sep 11, 2011 at 11:07:14AM -0400, Jeffrey Walton wrote: >>>> [SNIP] >> >> I fell back to 4.8 because Tom stated something to the effect that >> Gnome was not yet [fully] ported (forgive my misquotes). This made >> some sense to me since I did see a few messages related to outdated >> binaries on 4.9 when running `startx` from a teminal. I presumed the >> developers knew about it, and it was OK with them (otherwise, it would >> have been fixed). > > I did not say that ;-) > I said that packages are not in current right now because of > infrastructure reasons. Packages for 4.8 and 4.9 are in place without > issues.And Gnome is well running and supported on OpenBSD eg. because > of this http://undeadly.org/cgi?action=article&sid=20110420080633 > > And what is really of interest for you is this message > http://marc.info/?l=openbsd-ports&m=131546789610229&w=2 OK - that would explain it. >> [SNIP] >> >> I cannot explain why I got a 2 year old document as a top hit when >> searching for 'OpenBSD install gnome' (perhaps SEO?). And I cannot >> explain why the official OpenBSD document was not predominantly listed >> in the Google'd results. Nor can I explain why neither the README nor >> the INSTALL mention anything gnome or its installation document. > > Because search engines are full of ads and other crap thanks to times > when everyone without knowledge can create blog with false (or only > true in that time) information and people then follow it for years. Agreed! >> In practice, after following the official OpenBSD instructions, GDM >> would start (ie, a 'gnome login screen') but I would get XTERM when I >> logged in. Christian's instructions seems to have taken me a little >> further, but I had to add to rc.conf.local: >> >> # cat /etc/rc.conf.local >> ... >> xdm_flags=NO >> gnome_enable=YES >> gdm_enable=YES# >> >> [SNIP] >> >> Since I was installing gnome and gnome-session, why were the changes >> not made to rc.local and rc.conf.local with a message telling the user >> how to turn it off? I think its a very reasonable behavior when >> installing the manager. > > Because it's OpenBSD. Not system which turns on automatically every > knob available. It;s for you and your control over system. I had to think about this one. First, if I was using pkg_add as an installer, then I was probably misusing the distro's tools. It would be greatly appreciated if someone would point out what tool (or which switch of pkg_add) to use to install packages rather than download/uncompress them. Otherwise, if pkg_add is the 'installer', then the tool or process is broken. In the later case - as a dumb user - I don't consider required configuration changes 'knob turning'. Its kind of like buying a new car, but being expected to fill the engine with oil, the transmission with fluid, and the brake system with fluid before driving it. Dmitrij - with all due respect, I can't help but laugh when I think about your grandmother installing gnome. http://xkcd.com/342/. Jeff
Re: Installing Gnome on OpenBSD 4.9
On Sun, Sep 11, 2011 at 10:12 PM, Jeffrey Walton wrote: > Hi Dmitrij, > > On Sun, Sep 11, 2011 at 5:46 PM, Dmitrij D. Czarkoff > wrote: >> On Sun, Sep 11, 2011 at 11:07:14AM -0400, Jeffrey Walton wrote: >>> OK, I deleted 4.9 and installed 4.8. I saved the console messages and >>> started and started the gdm, avahi, and dbus daemon as instructed. No >>> joy. >> >> Could You please be a bit more precise? > My apologies. I'll try and clear things up now (for grandma!). > > I fell back to 4.8 because Tom stated something to the effect that > Gnome was not yet [fully] ported (forgive my misquotes). This made > some sense to me since I did see a few messages related to outdated > binaries on 4.9 when running `startx` from a teminal. I presumed the > developers knew about it, and it was OK with them (otherwise, it would > have been fixed). > >> Which instructions did You follow - those unofficial instructions on some >> website about OpenBSD 4.7 or the official README that is cited in the >> install-message at installation time? > > I followed the instructions from > http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/gnome/session/pkg/README?rev=1.13;content-type=text%2Fplain. > [SNIP] My apologies if I seemed ungrateful. OpenBSD has a rich tradition, solid stability, and a firm security posture. Jeff
Re: Installing Gnome on OpenBSD 4.9
Hi Dmitrij, On Sun, Sep 11, 2011 at 5:46 PM, Dmitrij D. Czarkoff wrote: > On Sun, Sep 11, 2011 at 11:07:14AM -0400, Jeffrey Walton wrote: >> OK, I deleted 4.9 and installed 4.8. I saved the console messages and >> started and started the gdm, avahi, and dbus daemon as instructed. No >> joy. > > Could You please be a bit more precise? My apologies. I'll try and clear things up now (for grandma!). I fell back to 4.8 because Tom stated something to the effect that Gnome was not yet [fully] ported (forgive my misquotes). This made some sense to me since I did see a few messages related to outdated binaries on 4.9 when running `startx` from a teminal. I presumed the developers knew about it, and it was OK with them (otherwise, it would have been fixed). > Which instructions did You follow - those unofficial instructions on some > website about OpenBSD 4.7 or the official README that is cited in the > install-message at installation time? I followed the instructions from http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/gnome/session/pkg/README?rev=1.13;content-type=text%2Fplain. Actually, I missed gnome-audio and gnome-power-manager was not found: # pkg_add eog \ file-roller \ gdm \ gedit \ gnome-applets2 \ gnome-audio \ gnome-backgrounds \ gnome-control-center \ gnome-keyring \ gnome-media \ gnome-panel \ gnome-power-manager \ gnome-screensaver \ gnome-terminal \ gnome-themes \ gnome-utils After the list of 'primary' packages was installed, I then executed: # pkg_add gnome-session \ gnome-desktop \ nautilus-open-terminal While installing the 'primary' packages (eog, ...,gnome-utils), I did so in an XTERM so I was able to scroll through messages. Despite my sincerest efforts to install the 'primary' packages, I still had to add the following to rc.local per the terminal messages: if [ -x /usr/local/bin/dbus-daemon ]; then install -d -o _dbus -g _dbus /var/run/dbus echo -n ' dbus'; /usr/local/bin/dbus-daemon --system fi if [ -x /usr/local/sbin/gdm ]; then echo -n ' gdm'; (sleep 5; /usr/local/sbin/gdm)& fi if [ -x /usr/local/sbin/avahi-daemon ]; then echo -n ' avahi-daemon'; /usr/local/sbin/avahi-daemon -D fi For what its worth, nautilus-open-terminal *should* be listed in the 'primary' list. > What does the phrase "No joy" mean? My bad. It is slang for 'not successful'. I appreciate the help, so I don't want to use terms like 'failed' and 'broken'. > You've got some errors? You've got no > error but no GNOME? You didn't like the default color theme? You were > depressed and decided not to go ahead? I think it was approaching the latter :) > I used to install GNOME on OpenBSD 4.9. It is 100% straight forward exactly as > written in a README file that is referenced in the install message. OK. This raises my suspicions (please don't take offense). I tried following the instructions from the provided link on both 4.8 and 4.9. I was not successful. > And I am > planning to instruct my grandmother to install OpenBSD 5.0 with GNOME. Perhaps you should be at your gandmom's house when the migration occurs. > You please share You experience in some more detail? OK. For me, its all about 'dumb users' and 'reasonable expectations'. I'm a dumb user, and I think my expectations are reasonable. I think the documentation is lacking and the process is too involved. I personally found Christian's link of http://www.gabsoftware.com/tips/tutorial-install-gnome-desktop-and-gnome-display-manager-on-openbsd-4-8/ much more helpful. At minimum, it had pictures which are always easy to follow. I cannot explain why I got a 2 year old document as a top hit when searching for 'OpenBSD install gnome' (perhaps SEO?). And I cannot explain why the official OpenBSD document was not predominantly listed in the Google'd results. Nor can I explain why neither the README nor the INSTALL mention anything gnome or its installation document. In practice, after following the official OpenBSD instructions, GDM would start (ie, a 'gnome login screen') but I would get XTERM when I logged in. Christian's instructions seems to have taken me a little further, but I had to add to rc.conf.local: # cat /etc/rc.conf.local ... xdm_flags=NO gnome_enable=YES gdm_enable=YES# In addition, I still needed to select Session -> gnome.desktop despite the fact that gnome.desktop was listed as the default. My feelings: since I wanted to install the gnome desktop manager, why is there not a single package that includes gdm, gnome-desktop, and gnome-session which *also* includes the modifications to rc.local and rc.conf.local? I think its a v
Re: Installing Gnome on OpenBSD 4.9
On Sun, Sep 11, 2011 at 10:37 AM, Christian Barthel wrote: > On Sun, Sep 11, 2011 at 07:12:36AM -0400, Jeffrey Walton wrote: >> Hi All, >> >> OpenBSD specific reading for installing GNOME is a bit hard to come >> by, and README and INSTALL don't mention GNOME, so please forgive the >> basic questions. >> >> I think GNOME is either fully installed or partially installed (I'm >> not sure if I hung in AddDelete.pl at Avahi*). I issued 'pkg_add >> gnome-desktop gnome-session'. After reboot, a window manager does not >> appear to start. 'startx' results in a desktop with wallpaper, and >> nothing more (I find it less useful than an X session with a >> terminal). >> >> Concerned about a corrupt install of Avahi, I tried to reinstall with >> 'pkg_add -D installed gnome-desktop gnome-session'. >> >> I did come across http://www.techonia.com/install-gnome-openbsd. But I >> don't believe the fellow writing told the full story (though he offers >> screen shots). For example, he did not 'chmod +x .xinitrc', so I'm not >> sure he stuff should even work. >> >> Is anyone aware of a [comprehensive] GNOME HowTo for OpenBSD? > > > hello, > i followed this tutorial: > http://www.gabsoftware.com/tips/installing-gnome-desktop-and-gnome-display-manager-on-openbsd-4-7/ Ah thanks. Its about the most comprehensive I have seem (Google results must be really polluted with SEO, and/or I am a very bad grepper). His instructions almost did it - I was still getting that damn XTerm. After I selected Session -> gnome.desktop (even though gnome.desktop is the default), I was prompted if I wanted to make it default and it worked. Thanks again for the link. Jeff
Re: Installing Gnome on OpenBSD 4.9
On Sun, Sep 11, 2011 at 7:56 AM, Tomas Bodzar wrote: > On Sun, Sep 11, 2011 at 1:12 PM, Jeffrey Walton wrote: >> Hi All, >> >> OpenBSD specific reading for installing GNOME is a bit hard to come >> by, and README and INSTALL don't mention GNOME, so please forgive the >> basic questions. >> >> I think GNOME is either fully installed or partially installed (I'm >> not sure if I hung in AddDelete.pl at Avahi*). I issued 'pkg_add >> gnome-desktop gnome-session'. After reboot, a window manager does not >> appear to start. 'startx' results in a desktop with wallpaper, and >> nothing more (I find it less useful than an X session with a >> terminal). >> >> Concerned about a corrupt install of Avahi, I tried to reinstall with >> 'pkg_add -D installed gnome-desktop gnome-session'. >> >> I did come across http://www.techonia.com/install-gnome-openbsd. But I >> don't believe the fellow writing told the full story (though he offers >> screen shots). For example, he did not 'chmod +x .xinitrc', so I'm not >> sure he stuff should even work. > > Following two years old post which is not official documentation for > OpenBSD is at least weird. Agreed. >> >> Is anyone aware of a [comprehensive] GNOME HowTo for OpenBSD? > > You left off the most important part > http://www.openbsd.org/report.html so we don't know which version are > you running, which packages you have. My original problems were with the latest - OpenBSD 4.9. > What error messages you can see > (if any) during startup of X/Gnome and so on. BTW if you're on current > then there are no packages yet. OK, I deleted 4.9 and installed 4.8. I saved the console messages and started and started the gdm, avahi, and dbus daemon as instructed. No joy. Jeff
Installing Gnome on OpenBSD 4.9
Hi All, OpenBSD specific reading for installing GNOME is a bit hard to come by, and README and INSTALL don't mention GNOME, so please forgive the basic questions. I think GNOME is either fully installed or partially installed (I'm not sure if I hung in AddDelete.pl at Avahi*). I issued 'pkg_add gnome-desktop gnome-session'. After reboot, a window manager does not appear to start. 'startx' results in a desktop with wallpaper, and nothing more (I find it less useful than an X session with a terminal). Concerned about a corrupt install of Avahi, I tried to reinstall with 'pkg_add -D installed gnome-desktop gnome-session'. I did come across http://www.techonia.com/install-gnome-openbsd. But I don't believe the fellow writing told the full story (though he offers screen shots). For example, he did not 'chmod +x .xinitrc', so I'm not sure he stuff should even work. Is anyone aware of a [comprehensive] GNOME HowTo for OpenBSD? Jeff * During package download and install, the machine went into 'power save' mode. When I woke the machine, the last message was related to installing Avahi. I pressed enter a few times and left the machine alone. The machine went back to sleep, and it was at the same place when I re-woke it some time later. ^C, and then I reissued 'pkg_add gnome-desktop gnome-session'.