OpenBSD is a BSD variant with a strong emphasis on security.
1
vote
1answer
44 views
Start the GUI automatically in OpenBSD
I can't find the GUI to start up automatically in OpenBSD hppa 5.3. What commands must I use to get this working?
I want to use Gnome like in OpenSuse which I am more comfortable with.
1
vote
1answer
46 views
reinstall all FreeBSD packages with pkg_add, pkg_info
In OpenBSD, I have the possibility to take a snapshot with all my installed packages, with
pkg_info -m > output.txt
and then move this file to a different server and on this new server run a:
...
1
vote
1answer
52 views
OpenSMTPD Configuration Problem
I'm trying to configure a simple mail server on OpenBSD 5.2, running OpenSMTPD 5.3.1, however there is some problem with my configuration file, and I'm unsure how to fix it. I can send and receive ...
1
vote
1answer
64 views
OpenBSD 5.2 and Intel GMA X4500: How to get the X Window System to work
I've just installed OpenBSD 5.2 on my desktop computer and I can't get the X Window System to work. My graphics card is Intel GMA X4500. When I run startx, my system freezes and no keyboard ...
2
votes
2answers
34 views
How to detect what is causing entries in the “last” cmd's output?
last
...
date { Sun Mar 31 12:00
date | Sun Mar 31 12:00
date { Sun Mar 31 00:00
date ...
0
votes
1answer
39 views
Webcam on Openbsd
# dmesg
...
uaudio0 at uhub1 port 2 configuration 1 interface 1 "vendor 0x093a product 0x2622" rev 1.10/1.00 addr 2
uaudio0: audio rev 1.00, 2 mixer controls
audio1 at uaudio0
ugen0 at uhub1 port 2 ...
2
votes
1answer
144 views
OpenBSD, NVIDIA, and Xorg
I've installed OpenBSD 5.2 i386 on my desktop however I hit a wall when it came to running X at my native resolution (1920x1200). All of the hardware is working normally except for the video card: an ...
2
votes
2answers
59 views
How to su to www on OpenBSD?
I have a PHP script that I wish to run under the www account.
The account has nologin as shell and is used by Apache.
When I run "su -l www -s /bin/ksh" as root, I get the following message:
This ...
0
votes
1answer
79 views
How should I configure /etc/host.allow on OpenBSD to only allow given IP's?
I have an OpenBSD 5.1 box that is running a static html based website.
I have a list of IP addresses that I want to allow, ex.:
...
78.128.49.0/24
78.128.50.0/24
...
It's a ~10 KByte. ~10 000 ...
1
vote
1answer
101 views
How do I make mutt show Cyrillic characters on OpenBSD?
I'm using mutt-1.5.21p0v0 to read my mail on OpenBSD 5.2 every now and then.
Why does mutt show question marks instead of Cyrillic characters when I open standards-compliant email messages in ...
5
votes
2answers
87 views
Emacs on OpenBSD for DEC VAX?
I have managed to install OpenBSD 5.2 on my DEC VaxStation 4000 Model 90 but to my surprise have not found a binary for Emacs (any version) for the VAX architecture. As best as I can tell I do not see ...
2
votes
1answer
122 views
How to configure OpenBSD pf to only allow inbound from given countries?
I have an OpenBSD 5.2 box what's running a webserver on port 80 and an SSHD server on port 2222.
How can I configure OpenBSD's pf to only allow connections from given countries to port 80 and 2222?
3
votes
1answer
79 views
How can I peek at the output of a running crontab task on OpenBSD?
I have an hourly hour-long crontab task running with some mtr (traceroute) output every 10 minutes (that is going to go for over an hour prior to it being emailed back to me), and I want to see the ...
10
votes
3answers
211 views
Unix on a DEC VAX?
I just picked up a DEC VaxStation 4000 model 90 with a built in CDROM and an auxiliary SCSI storage module with tape archive drive. I believe it is functional although I cannot test it yet since I ...
4
votes
2answers
150 views
Does sysctl kern.bufcachepercent not work in OpenBSD 5.2 above 1.7GB?
I run OpenBSD/amd64 5.2 on a system with 12GB of RAM, and I want to use about 6GB to 8GB for filesystem caching.
By default, 5.2 amd64 comes with sysctl kern.bufcachepercent set to 20 (20%); I've ...
2
votes
2answers
163 views
How to configure pppoe client on OpenBSD?
I have an OpenBSD 5.1 installed + a cable from my ISP. I have the username/password for the PPPoE connection, but how can I configure the connection to be permanent? (I have 1 interface on the ...
5
votes
3answers
406 views
Why does time/ident/daytime/comsat run after an OpenBSD 5.2 install?
I installed an OpenBSD 5.2 using "-* & +etc* & +base* & +bsd".
After finished with the install, I rebooted, then netstat -at | grep LISTEN, this is what I get for output:
Why does so ...
3
votes
3answers
217 views
Is this enough for a working mail server?
I have an internet connection with a public, static IPv4 address (the IP address has a PTR record for foo.org domain, and I own foo.org domain, and have nameservers for it elsewhere, mx record is set ...
4
votes
1answer
135 views
Realtek audio issues on OpenBSD 5.2
I am running OpenBSD/amd64 5.2 stable on a new machine, using a gigabyte motherboard with a realtek alc898 audio chipset. When I try to play any audio (sources include mpd, aucat, and cat > ...
3
votes
3answers
411 views
How do I send a shutdown event to a QEMU guest (OpenBSD)?
I'm using virtualisation solely to install OpenBSD onto the bare hardware, and during the installation, the redirection to the serial port didn't get configured, so, I ended up with the system ...
2
votes
1answer
125 views
Install OpenBSD on running Linux machine
I just found my old IBM ThinkPad 240 where I installed ArchLinux some years ago. The machine still works as intended but the package manager (pacman) does not work anymore at all. I tried to fix it ...
2
votes
3answers
253 views
Why does a default Linux installation run more processes than a default OpenBSD installation?
If I ps -aux on Ubuntu (or any GNU/Linux distribution) without GUI I see ~100 processes running. If I ps -aux on OpenBSD without GUI, then I get ~10 processes.
What is the explanation/reason for ...
2
votes
1answer
112 views
How to partition an OpenBSD if it's used as a static HTTPD server?
So mount options can be useful because it can afaik increase the security of a webserver that is only serving static html files.
What are the best mount options/partition schemes for az OpenBSD 5.2 ...
2
votes
0answers
138 views
How many rings does OpenBSD use?
Usually a Windows/Linux operating system uses afaik max 2 rings
But how many rings does OpenBSD use?
4
votes
2answers
169 views
What does “Do you expect to run the X Windows System?” do when installing OpenBSD?
When installing OpenBSD 5.1, I got the question:
Do you expect to run the X Windows System?
What change does the installer make to my system if I say "yes"? I know what X Windows is, but I don't ...
1
vote
1answer
247 views
How to disable inetd and sendmail under OpenBSD 5.1?
# grep '^inetd_flags="' /etc/rc.conf
inetd_flags="NO" # for normal use: ""
# grep -i 'sendmail_flags="NO"' /etc/rc.conf
sendmail_flags="NO"
#
after a reboot..:
two questions:
# ps ...
2
votes
1answer
127 views
How to move the /var/www directory to a USB HDD?
I have a default OpenBSD 5.1 install. How Can I enabled httpd, OK.
QUESTION: How can I use the
/dev/sd0a on /mnt/usbhdd type ffs (local, nodev)
instead of the default "/var/www" directory? What ...
2
votes
0answers
50 views
How do I delete a partial package in OpenBSD
While upgrading, I tried to add a package that was already there and due to some error, a partial package got created - partial-gnutls.
When I try to delete this partial package, I get these errors:
...
7
votes
1answer
120 views
How to use /etc/fbtab in OpenBSD to secure X11?
OpenBSD's man page afterboot(8) suggests: "You might wish to tighten up security more by editing /etc/fbtab as when installing X."
How might one do this? What lines when added to /etc/fbtab would ...
4
votes
1answer
79 views
OpenBSD and limiting login to local only like in FreeBSD's login.access(5)
I am using OpenBSD as my desktop. I don't want to login to my machine remotely, and I don't want anyone else to login remotely. In FreeBSD there is a file called login.access(5) that can be used to ...
3
votes
2answers
1k views
How to permanently connect to WPA2AES wifi with OpenBSD (through cli)
I have an OpenBSD 5.1 i386 installed. I have no GUI/X. I googled for the answer but I can't find authentic one. How can I connect to a WPA2 PSK/AES wifi network using only the terminal? (so I don't ...
6
votes
0answers
257 views
USB audio only outputs white noise
I am running OpenBSD/i386 5.1 on a 5 year old laptop. The speakers and headphone port work, but the headphone port is a little loose so I am trying to install an external USB sound card (Fiio E17 USB ...
4
votes
1answer
398 views
How to edit a .gpg file with vi?
So I created a gpg encrypted file with password:
gpg -c passwords.txt.gpg
how can I open it with vi, edit it, then close it? (So that no passwords.txt file will be created, the decrypted ...
-1
votes
3answers
370 views
How to create an encrypted container (dynamically expandable) on OpenBSD
On OpenBSD, how/with what I can create an encrypted container that can later be dynamically expanded? Can I do it with GPG? (password protection is enough)
So, if I open this container and put files ...
2
votes
1answer
284 views
NAT and source IP filtering in PF, using OpenBSD >= 4.7
I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it.
If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
2
votes
3answers
543 views
How can I secure an OpenBSD-based Apache webserver?
I have an OpenBSD server that has a running webserver (the built-in apache web srv).
How can I harden this setup? I want to only server static html files, no php, no sql.
1
vote
0answers
151 views
openBSD static ip can't connect
I have set /etc/hostname.msk0 to
inet 192.168.1.102 255.255.255.0 NONE
and /etc/mygate to
192.168.1.1
but still can't ping the router (192.168.1.1) do I need to configure dns to ping ?
...
1
vote
2answers
1k views
How to disable IPv6 on OpenBSD?
I'm sure that in my network I will not use IPv6 only IPv4. So according to the KISS principle I will need to disable it. How can I do it? OS is OpenBSD 5.1.
2
votes
1answer
303 views
How to check dependencies of a package under OpenBSD?
AFAIK this is the way that I can install for ex.: XYZ on OpenBSD:
pkg_add -Uvi XYZ
How can I get a list for all the dependencies regarding XYZ package?
-> So I need a list about .tgz filenames ...
1
vote
2answers
292 views
How to get green/red terminals under OpenBSD?
For linux machines I can use:
# vi ~/.bashrc # red/green terminal colors regarding exit code
export PROMPT_COMMAND='PS1="`
if [[ \$? = "0" ]];
then echo "\\[\\033[0;32m\\]";
else echo ...
3
votes
1answer
273 views
How to check downloaded package on OpenBSD 5.1?
Under linux there is a package called "ubuntu-keyring" - it's for checking that the downloaded packages (from the offical repositories) are the ones that are on the server.
How can I do this under ...
2
votes
2answers
510 views
Flash drive in OpenBSD: “specified device does not match mounted device”
I'm a relative BSD newb. I have a small server running OpenBSD 4.4. I'm trying to plug in a 16GB USB flash drive to move some files. I followed the guidance of the Disk Setup documentation, and found ...
-1
votes
1answer
173 views
Are there any setuid/setguid bits in OpenBSD?
https://en.wikipedia.org/wiki/Setuid
Are there anything like this under OpenBSD?
4
votes
2answers
276 views
How to mount an IronKey in OpenBSD?
Being that it's proprietary, maybe this isn't possible but I was wondering if anybody was successful at mounting one of these in OpenBSD.
I mounted the two partitions the USB drive creates which are ...
3
votes
1answer
177 views
sandbox tcpdump under OpenBSD?
From FreeBSD 9.0 tcpdump is sandboxed with Capsicum. Are there any solutions for sandboxing tcpdump under OpenBSD? Just want to secure a running:
tcpdump -w output.pcap
because it can be only used ...
0
votes
1answer
348 views
BSD Books - Best books for OpenBSD and FreeBSD [closed]
I will begin a thorough study of the OpenBSD and FreeBSD, which are the most complete books?
I found these, which are the best?
Openbsd books
Freebsd books
3
votes
2answers
1k views
OpenBSD performance tuning (desktop)
What are your ways of tuning a freshly installed OpenBSD operating system specifically for a desktop environment (faster UI interaction etc.)? What are the most important factors here to consider?
1
vote
1answer
195 views
Strange terminal behavior: 'j' key not working in urxvt
For some bizarre reason my 'j' key stopped working properly. Every time I hit the key, it prints "true". If I type 'jake', the terminal prints:
>>trueake
I don't know what lead to this. I ...
1
vote
3answers
1k views
How to apply updates on OpenBSD, NetBSD, and FreeBSD?
I'm using OpenBSD for quite a while now. All I do, however is go from one release to the next, always just doing an update. I configured the system so it works as my router and firewall, and it works ...
-1
votes
1answer
114 views
What audited server programs are shipped in a default OpenBSD install?
OpenBSD has a process by which they audit programs by doing a "comprehensive file-by-file analysis of every critical software component". Which OpenBSD programs have been audited? Is there a list? I ...
