how to recover password, etc?

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

how to recover password, etc?

LawsonEnglish
How do I recover the admin's password?

I tried adding a user but couldn't make it a superuser.

k := PRKernel allInstances.
myKernel := k at:1

u := (PUUser named: 'newName') password: 'newPassword'.

(myKernel propertyAt: #users) add: u.

u addGroup: adminGroup.     "error"
u superuser: true. "this doesn't work"


Thanks.


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

Re: how to recover password, etc?

Nick
Perhaps the code in PRKernel>>adminUser might help


On 27 July 2010 21:21, Lawson English <[hidden email]> wrote:
How do I recover the admin's password?

I tried adding a user but couldn't make it a superuser.

k := PRKernel allInstances.
myKernel := k at:1

u := (PUUser named: 'newName') password: 'newPassword'.

(myKernel propertyAt: #users) add: u.

u addGroup: adminGroup.     "error"
u superuser: true. "this doesn't work"


Thanks.


Lawson
_______________________________________________
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: how to recover password, etc?

LawsonEnglish
On 7/27/10 1:30 PM, Nick Ager wrote:
> Perhaps the code in PRKernel>>adminUser might help
>
Thanks. Tried all sorts of things but still can't get it to work.

I forgot the password to administer pier, but there's no way to do admin
stuff that I can see. Can't even add a new admin user.


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