ref: 59010de9c8def735a8229691b65848bea184c355
parent: 95dc8f40e37658bf39746991da74ac6582a62b7f
author: mkf <mkf@x230>
date: Thu Sep 7 07:38:10 EDT 2023
newuser: s/grid/wm
--- a/newuser
+++ b/newuser
@@ -21,15 +21,18 @@
}
if (~ $#* 3) {
+
s=$1
u=$2
p=$3
+
if(test -w /srv/cwfs.cmd){
echo newsuer $1 >> /srv/cwfs.cmd
- chusr $x -s $s -p $p $u
+ wm/chusr $x -s $s -p $p $u
if(~ $run_newuser t)
auth/as $u /sys/lib/newuser
}
+
if not
{
echo 'no cwfs.cmd or access to it'>[2=1]