Code Monkey home page Code Monkey logo

Comments (9)

iw4p avatar iw4p commented on June 18, 2024

Reinstall it again.

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

YRS200 avatar YRS200 commented on June 18, 2024

if i reinstall it i need to add all of users again how i can backup data of users from the server to other server?

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

iw4p avatar iw4p commented on June 18, 2024

You have to back up ocpasswd file inside /etc/ocserv/ocpasswd.

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

YRS200 avatar YRS200 commented on June 18, 2024

can you explain it how to backup it? if possible

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

iw4p avatar iw4p commented on June 18, 2024

Use cp or mv command to have that file with other name like passwd.bak or passwd2, then whenever you want you can replace that file with changing its name.

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

YRS200 avatar YRS200 commented on June 18, 2024

can you explain it clearly sterp by step plz! i am not good at bash scripting thanks!

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

iw4p avatar iw4p commented on June 18, 2024
  • cp /etc/ocserv/ocpasswd ~/ocpasswd
  • Reinstall
  • rm -rf /etc/ocserv/ocpasswd
  • cp ~/ocpasswd /etc/ocserv/ocpasswd

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

YRS200 avatar YRS200 commented on June 18, 2024

image

when i want to backup users it is saying this

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

iw4p avatar iw4p commented on June 18, 2024

Can I see the result of cp /etc/ocserv/ocpasswd ~/ocpasswd?
And also you can make sure files copied successfully by using ls ~/ command. If you can see ocpasswd file, It means you backup file successfully.

from openconnect-cisco-anyconnect-vpn-server-onekey-ocserv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.