NYCPHP Meetup

NYPHP.org

[joomla] The admin user can be deleted safely.

charles simonton charles.simonton at gmail.com
Tue Jul 9 18:22:31 EDT 2013


If you have direct access to the database you can delete the admin user
that was created for you without creating another administrative user. If
you wish to use an administrative user at a later time you can insert the
row containing an administrative user into your #__users table (replace #_
with your Joomla sites database prefix this is the way you will see table
names referred to in Joomla and component source code). If you use the same
user ID as the original administrative account you will not need to modify
any other tables. However, if you wish to use a new user ID you must also
modify the #__user_group_map table to assign Super User group privileges to
your new user.

Some installed components may only allow special privileges, to the super
user who installed them (e.g. VirtueMart, I believe they check by user ID)
or other potentially quirky or otherwise bad coding practices so be warned.

You can very easily create a new Joomla user admin or otherwise from
another Joomla installation; say one on your localhost. If the one you use
is a copy of the Joomla site you are working on the group privileges will
also be created for you properly. Simply insert the rows associated with
that users id into the site you wish to update's user and group-map tables.

For simplicity and most purposes, however I would agree with the first
response; that changing the username of the super user should be sufficient.




On Tue, Jul 9, 2013 at 5:09 PM, <joomla-request at lists.nyphp.org> wrote:

> Send Joomla mailing list submissions to
>         joomla at lists.nyphp.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.nyphp.org/mailman/listinfo/joomla
> or, via email, send a message with subject or body 'help' to
>         joomla-request at lists.nyphp.org
>
> You can reach the person managing the list at
>         joomla-owner at lists.nyphp.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Joomla digest..."
>
>
> Today's Topics:
>
>    1. Can the admin user login be deleted? (Janet Sullivan)
>    2. Re: Can the admin user login be deleted? (Owain M Baber)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 9 Jul 2013 14:05:40 -0700 (PDT)
> From: Janet Sullivan <jmsullivan50 at yahoo.com>
> To: "joomlanyc at yahoogroups.com" <joomlanyc at yahoogroups.com>,    NYPHP
>         Joomla <joomla at lists.nyphp.org>
> Subject: [joomla] Can the admin user login be deleted?
> Message-ID:
>         <1373403940.51905.YahooMailNeo at web122305.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> The software that my hosting provider uses to do a joomla install
>
> automatically sets up a user "admin" with super user privileges.
>
> If I add another user with super user privileges, can I safely delete the
> "admin" user...
> I feel like it's a invitation for someone to hack into the site....
> Thanks!
>
> ?
> Janet
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.nyphp.org/pipermail/joomla/attachments/20130709/10f96bcd/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 9 Jul 2013 22:08:13 +0100
> From: "Owain M Baber" <owain.baber at mihia.co.uk>
> To: "'NYPHP SIG: Joomla'" <joomla at lists.nyphp.org>
> Subject: Re: [joomla] Can the admin user login be deleted?
> Message-ID: <010601ce7ce8$6f2f70c0$4d8e5240$@mihia.co.uk>
> Content-Type: text/plain; charset="us-ascii"
>
> Why not just change the username for 'admin'
>
>
>
> From: joomla-bounces at lists.nyphp.org [mailto:
> joomla-bounces at lists.nyphp.org]
> On Behalf Of Janet Sullivan
> Sent: 09 July 2013 22:06
> To: joomlanyc at yahoogroups.com; NYPHP Joomla
> Subject: [joomla] Can the admin user login be deleted?
>
>
>
> The software that my hosting provider uses to do a joomla install
>
> automatically sets up a user "admin" with super user privileges.
>
>
>
> If I add another user with super user privileges, can I safely delete the
> "admin" user...
>
> I feel like it's a invitation for someone to hack into the site....
>
> Thanks!
>
>
>
> Janet
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.nyphp.org/pipermail/joomla/attachments/20130709/b335c5ea/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> Joomla mailing list
> Joomla at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> End of Joomla Digest, Vol 79, Issue 1
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20130709/041a539f/attachment-0001.html>


More information about the Joomla mailing list