[ZendTo] Adding Users?

Jules Jules at Zend.To
Sat May 23 10:50:29 BST 2020


Michael,

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.

So <username> means "put the username here".
Don't actually include the '<' or '>' characters.

So the example below is entered correctly as this command:
sudo /opt/zendto/bin/adduser 'mjimlay' 'it at dellconsultingllc.com' 
'Michael Imlay' 'Dell Consulting'

And then, as Chris says, if you want the user mjimlay to be a ZendTo 
admin, edit your /opt/zendto/config/preferences.php, find the setting 
'authAdmins' and set it to this:
   'authAdmins' => array('mjimlay'),
Don't forget to put the comma on the end of the line!

Then you should be able to immediately log in to your ZendTo site as the 
new username.

Cheers,
Jules.

On 22/05/2020 21:55, Chris Venter via ZendTo wrote:
> Hi Michael
>
> Not sure if I am reading the example right but try this without the 
> </opt/zendto/config/preferences.php>
>
> Like so
> sudo /opt/zendto/bin/adduser '<mjimlay>' '<it at dellconsultingllc.com 
> <mailto:it at dellconsultingllc.com>>' '<Michael Imlay>' '<Dell Consulting>'
>
> Run it with no arguments to see the syntax
> sudo /opt/zendto/bin/adduser
>
>   usage:
>
>    /opt/zendto/bin/adduser '<username>' '<email>' '<realname>' 
> '<organization>'
>
> 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
>
> // These are the usernames of the ZendTo administrators at your site.
> // Regardless of how you login, these must be all lower-case.
>   'authAdmins'   => array('mjimlay','name2_here','name3_here'),
>
> Cheers
> Chris
>
>
>
> On Fri, 22 May 2020, 21:06 Michael Imlay via ZendTo, <zendto at zend.to 
> <mailto:zendto at zend.to>> wrote:
>
>     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:
>
>     [root at securefile ~]# sudo /opt/zendto/bin/adduser
>     </opt/zendto/config/preferences.php> '<mjimlay>'
>     '<it at dellconsultingllc.com <mailto:it at dellconsultingllc.com>>'
>     '<Michael Imlay>' '<Dell Consulting>'
>
>     [root at securefile ~]# sudo /opt/zendto/bin/listusers
>     </opt/zendto/config/preferences.php>
>
>     -bash: syntax error near unexpected token `newline'
>
>     [root at securefile ~]# sudo /opt/zendto/bin/adduser
>     </opt/zendto/config/preferences.php> 'mjimlay'
>     'it at dellconsultingllc.com <mailto:it at dellconsultingllc.com>'
>     'Michael Imlay' 'Dell Consulting' [root at securefile ~]# sudo
>     /opt/zendto/bin/listusers </opt/zendto/config/preferences.php>
>
>     -bash: syntax error near unexpected token `newline'
>
>     [root at securefile ~]# /opt/zendto/bin/listusers
>     </opt/zendto/config/preferences.php>
>
>     -bash: syntax error near unexpected token `newline'
>
>     [root at securefile ~]#
>
>     Thanks again,
>
>     Michael Imlay
>
>     DELL LOGO
>
>     Michael Imlay
>
>     IT & Telecommunications Designer
>
>     129 East Government Street
>
>     Pensacola, FL 32502
>
>     Direct:  850-332-2084
>     Office:  850-332-5687 x117
>
>     Cell:       850-737-9219
>
>     IT at DellConsultingLLC.com <mailto:IT at DellConsultingLLC.com>
>
>     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.
>
>     _______________________________________________
>     ZendTo mailing list
>     ZendTo at zend.to <mailto:ZendTo at zend.to>
>     http://jul.es/mailman/listinfo/zendto
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto

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

www.Zend.To
Twitter: @JulesFM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200523/711effb0/attachment-0001.html>


More information about the ZendTo mailing list