ref: 66f769d35b32f265ef63d914f209000f5879c763
parent: 3805c2b34bf8671de0626a55ca4e5c17251eea5d
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Dec 15 05:14:35 EST 2020
fix?
--- a/pub/changeblog.plain.xml
+++ b/pub/changeblog.plain.xml
@@ -8,13 +8,13 @@
<rights>© Copyright 2020 sirjofri</rights>
<id>https://sirjofri.de/</id>
<title>changeblog</title>
-<updated>2020-12-15T11:12:01+01:00</updated>
+<updated>2020-12-15T11:14:24+01:00</updated>
<entry>
<title>Restrict RCPU User Access to Groups</title>
<id>https://sirjofri.de/changeblog/1596011563/</id>
<link href="https://sirjofri.de/changeblog/1596011563/"/>
<updated>2020-07-29T10:32:43+02:00</updated>
- <content type="html">
+ <content type="text">
@@ -32,7 +32,7 @@
fn useringroup{
grep $1 $userfile | {
found=0
- while(~ $found 0 &&&& line=`:{read}){
+ while(~ $found 0 && line=`:{read}){
if(~ $line(2) $2){
found=1
}
@@ -50,9 +50,9 @@
fn server {
~ $#remote 0 || echo -n $netdir $remote >/proc/$pid/args
rm -f /env/'fn#server'
- . <{n=`{read} &&&& ! ~ $#n 0 &&&& read -c $n} >[2=1]
+ . <{n=`{read} && ! ~ $#n 0 && read -c $n} >[2=1]
}
- exec tlssrv -a /bin/rc -c 'useringroup $user sys &&&& server'
+ exec tlssrv -a /bin/rc -c 'useringroup $user sys && server'
This checks if the user is in group sys and only then calls the server function. Otherwise the connection
is terminated.
@@ -72,7 +72,7 @@
<id>https://sirjofri.de/changeblog/1594885496/</id>
<link href="https://sirjofri.de/changeblog/1594885496/"/>
<updated>2020-07-16T09:44:56+02:00</updated>
- <content type="html">
+ <content type="text">
@@ -109,7 +109,7 @@
<id>https://sirjofri.de/changeblog/1594881674/</id>
<link href="https://sirjofri.de/changeblog/1594881674/"/>
<updated>2020-07-16T08:41:14+02:00</updated>
- <content type="html">
+ <content type="text">
@@ -252,7 +252,7 @@
<id>https://sirjofri.de/changeblog/1593621046/</id>
<link href="https://sirjofri.de/changeblog/1593621046/"/>
<updated>2020-07-01T18:30:46+02:00</updated>
- <content type="html">
+ <content type="text">
@@ -296,7 +296,7 @@
<id>https://sirjofri.de/changeblog/1593448779/</id>
<link href="https://sirjofri.de/changeblog/1593448779/"/>
<updated>2020-06-29T18:39:39+02:00</updated>
- <content type="html">
+ <content type="text">
@@ -342,7 +342,7 @@
<id>https://sirjofri.de/changeblog/1592917245/</id>
<link href="https://sirjofri.de/changeblog/1592917245/"/>
<updated>2020-06-23T15:00:45+02:00</updated>
- <content type="html">
+ <content type="text">
@@ -371,7 +371,7 @@
<id>https://sirjofri.de/changeblog/1590105600/</id>
<link href="https://sirjofri.de/changeblog/1590105600/"/>
<updated>2020-05-22T02:00:00+02:00</updated>
- <content type="html">
+ <content type="text">
@@ -409,7 +409,7 @@
<id>https://sirjofri.de/changeblog/1578614400/</id>
<link href="https://sirjofri.de/changeblog/1578614400/"/>
<updated>2020-01-10T01:00:00+01:00</updated>
- <content type="html">
+ <content type="text">