Reset password through terminal?

Hello
I have a Mac G5 at work with the latest Vine server installed, and recently I changed the password. I’m now in another city and of course can’t connect cause I’ve forgottten it.

But I do have terminal access to the G5, so I’m wondering if I can change the login password through the terminal?

Thanks a lot.

Willy T. Koch
Norway

Yes, you can…

  1. ssh or rsh into your remote system
  2. cd /Applications/Vine Server.app
  3. OSXvnc-server -rfbport 5901

and then enjoy the show. You should have a second server up and running on your system that you can then use to configure your first server on same system to change the password.

Cheers

Thanks a lot, that did the trick. Kudos +1.

Regards,

Willy T. Koch
Norway

Hi Nathan,
Do you know if i can start Vine server remotely from terminal ?

Absolutely, inside the application bundle is the server process itself.

/Applications/Vine Server.app/OSXvnc-server

Calling that will launch the process with no arguments. For additional arguments you can call that command with --help or refer to the Appendix in the Vine Server Manual.

[quote=“Todd”]Yes, you can…

  1. ssh or rsh into your remote system
  2. cd /Applications/Vine Server.app
  3. OSXvnc-server -rfbport 5901

and then enjoy the show. You should have a second server up and running on your system that you can then use to configure your first server on same system to change the password.

Cheers[/quote]

Btw, on 2.) the line should read ./OSXvnc-server -rfbport 5901

At least in bash, this must be, if not it looks for OSXvnc-server in the global path.

Cheers!

Willy