users@glassfish.java.net

Re: how to change admin username

From: <glassfish_at_javadesktop.org>
Date: Fri, 23 Feb 2007 10:57:22 PST

Too bad :)

Why don't you try something out (This is NOT supported, so please don't file a bug). This works for the admin-realm that is actually a FileRealm -- which is the case by default.

- stop the domain.
- backup domain-dir/config/admin-keyfile.
- search for "exit" in that file and replace it with user-name of your choice.
- start the domain.
- login to console to see if it works.

If it fails, restore the admin-keyfile :)

If it succeeds, file an RFE for admin subcategory,
at Issue Tracker on GlassFish.dev.java.net.

Thanks,
Kedar
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=204998