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-requ...@lists.nyphp.org> wrote:

> Send Joomla mailing list submissions to
>         joomla@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-requ...@lists.nyphp.org
>
> You can reach the person managing the list at
>         joomla-ow...@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 <jmsulliva...@yahoo.com>
> To: "joomla...@yahoogroups.com" <joomla...@yahoogroups.com>,    NYPHP
>         Joomla <joomla@lists.nyphp.org>
> Subject: [joomla] Can the admin user login be deleted?
> Message-ID:
>         <1373403940.51905.yahoomail...@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.ba...@mihia.co.uk>
> To: "'NYPHP SIG: Joomla'" <joomla@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-boun...@lists.nyphp.org [mailto:
> joomla-boun...@lists.nyphp.org]
> On Behalf Of Janet Sullivan
> Sent: 09 July 2013 22:06
> To: joomla...@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@lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> End of Joomla Digest, Vol 79, Issue 1
> *************************************
>
_______________________________________________
New York PHP SIG: Joomla! Mailing List
http://lists.nyphp.org/mailman/listinfo/joomla

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to