|
|
Reboot a hung system with Spotlight and Terminal
Why bother with SSH? All you need is a terminal window and you can just enter 'sudo reboot' then the admin password.
Reboot a hung system with Spotlight and Terminal
I think implied was the possibility that you might not be logged in as an administrator (I do not use a privileged userid most of the time). In this case, you still don't need to use ssh, but could just type "su admin_user_name" and type the appropriate password.
Reboot a hung system with Spotlight and Terminal
Yeah, was going to ask the same thing. There's no reason to SSH to your own machine. And if you're only going to execute a single command as root, there's no need to even 'su'. Just 'sudo' the command.
Reboot a hung system with Spotlight and Terminal
ah ssh'ing from another machine - a trick that has saved me on more than one occasion.
Reboot a hung system with Spotlight and Terminal
It is easier to just type: 'login username' rather than ssh. SSH requires remote login to be checked, login always works on a local machine (which is what this hint is for).
In short, replace this: Log into Terminal as an administrator, for example: ssh admin@mycomputername.local (replace admin with the short name of an administrator account, and mycomputername.local with your computer's Bonjour name (see the Sharing preference pane). With this: Log into Terminal as an administrator; for example: login admin (replace admin with the short name of an administrator account). Simple as pie... ;)
Reboot a hung system with Spotlight and Terminal
Very cool, my suggestion was to "su admin" rather than "login admin"
Reboot a hung system with Spotlight and Terminal
IIRC only the Admin-Users are in the sudoers file, so a login would be safer |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.07 seconds |
|