networking - OpenVPN access server on Red Hat on Parallel on Mac Mini server

07
2014-07
  • user322345

    installed Red Hat on parallel on Mac Mini server to use Red Hat as a personal OpenVPN installed the OpenVPN access server than used terminal for setup but every time i get internal ip not the internet ip that i want to use for OpenVPN only on Red Hat the other ip is for Mac server only and can't log to the admin web page thanks

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    linux - sudo/su command for Red Hat Server 5.4
  • rednaxela

    Without going into too much detail, I need to execute one linux command on redhat with root user access. Red Hat Server 5.4 does not recognise the sudo command.

    The command su can be used to switch to the root user on redhat, but su cannot be done in one line. For example the command:

    su ; cd opt/storage/RootAccessFolder
    

    will not work because this only switches you to root, then executes the cd command once you have logged out from the root user.

    I guess what i'm looking for is like a..

    sudo cd opt/storage/RootAccessFolder
    

    but I say again, sudo doesn't work. Any ideas?


  • Related Answers
  • Manula Waidyanatha

    You can install sudo command or use the command below.

    su -l root -c 'cd opt/storage/RootAccessFolder'