ref: 84ae72fb6450c3834352a3cdaa8610219a74ef96
parent: b1a410674d706622cd93804d64ec1c06f455edac
author: jrmu <jrmu@cloud9p.org>
date: Wed Jun 26 15:37:44 EDT 2024
Fixed error where sys/adm were added to group username, rather than adding username to group sys/adm
--- a/newuser.ms
+++ b/newuser.ms
@@ -4,16 +4,21 @@
To put $username in group sys:
-; echo 'newuser $username +sys' >> /srv/cwfs.cmd
+; echo 'newuser sys +$username' >> /srv/cwfs.cmd
+To put $username in group adm:
+
+; echo 'newuser adm +$username' >> /srv/cwfs.cmd
+
Or for interactive usage:
; con -Cl /srv/cwfs.cmd
newuser $username
-To put $username in group sys:
+To put $username in groups sys and adm:
-newuser $username +sys
+newuser sys +$username
+newuser adm +$username
Type ctrl+\ to escape, then quit.