OpenBSD is a BSD variant with a strong emphasis on security.
2
votes
0answers
10 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:
...
4
votes
0answers
21 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
28 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
189 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 ...
4
votes
0answers
96 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
92 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
119 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
0answers
83 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
199 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
76 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
353 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
118 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
157 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
169 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
271 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 ...