[ZendTo] Adding Users?

Chris Venter chris.venter1 at gmail.com
Fri May 22 21:55:39 BST 2020


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>'
'<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> 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>' '<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'
> '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
>
>
>
> [image: 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
>
>
>
> 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
> http://jul.es/mailman/listinfo/zendto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200522/fe36f597/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 9426 bytes
Desc: not available
URL: <http://jul.es/pipermail/zendto/attachments/20200522/fe36f597/attachment.png>


More information about the ZendTo mailing list