[ZendTo] Admin user account disable

Massimo Forni Massimo.Forni at turboden.it
Thu Mar 5 12:25:37 GMT 2020


Just disable that user in AD

From: ZendTo <zendto-bounces at zend.to> On Behalf Of Rahul Kumar via ZendTo
Sent: giovedì 5 marzo 2020 13:03
To: Jules Field <Jules at zend.to>
Cc: Rahul Kumar <rahulkumar.imps at gmail.com>; ZendTo Users <zendto at zend.to>
Subject: Re: [ZendTo] Admin user account disable

Issue is my zendto is authentication through AD users but somehow admin userid is also working whose password i am unable to change or delete that user admin.


Thanks,
Rahul Kumar
Contact(M): 9958664330


On Thu, Mar 5, 2020 at 4:08 PM Jules Field <Jules at zend.to<mailto:Jules at zend.to>> wrote:

On 05/03/2020 09:37, Rahul Kumar via ZendTo wrote:
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
Don't worry about them, they are harmless.


Failed: Aborting deleting user admin as that user does not exist
So there isn't any local user (in ZendTo) called "admin".

ZendTo doesn't automatically create *any* accounts of any sort when you install it. There are no "default admin credentials" or anything like that.

If you want to delete an account called "admin", you first need to find where it is. You have just proved it's not part of ZendTo itself.

Cheers,
Jules.




Thanks,
Rahul Kumar
Contact(M): 9958664330


On Thu, Mar 5, 2020 at 1:19 PM Chris Venter via ZendTo <zendto at zend.to<mailto: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<mailto: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<mailto: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<mailto: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 list

ZendTo at zend.to<mailto:ZendTo at zend.to>

http://jul.es/mailman/listinfo/zendto<https://urldefense.com/v3/__http:/jul.es/mailman/listinfo/zendto__;!!BYEqwblc0Q!i8Ww3l1IbvlBGhncUGvGA6xRtVaInAXN_wNm4uzn5sV3NIpMuk8kmyvRAfIR4DsNbLaACA$>



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<https://urldefense.com/v3/__http:/www.Zend.To__;!!BYEqwblc0Q!i8Ww3l1IbvlBGhncUGvGA6xRtVaInAXN_wNm4uzn5sV3NIpMuk8kmyvRAfIR4DtLJ_u2Mg$>

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<https://urldefense.com/v3/__http:/www.Zend.To__;!!BYEqwblc0Q!i8Ww3l1IbvlBGhncUGvGA6xRtVaInAXN_wNm4uzn5sV3NIpMuk8kmyvRAfIR4DtLJ_u2Mg$>

Twitter: @JulesFM
_______________________________________________
ZendTo mailing list
ZendTo at zend.to<mailto:ZendTo at zend.to>
http://jul.es/mailman/listinfo/zendto<https://urldefense.com/v3/__http:/jul.es/mailman/listinfo/zendto__;!!BYEqwblc0Q!i8Ww3l1IbvlBGhncUGvGA6xRtVaInAXN_wNm4uzn5sV3NIpMuk8kmyvRAfIR4DsNbLaACA$>
_______________________________________________
ZendTo mailing list
ZendTo at zend.to<mailto:ZendTo at zend.to>
http://jul.es/mailman/listinfo/zendto<https://urldefense.com/v3/__http:/jul.es/mailman/listinfo/zendto__;!!BYEqwblc0Q!i8Ww3l1IbvlBGhncUGvGA6xRtVaInAXN_wNm4uzn5sV3NIpMuk8kmyvRAfIR4DsNbLaACA$>


_______________________________________________

ZendTo mailing list

ZendTo at zend.to<mailto:ZendTo at zend.to>

http://jul.es/mailman/listinfo/zendto<https://urldefense.com/v3/__http:/jul.es/mailman/listinfo/zendto__;!!BYEqwblc0Q!i8Ww3l1IbvlBGhncUGvGA6xRtVaInAXN_wNm4uzn5sV3NIpMuk8kmyvRAfIR4DsNbLaACA$>



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<https://urldefense.com/v3/__http:/www.Zend.To__;!!BYEqwblc0Q!i8Ww3l1IbvlBGhncUGvGA6xRtVaInAXN_wNm4uzn5sV3NIpMuk8kmyvRAfIR4DtLJ_u2Mg$>

Twitter: @JulesFM

--

Massimo Forni
ICT Infrastructure Manager

Mobile: +393474110278

________________________________

Turboden S.p.A. I via Cernaia 10 I 25124 Brescia I Italy
t. +39 030 3552001 I f. +39 030 3552011
www.turboden.com<http://www.turboden.com>


Confidentiality notice: this message, together with its attachments, may contain strictly confidential and/or legally privileged information and it is destined solely to the intended addressee(s), who only may use it under his/their responsibility. Opinions, conclusions and other information contained in this message, that do not relate to the official business of this firm, shall be considered as not given or endorsed by it. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Any use, disclosure, copying or distribution of the contents of this communication by a not-intended recipient or in violation of the purposes of this communication is strictly prohibited and may be unlawful.

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


More information about the ZendTo mailing list