[ZendTo] Admin user account disable

Rahul Kumar rahulkumar.imps at gmail.com
Thu Mar 5 09:37:31 GMT 2020


Hi ,

please check te error below,

/opt/zendto/bin# ./deleteuser.php admin
PHP Notice:  Undefined index: SERVER_PORT in /opt/zendto/lib/NSSDropbox.php
on line 41
PHP Notice:  Undefined index: HTTPS in /opt/zendto/lib/NSSDropbox.php on
line 42
PHP Notice:  Undefined index: HTTPS in /opt/zendto/lib/NSSDropbox.php on
line 48
PHP Notice:  Undefined index: SERVER_NAME in /opt/zendto/lib/NSSDropbox.php
on line 48
PHP Notice:  Undefined index: REQUEST_URI in /opt/zendto/lib/NSSDropbox.php
on line 48
Failed: Aborting deleting user admin as that user does not exist

Thanks,
Rahul Kumar
Contact(M): 9958664330


On Thu, Mar 5, 2020 at 1:19 PM Chris Venter via ZendTo <zendto at zend.to>
wrote:

> Hi Rahul
>
> Are you talking about a local admin account created for the Zend.To
> install? If so have a look for the deleteuser script and remove the local
> account using that not sure on the version but the syntax example on my
> install is:
>
> /opt/zendto/bin$ ./deleteuser
>
>   usage:
>
>    ./deleteuser '<username>'
>
> Hope that helps.
>
> On Thu, 5 Mar 2020 at 07:33, Rahul Kumar via ZendTo <zendto at zend.to>
> wrote:
>
>> hi Jules,
>>
>> i checked , config showing me this  'authAdmins'           =>
>> array('taraf','trou','jone','balla','bickel','holcom'),
>>
>> but my concern is *admin *username which i need to disable, i don't see
>> any username "*admin*" in config files so what could i do?
>>
>>
>> Thanks,
>> Rahul Kumar
>> Contact(M): 9958664330
>>
>>
>> On Wed, Mar 4, 2020 at 3:37 PM Jules Field <Jules at zend.to> wrote:
>>
>>> Rahul,
>>>
>>> My mistake, sorry.
>>> The setting is called 'authAdmins'. So you want to change that line in
>>> preferences.php to
>>>     'authAdmins' => array(),
>>>
>>> Don't forget the trailing comma on the end!
>>>
>>> Cheers,
>>> Jules.
>>>
>>> On 04/03/2020 04:15, Rahul Kumar wrote:
>>>
>>> Hi Jules,
>>>
>>> Thanks for sharing the advise, i would like to go for it but for the
>>> moment i need first to disable the admin login.
>>>
>>> when i checked the config files, there is no such settings for
>>> "adminUsers" , could you please suggest what i can do next.
>>>
>>> Thanks,
>>> Rahul
>>> Thanks,
>>> Rahul Kumar
>>> Contact(M): 9958664330
>>>
>>>
>>> On Tue, Mar 3, 2020 at 5:25 PM Jules Field <Jules at zend.to> wrote:
>>>
>>>> Rahul,
>>>>
>>>> I would strongly advise that you build a new server/VM running the
>>>> latest version of ZendTo. There are a lot of new features and improvements
>>>> that your users might well want to use.
>>>>
>>>> But to answer your question, look in preferences.php. There is a
>>>> setting called "adminUsers". Set that to
>>>>     'adminUsers' => array(),
>>>> and that will mean you have no ZendTo administrators. Everything should
>>>> work fine like that. You will just need to temporarily add whatever
>>>> username is an administrator when you need to carry out any admin tasks
>>>> such as looking at the global list of drop-offs, or unlocking users who
>>>> have been locked out for having failed to many username/password checks in
>>>> a row.
>>>>
>>>> Cheers,
>>>> Jules.
>>>>
>>>> On 03/03/2020 05:21, Rahul Kumar via ZendTo wrote:
>>>>
>>>> Hi ,
>>>>
>>>> i have zendto  Version 4.11  running but i want to disable the Admin
>>>> user account as it is a security issue for us. we already authenticating
>>>> users through ldap.
>>>>
>>>> could someone please help in this ?
>>>>
>>>>
>>>> Thanks,
>>>> Rahul Kumar
>>>> Contact(M): 9958664330
>>>>
>>>> _______________________________________________
>>>> ZendTo mailing listZendTo at zend.tohttp://jul.es/mailman/listinfo/zendto
>>>>
>>>>
>>>> Jules
>>>>
>>>> --
>>>> Julian Field MEng CEng CITP MBCS MIEEE MACM
>>>>
>>>> The current UK shipping forecast:
>>>> Tyne, Dogger: East or southeast, veering west 6 to gale 8, occasionally severe
>>>> gale 9 for a time. Moderate or rough, occasionally very rough in Dogger. Rain,
>>>> then wintry showers. Moderate or poor, occasionally good later.
>>>> www.Zend.To
>>>> Twitter: @JulesFM
>>>>
>>>>
>>> Jules
>>>
>>> --
>>> Julian Field MEng CEng CITP MBCS MIEEE MACM
>>>
>>> The current UK shipping forecast:
>>> Tyne, Dogger: East or southeast, veering west 6 to gale 8, occasionally severe
>>> gale 9 for a time. Moderate or rough, occasionally very rough in Dogger. Rain,
>>> then wintry showers. Moderate or poor, occasionally good later.
>>> www.Zend.To
>>> Twitter: @JulesFM
>>>
>>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://jul.es/mailman/listinfo/zendto
>>
> _______________________________________________
> 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/20200305/442f94d4/attachment-0001.html>


More information about the ZendTo mailing list