Resetting admin passwork from the image

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Resetting admin passwork from the image

Offray
Hi all,

It seems that I as pretty tired when I made my last changes in the image
in the processo to make it ready for a public site and I forgot the
admin password. There is any way to reset it from the image (instead of
the web interface)?

Thanks,

Offray
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Resetting admin passwork from the image

Lukas Renggli
You can inspect "PRKernel instances" that contains a list of Pier instances.

Navigate to your Pier instance, and then into "properties" and
"users". From that list inspect the user you want to change and
evaluate "self password: 'password'".

Cheers,
Lukas

On 16 August 2011 22:17, Offray Vladimir Luna Cárdenas
<[hidden email]> wrote:

> Hi all,
>
> It seems that I as pretty tired when I made my last changes in the image in
> the processo to make it ready for a public site and I forgot the admin
> password. There is any way to reset it from the image (instead of the web
> interface)?
>
> Thanks,
>
> Offray
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Resetting admin passwork from the image

Dale Henrichs
I just now had a reason to programmatically change the admin password for pier and here's the expression that I used:

(((WADispatcher default handlerAt: 'pier')
  preferenceAt:  #kernel)
    propertyAt: #adminUser)
      password: 'newPassword'


Tweak the dispatcher lookup to match your pier path...

Dale

----- Original Message -----
| From: "Lukas Renggli" <[hidden email]>
| To: "Pier and Related Tools Magritte ..." <[hidden email]>
| Sent: Tuesday, August 16, 2011 1:23:32 PM
| Subject: Re: Resetting admin passwork from the image
|
| You can inspect "PRKernel instances" that contains a list of Pier
| instances.
|
| Navigate to your Pier instance, and then into "properties" and
| "users". From that list inspect the user you want to change and
| evaluate "self password: 'password'".
|
| Cheers,
| Lukas
|
| On 16 August 2011 22:17, Offray Vladimir Luna Cárdenas
| <[hidden email]> wrote:
| > Hi all,
| >
| > It seems that I as pretty tired when I made my last changes in the
| > image in
| > the processo to make it ready for a public site and I forgot the
| > admin
| > password. There is any way to reset it from the image (instead of
| > the web
| > interface)?
| >
| > Thanks,
| >
| > Offray
| > _______________________________________________
| > Magritte, Pier and Related Tools ...
| > https://www.iam.unibe.ch/mailman/listinfo/smallwiki
| >
|
|
|
| --
| Lukas Renggli
| www.lukas-renggli.ch
|
| _______________________________________________
| Magritte, Pier and Related Tools ...
| https://www.iam.unibe.ch/mailman/listinfo/smallwiki
|

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Resetting admin passwork from the image

Offray
In reply to this post by Lukas Renggli
Hi,

El 16/08/11 15:23, Lukas Renggli escribió:
> You can inspect "PRKernel instances" that contains a list of Pier instances.
>
> Navigate to your Pier instance, and then into "properties" and
> "users". From that list inspect the user you want to change and
> evaluate "self password: 'password'".
>
> Cheers,
> Lukas


Ahhh that's really nice!!! It works so well. I really like the
introspective nature of Smalltalk.

Cheers,

Offray

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki