Linux User Group of Mauritius Promoting open source software in our beautiful island

25Oct/102

Recovering GlusterFS password

Posted by Selven

recover or reset gluster password

Well, drinking too much is bad, you shouldn't. I recently had a gfs installation which  i have changed the default password, password which i happenned to have forgotten.

Since there was no forgot password option, i decided to look around if  there was anybody who ever bumped into this, couldn't seem to find anything [ph33r my leet googling skills :p].

Anyways, after searching and searching i realized i would be better off following the code. I had no clue where they had it, but thankfully, i was able to boot the gluster machine into single user mode [ am not going into the boring details http://www.google.mu/search?hl=en&q=boot+linux+grub+into+single+usermode&aq=f&aqi=&aql=&oq=&gs_rfai= ]

once inside, type this:

cat /GLUSTER/webagent.auth

ofcourse you can use vi or nano or whatever text editors they have there, the password is stored in clear text.

I guess this should save someone some times, since i lost like 15 minutes looking through the codes  through which way was it doing authentication since it kept referencing functions from this or that file. I had to go through /var/www/html/modules/login/index.php, /var/www/html/classes/user-authentication.class.php,  /var/www/html/modules/setting/change-password.php to finally get a clue to where it was storing the password.

Hope it helps.

+selven

pcthegreat@gmail.com / sch@csis.dk

Filed under: Uncategorized 2 Comments
17Jul/100

LUGM meeting sat 24 July 2010

Posted by Selven

No technical presentations planned.
Agenda: Discuss about the lug event.
Time ~ 10.30
Venue: Linkbynet indian ocean, Mauritius, Orbis court, quatre bornes. [gimme a call if you are need to find your way (49 24 9 1 8 )]
Date: 24/07/2010

+selven

Filed under: Uncategorized No Comments
22Feb/101

LUG Meeting 22/02/2010 (Orbis court)

Posted by Selven

Dear member, please note that this week we shall be having our monthly
meeting on this saturday, the 22nd.

My sincere apologies this is quite short notice, i have been busy and
had to confirm with the president :p

Time : 10hr30

location: Orbis Court 8th floor (lift up to 7 and walk up to 8th.), Quatres Bornes, linkbynet indian ocean's new headquarters infront of (20/vin)

Presentation: This week there shall be a presentation by logan (saved again by the gud ole gnukid)

Agenda : Discussion about paper work, plan for this year (if executive members come)

We hope to have your presence on this event.

Please confirm your presence via mailing list [discuss@lugm.org] or
post a comment on the blog entry.

Cheers

+selven

Secretary of the LUG

Filed under: Uncategorized 1 Comment
19Jan/104

lugm meeting 23/01/10 [POSTPONED TO THE 6 OF FEBRUARY]

Posted by Selven

Dear member,

please note that this week we shall be having our monthly meeting on this saturday, the 23rd.

My sincere apologies this is quite short notice, i have been busy and had to confirm with the president :p

  • Time: 10hr30
  • location: Linkbynet, 2nd Floor BG court, St jean, Quatres Bornes
  • Map for your convenience :http://thegodof.net/images/maplugm.png
  • Presentation: This week there shall be a presentation by mahen who will talk about how we can advocate the use of opensource software. However, due to unforseen circumstances, Mahen had no choice but to postpone his presentation. The presentation will be: Balancing security and performance on servers.
  • Agenda : Discussion about paper work, plan for this year

We hope to have your presence on this event. Please confirm your presence via mailing list [discuss (AT) lugm.org] or post a comment on the blog entry.

Cheers +selven

Secretary of the LUG

16Dec/091

LUGM meeting 19th December 09

Posted by Selven

Dear member, please note that this week we shall be having our monthly
meeting on this saturday, the 19th.

My sincere apologies this is quite short notice, i have been busy and
hence was unable to send
a notification earlier.. If there's less than 5 confirmations by
friday 11AM, the meeting shall be postponed.

Time : 10hr00

location: Linkbynet, 2nd Floor BG court, St jean, Quatres Bornes

Map for your convenience :http://thegodof.net/images/maplugm.png

Agenda : Discussion about paper work

We hope to have your presence on this event.

Until further notice, logan shall be doing this months technical presentation.
(damned he should be given free food for always having a presentation
at any time!)

Please confirm your presence via mailing list [discuss@lugm.org] or
post a comment on the blog entry.

Cheers

+selven

Secretary of the LUG

Filed under: Uncategorized 1 Comment
1Nov/095

Lugm meeting November 2009

Posted by Selven

Dear member, please note that this week we shall be having our monthly
meeting on this saturday, the 7th.

Time : 10hr00

location: Linkbynet, 2nd Floor BG court, St jean, Quatres Bornes

Map for your convenience :http://thegodof.net/images/maplugm.png

Agenda : Registration done, now what?

We hope to have your presence on this event.

Until further notice, shaan shall be doing a presentation this week
[unless sometihng comes up]. Please stay tuned for updates.

Please confirm your presence via mailing list [discuss@lugm.org] or
post a comment on the blog entry.

Meeting shall be postponed in case there's less than 5 confirmations.

Cheers

+selven

Secretary of the LUG

Filed under: Uncategorized 5 Comments
15Sep/093

nano configs

Posted by Selven

Like most of you who don't like to get into those religious wars about editors of emac vs vi, we tend to prefer to use nano, simple, and light!

The side of peace :).

Screenshot

But after using nano sometimes, you soon begin to miss those features which you used to have in other editors, e.g syntax highlighting or tabspace etc.

No need to worry lil hippie, nano has these abilities 🙂 you don't need to envy those unsexy editors out there anymore.

Here's my default nano configuration which you might want to use.

~/.nanorc

set tabsize 4
set autoindent
set nowrap
include "/usr/local/share/nano/c.nanorc"
include "/usr/local/share/nano/perl.nanorc"
include "/usr/local/share/nano/sh.nanorc"
include "/usr/local/share/nano/html.nanorc"
include "/usr/local/share/nano/php.nanorc"
include "/usr/local/share/nano/php2.nanorc"

Since am on FreeBSD the synthax highlighting files are located in /usr/local/share/nano, if you are on linux, you might wanna look in /usr/share/nano/

You  can find more syntax highlighting config files here

This is just a simple configuration which will set your tabspace to 4, allow auto indentation, no line wrapping and some syntax highlight 😀 the only things that a use will ever need out of an editor.

Please don't rant that nano can't do magical stuffs :p it is an editor and nothing more [unlike some other things which claims to be editors :p].

+selven

Filed under: Uncategorized 3 Comments
28Jun/091

Conference Joomla

Posted by ronny

Hello
Vu sur weekend: une conf sur joomla/mysql cluster par des personnes de mySQL, yahoo!, Joomla Core Team ...

Cela se ferra le 18 et 19 juillet au swami vivekananda, Pailles.

www.multievents.mu

Filed under: Uncategorized 1 Comment