Posts

Showing posts from August 21, 2018

nm-connection-editor requires text in user name field to save.

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite I'm trying to make changes to an OpenVPN connection via sudo nm-connection-editor . On the VPN tab, save is greyed out unless I put text in the username field. With this behavior I cannot save changes that have been made elsewhere. Most of the changes I want to try are on the Advanced tab. As a test I put a name in the username field and could save, but for that connection, username should be empty. Now I can't save again unless text is present. Empty quotes allow me to save but prevent the normal use dialog from appearing that would prompt me for phrase and one-time-password. I saw a solution that suggested checking the "All users may connect to this network" but that didn't help in my case. I saw another solution suggesting to edit NetworkManager.conf but the suggested parameters are not present in my file. I'm running $ gnome-shell --version GNOME Shell 3.22.3 $ cat /etc/redhat-release...

awk if command that works to print column 19 only but how would i get it to print both columns?

Image
Clash Royale CLAN TAG #URR8PPP up vote 0 down vote favorite I want to print column 3 and 4 but without printing the headers empty column lines. header tap norm X Y 880 1787 X Y 3253 3439 Printing this via awk 'print($3,$4)' gives (BLANK lines from header rows) 880 1787 3253 3439 This works to print column 19 only but how would I get it to print both columns? awk '$3print $3' 880 3253 I want col3 col4 880 1787 3253 3439 I tried but get only column 3 printed awk '$3print $3''$4print $4' 880 1787 3253 3439 awk share | improve this question edited Apr 10 at 6:07 Filipe Brandenburger 3,451 6 21 asked Apr 10 at 0:10 Dominique 3 3 1 It is easier to get the help you need if you provide the contents of the file you're working with. What do mean by empty column lines? If you just want to print both columns then the man page for awk or google will help you. You're on the right track. – Na...

How are RPM packages marked as “security” updates?

Image
Clash Royale CLAN TAG #URR8PPP up vote 1 down vote favorite If I am applying yum install -y --security and a package is updated; how is the package "marked" as a security update? For example, lets say I have a package blah that I maintain, its current version is 1.18.3 . If I build a new package as 1.18.4 is it automatically a "security" package? If not, how/where is the documentation to mark the package as "security" update? centos rhel security rpm packaging share | improve this question edited Apr 10 at 1:42 asked Apr 10 at 1:22 user1529891 1,847 5 20 42 If you're building your own packages, you could also put all the security updates in a dedicated repository. – Cristian Ciupitu Apr 10 at 3:20 add a comment  |  up vote 1 down vote favorite If I am applying yum install -y --security and a package is updated; how is the package "marked" as a secur...