Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

29.01.2008 17:36:46
Graceful Reboot
View

This posting is older than 6 months and can contain outdated information.
Felix, 
I've just realized that (I think) my VNC session has gone stale and I needed to remotely reboot.

I've issued the reboot command from within RB, but there are a couple apps that were running that are preventing the reboot from happening. Can you include a forced reboot option? Is that possible?

User

01.02.2008 14:10:01
Re: Graceful Reboot
View

This posting is older than 6 months and can contain outdated information.
I'm afraid this is not possible.

You can force a reboot by entering

sudo shutdown -r now

into Terminal.app, yet it requires you to enter your superuser / 
root / admin password or set the suid bit on the shutdown command. 
None of both is recommendable or really viable imo.

Best regards, 
Felix Schwarz 

User

01.02.2008 23:56:04
Re: Graceful Reboot
View

This posting is older than 6 months and can contain outdated information.
you can also make an applescript to do that and not require you to enter the admin password.

here is the script, just paste it in the script editor, change your admin password and save as an application. 
To make sure that no one can read the content of the script and find out your password save it with the "run only" option also.

------------------------------------------------

do shell script "shutdown -r now" ¬ 
password "yourAdminPassword" with administrator privileges

User

02.02.2008 12:20:16
Re: Re: Graceful Reboot
View

This posting is older than 6 months and can contain outdated information.
Thanks for this contribution. I didn't know AppleScript could do 
that ;-)

Yet, compiling the script will most likely not hide your password, as 
strings - other than source code of course - are usually stored as 
plain text across all compilers.

Best regards, 
Felix Schwarz