Sponsored Content
Full Discussion: VPN issue on Linux:
Top Forums UNIX for Beginners Questions & Answers VPN issue on Linux: Post 303036727 by bakunin on Tuesday 9th of July 2019 10:58:28 AM
Old 07-09-2019
Quote:
Originally Posted by ericaustin
I followed complete installation process given on their website and all was working fine until I had to move the renamed config file into the openvpn folder.

However, I can't move the config file now to the /etc/openvpn folder for some reason. It does not seems to matter if I command 'mv' in terminal or try to drag & drop it there.
If the file needs to be under /etc most probably it can be written only by the root user (or some similar user with special rights). You should execute

Code:
sudo su - root

therefore, so that you become root, then you can use mv (better: cp = copy) to put the file there.

Notice that you should only do the absolute necessary minimum as root. Switch to the user in a new window, move/copy the file, make sure it has the right file access permissions and then exit this window again IMMEDIATELY. The root user is allowed to do absolutely everything (this includes: destroy absolutely everything) and therefore should be used with the utmost caution.

I hope this helps.

bakunin
 

9 More Discussions You Might Find Interesting

1. Cybersecurity

VPN client for linux?...

I'm looking for an open source VPN client that I can set up on RedHat 7.1. Any suggestion? Thanks in advance. VJ :) (3 Replies)
Discussion started by: vancouver_joe
3 Replies

2. UNIX for Advanced & Expert Users

Windows/Linux VPN

I was wondering whether any of you have any idea what VPN server software out there will be able to connect *SEAMLESSLY* to a Windows 2000/XP client? In order for this to really work, I need it to work "out of the box" i.e. no additional software to install on the Windows 2k side of it all. I'm... (3 Replies)
Discussion started by: cerberusofhnsg
3 Replies

3. IP Networking

VPN Issue

Hi all I wish to connect to my works network via a vpn which they have setup. the only trouble is it is more windows friendly than unix. By this I mean connecting via windows everything is automatically setup (routes etc) - not so with linux. I am a relative newbie with respect to vpn routing so... (0 Replies)
Discussion started by: silvaman
0 Replies

4. Debian

VPN over Linux box.

Hi, I've installed Linux fedora 3 on my machine and I want to develop the VPN server on Linux. I've several machines which access the linux box as gateway for net and mail usage. The Webmin cp is installed on it. Now I want a external windows based machine connect to my internal windows server... (4 Replies)
Discussion started by: ashwin_think
4 Replies

5. Red Hat

Rdesktop - From Linux to Windows in VPN

Hi Gurus, I have a Linux server in a Private Network which i connect through a VPN client. This Linux server is the only server from which we have access to all other servers(Windows & Linux) in the Private Network(hitherto referred as PN). Now i want to RDP into one of the Windows boxes in... (1 Reply)
Discussion started by: Hari_Ganesh
1 Replies

6. IP Networking

How to establish site to site vpn - Linux machine and cisco asa?

Hi, I am trying to establish vpn between my linux server and cisco asa at client side. I installed openswan on my cent os. Linux Server eth0 - 182.2.29.10 Gateway - 182.2.29.1 eth1 - 192.9.200.75 I have simple IPtables Like WAN="eth0" LAN="eth1" (0 Replies)
Discussion started by: ashokvpp
0 Replies

7. IP Networking

OS X & VPN DNS Issue

I'll try and be brief and detailed. I have a Macbook Pro Retina running Mavericks. When on my network at the office (work) everything local works just fine. Local servers are resolved through our internal DNS settings. For example, we have a fileserver at "fs01". I can connect to it with... (1 Reply)
Discussion started by: jbhardman
1 Replies

8. UNIX for Beginners Questions & Answers

Simple sed command not working; could be a Mac/Linux vs. PC/Linux issue

Hello, I am on a Mac and trying to clean up some monthly files with a very simple SED: sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt (from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file) then output to output.txt Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies

9. Cybersecurity

Best VPN for Linux Mint - XBOX and torrenting purpose??

In spite of the fact that I've been utilizing Linux Mint for quite a long while. I see myself as an amateur with regards to VPN. I've googled different variants of the inquiry. kindly give me some suggestion which are best fit for linux OS? (1 Reply)
Discussion started by: susanjohn1
1 Replies
chroot(1M)																chroot(1M)

NAME
chroot - change root directory for a command SYNOPSIS
newroot command DESCRIPTION
The command executes command relative to the newroot. The meaning of any initial slashes in path names is changed for command and any of its children to newroot. Furthermore, the initial working directory is newroot. Note that command suffixes that affect input or output for the command use the original root, not the new root. For example, the command: locates file relative to the original root, not the new one. The command variable includes both the command name and any arguments. The new root path name is always relative to the current root. Even if a is currently in effect, the newroot argument is relative to the current root of the running process. This command is restricted to users with appropriate privileges. EXTERNAL INFLUENCES
International Code Set Support Single- and multibyte character code sets are supported. WARNINGS
command cannot be in a shell script. Exercise extreme caution when referring to special files in the new root file system. does not search the environment variable for the location of command, so the absolute path name of command must be given. When using to establish a new environment, all absolute path name references to the file system are lost, rendering shared libraries inac- cessible. If continued access to shared libraries is needed for correct operation, the shared libraries and the dynamic loader be copied into the new root environment. SEE ALSO
chdir(2), chroot(2). STANDARDS CONFORMANCE
chroot(1M)
All times are GMT -4. The time now is 04:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy