Reset password through terminal?

willytkwillytk Member
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

Comments

  • ToddTodd Member
    Yes, you can...

    0. ssh or rsh into your remote system
    1. cd /Applications/Vine Server.app
    2. 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
  • willytkwillytk Member
    Thanks a lot, that did the trick. Kudos +1.

    Regards,

    Willy T. Koch
    Norway
  • dunpealdunpeal Member
    Hi Nathan,
    Do you know if i can start Vine server remotely from terminal ?
  • JonathanOSXJonathanOSX ForumAdmin admin
    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.
  • Todd wrote:
    Yes, you can...

    0. ssh or rsh into your remote system
    1. cd /Applications/Vine Server.app
    2. 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

    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
Sign In or Register to comment.