<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Michael,<br>
<br>
The <something-here> is a standard convention used in all
Unix/Linux documentation. The <> round it are basically
brackets so that you know it's a parameter and not an absolute bit
of text you need to include.<br>
<br>
So <username> means "put the username here".<br>
Don't actually include the '<' or '>' characters.<br>
<br>
So the example below is entered correctly as this command:<br>
<tt>sudo /opt/zendto/bin/adduser 'mjimlay'
'<a class="moz-txt-link-abbreviated" href="mailto:it@dellconsultingllc.com">it@dellconsultingllc.com</a>' 'Michael Imlay' 'Dell Consulting'</tt><br>
<br>
And then, as Chris says, if you want the user mjimlay to be a ZendTo
admin, edit your <tt>/opt/zendto/config/preferences.php</tt>, find
the setting <tt>'authAdmins'</tt> and set it to this:<br>
<tt> 'authAdmins' => array('mjimlay'),</tt><br>
Don't forget to put the comma on the end of the line!<br>
<br>
Then you should be able to immediately log in to your ZendTo site as
the new username.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 22/05/2020 21:55, Chris Venter via
ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!c6b51ce8f9c0df405f01a8f19ebaebcb0c28add514dcbc3c6e0e32c767e351a185236fcfafdad699588b4d1656eebac4!@mx.jul.es">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="auto">
<div>Hi Michael</div>
<div dir="auto"><br>
</div>
<div dir="auto">Not sure if I am reading the example right but
try this without the
</opt/zendto/config/preferences.php></div>
<div dir="auto"><br>
</div>
<div dir="auto">Like so </div>
<div dir="auto">sudo /opt/zendto/bin/adduser '<mjimlay>'
'<<a href="mailto:it@dellconsultingllc.com"
target="_blank" moz-do-not-send="true">it@dellconsultingllc.com</a>>'
'<Michael Imlay>' '<Dell Consulting>'</div>
<div dir="auto"><br>
</div>
<div>Run it with no arguments to see the syntax</div>
<div>sudo /opt/zendto/bin/adduser<br>
<br>
usage:<br>
<br>
/opt/zendto/bin/adduser '<username>'
'<email>' '<realname>' '<organization>'</div>
<div><br>
</div>
<div dir="auto">Once added to be an 'admin' edit the
preferences file and add your username to the authadmins
list just scroll down the file until you see the following</div>
<div dir="auto"><br>
</div>
<div dir="auto">// These are the usernames of the ZendTo
administrators at your site.<br>
// Regardless of how you login, these must be all
lower-case.<br>
'authAdmins' =>
array('mjimlay','name2_here','name3_here'),</div>
<div dir="auto"><br>
</div>
<div dir="auto">Cheers </div>
<div dir="auto">Chris </div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote" dir="auto">
<div dir="ltr" class="gmail_attr">On Fri, 22 May 2020,
21:06 Michael Imlay via ZendTo, <<a
href="mailto:zendto@zend.to" target="_blank"
moz-do-not-send="true">zendto@zend.to</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p class="MsoNormal">I’m sorry for the batches of
e-mails today. I’m far from a linux guru plus
first time using ZendTo. Anyway. I’m trying to add
users and I the instructions don’t seem clear…
like, I want to make myself a user, set myself a
password, and give myself admin rights and I
believe I’m following the scripts correctly (but
tried two ways just in case) but I can’t see to
get anywhere. This is what I’m running:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[root@securefile ~]# sudo
/opt/zendto/bin/adduser
</opt/zendto/config/preferences.php>
'<mjimlay>' '<<a
href="mailto:it@dellconsultingllc.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">it@dellconsultingllc.com</a>>'
'<Michael Imlay>' '<Dell Consulting>'</p>
<p class="MsoNormal">[root@securefile ~]# sudo
/opt/zendto/bin/listusers
</opt/zendto/config/preferences.php></p>
<p class="MsoNormal">-bash: syntax error near
unexpected token `newline'</p>
<p class="MsoNormal">[root@securefile ~]# sudo
/opt/zendto/bin/adduser
</opt/zendto/config/preferences.php>
'mjimlay' '<a
href="mailto:it@dellconsultingllc.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true">it@dellconsultingllc.com</a>'
'Michael Imlay' 'Dell Consulting'
[root@securefile ~]# sudo
/opt/zendto/bin/listusers
</opt/zendto/config/preferences.php></p>
<p class="MsoNormal">-bash: syntax error near
unexpected token `newline'</p>
<p class="MsoNormal">[root@securefile ~]#
/opt/zendto/bin/listusers
</opt/zendto/config/preferences.php></p>
<p class="MsoNormal">-bash: syntax error near
unexpected token `newline'</p>
<p class="MsoNormal">[root@securefile ~]#</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks again,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Lucida
Handwriting",serif">Michael Imlay</span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times
New Roman",serif"> </span></p>
<p class="MsoNormal"><img
style="width:1.802in;height:.6562in"
id="m_-3828149296532290360m_-4431229593371743217Picture_x0020_1"
src="cid:image001.png@01D6304A.73BABF60"
alt="DELL LOGO" moz-do-not-send="true"
width="173" height="63"></p>
<p class="MsoNormal"><span style="font-size:4.0pt"> </span></p>
<p class="MsoNormal">Michael Imlay</p>
<p class="MsoNormal">IT & Telecommunications
Designer</p>
<p class="MsoNormal">129 East Government Street</p>
<p class="MsoNormal">Pensacola, FL 32502</p>
<p class="MsoNormal"><span style="font-size:4.0pt"> </span></p>
<p class="MsoNormal">Direct: 850-332-2084<br>
Office: 850-332-5687 x117</p>
<p class="MsoNormal">Cell: 850-737-9219 </p>
<p class="MsoNormal"><span style="font-size:4.0pt"> </span></p>
<p class="MsoNormal"><a
href="mailto:IT@DellConsultingLLC.com"
rel="noreferrer" target="_blank"
moz-do-not-send="true"><span style="color:blue">IT@DellConsultingLLC.com</span></a>
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">This email and any files
transmitted with it may contain PRIVILEGED or
CONFIDENTIAL information and may be read or used
only by the intended recipient. If you are not the
intended recipient of the email or any of its
attachments, please be advised that you have
received this email in error and that any use,
dissemination, distribution, forwarding, printing,
or copying of this email or any attached files is
strictly prohibited. If you have received this
email in error, please immediately purge it and
all attachments and notify the sender by reply
email or contact the sender at the number listed.</p>
<p class="MsoNormal"> </p>
</div>
</div>
_______________________________________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to" rel="noreferrer"
target="_blank" moz-do-not-send="true">ZendTo@zend.to</a><br>
<a href="http://jul.es/mailman/listinfo/zendto"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a><br>
</blockquote>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'If I were a Brazilian without land or money or the means to feed
my children, I would be burning the rain forest too.' - Sting
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>