System info:
Distributor ID: Ubuntu | Ubuntu 14.04.5 LTS | Release: 14.04 | Codename: trusty
Problem:
I am having trouble. I am trying to get openVPN and I am following this guide here: Link to guide.
I have successfully done the first two commands, but when I do this code:
gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz > /etc/openvpn/server.conf
I get an error: `bash: /etc/openvpn/server.conf: Permission Denied.
Can anybody help? Feel free to ask for additional information.
>/etc/openvpn/server.conf
) is done while parsing thesudo ...
, and is owned by the non-root
user.gunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz | sudo tee /etc/openvpn/server.conf >/dev/null
– waltinator Jun 19 '17 at 01:33