Re: Two questions about key generation for clients
Jochen Bern <[email protected]>
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Organization | Binect GmbH |
| Message-ID | <[email protected]> |
On 25.01.24 11:11, Bo Berglund wrote: > 1) The "sudo systemctl edit" command brings up a blank page for me, what is the > editor commands in this window? I am used to how nano works but not how I can > operate in this case. Tried Ctl-X and Ctl-C to get back from it... I would guess(!) that "systemctl edit ..." respects the $EDITOR env var, and the manpage seems to confirm that. > Do I do it like so: > sudo systemctl edit [email protected] > or like this: > sudo systemctl edit openvpn-server@server (*These* two should actually do the same, but your "serverlocal" variant has me stumped ...) > 4) And can I use sudo or must I switch to su first to get to the # prompt? My recommendation to get a root *shell* (prompt), if you do indeed need it, is "sudo -i". (I get the shivers whenever I see someone do "sudo su" instead.) I think I've *once* seen a case where it was necessary to use "sudo -s" instead. Kind regards, -- Jochen Bern Systemingenieur Binect GmbH _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
smime.p7s
(application/pkcs7-signature, 3.4 KB) - not displayed