|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Only root can install with pkg_add
Hi,
I am a newbie of openbsd world and I am having some troubles. I installed OpenBSD 5.7 amd64 on VMware with NAT network and tunneled IP because I ame under office proxy and VPN. To go on internet I edited /myuser/.profile and /root/.profile:
If I try with my logged user, I have this error: Quote:
I added my user to sudoers before of making any changes. Thanks for your help! Last edited by tab; 23rd October 2015 at 09:57 AM. |
|
|||
I think I have some issues with sudo. If I type from my user sudo wget www.google.com it failed.
If I type wget www.google.com it's ok. |
|
|||
Of course!
This is my sudoers output: Quote:
-bash-4.3$ wget www.google.com] Quote:
-bash-4.3$ sudo wget www.google.com --2015-10-22 06:43:39-- http://www.google.com/ Resolving www.google.com (www.google.com)... 74.125.196.104, 74.125.196.106, 74.125.196.105, ... Connecting to www.google.com (www.google.com)|74.125.196.104|:80... failed: Connection refused. |
|
|||
I found the solution!
I uncommented this line in /etc/sudoers Quote:
|
|
|||
Welcome!
While OpenBSD 5.7 is still fully supported by the OpenBSD project for another six months, recognize that OpenBSD 5.8 has recently been released: http://daemonforums.org/showthread.php?t=9451 Information on OpenBSD's development model can be found in Section 5.1 of the official FAQ. In fact, this is the single best source for general information on OpenBSD available. |
Tags |
pkg_add, proxy, tunnel |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Makefile for Vermaden's FreeBSD ZFS root install adapted for 4K sector disks | J65nko | Guides | 6 | 5th August 2013 08:51 PM |
pkg_add times out (?) | Daffy | OpenBSD Packages and Ports | 0 | 27th July 2012 09:41 PM |
pkg_add --PREFIX ? | sharris | FreeBSD General | 2 | 25th July 2011 04:31 PM |
My version of pkg_add :) | DNAeon | FreeBSD Ports and Packages | 26 | 15th October 2008 06:58 AM |
pkg_add g95;g95 x.f95: cannot find g95 | enpey | OpenBSD Packages and Ports | 8 | 27th August 2008 12:48 AM |