<div dir="ltr">the uptime command works fine<div><br></div><div>switching back to the shutdown one though gives me:</div><div><br></div><div><br></div><div><div><br></div><div>debug1: client_input_channel_req: channel 0 rtype exit-status reply 0</div>
<div>debug1: client_input_channel_req: channel 0 rtype <a href="mailto:eow@openssh.com">eow@openssh.com</a> reply 0</div><div>shutdown: Need to be root</div><div>debug1: channel 0: free: client-session, nchannels 1</div><div>
Connection to 10.0.100.38 closed.</div><div>Transferred: sent 3168, received 2328 bytes, in 0.2 seconds</div><div>Bytes per second: sent 13056.5, received 9594.5</div></div><div><br></div><div><br></div><div><br></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 2 October 2013 11:24, Paul Littlefield <span dir="ltr"><<a href="mailto:info@paully.co.uk" target="_blank">info@paully.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 02/10/13 11:14, Dan Attwood wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
done that and it asked me for a password.<br>
</blockquote>
<br></div>
Have you set a passwordless SSH key?<br>
<br>
It might be a 'sudo user' thing. Apparently, there can be a difference between the user logging in and the user running the 'sudo' command.<br>
<br>
e.g.<br>
<br>
user1 --> ssh --> server --> then --> sudo as 'user2' --> command<br>
<br>
<br>
Yes, it should pick up who you are "logging in as" as be "that person".<br>
<br>
However,just to be absolutely sure try...<br>
<br>
ssh -v -t <a href="mailto:administrator@10.0.100.38" target="_blank">administrator@10.0.100.38</a> 'sudo -u administrator uptime'<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
<br>
Paul Littlefield<br>
<br>
Telephone: <a href="tel:07801%20125705" value="+447801125705" target="_blank">07801 125705</a><br>
Email: <a href="mailto:info@paully.co.uk" target="_blank">info@paully.co.uk</a><br>
Web: <a href="http://www.paully.co.uk" target="_blank">http://www.paully.co.uk</a><br>
Twitter: <a href="https://twitter.com/paullittlefield" target="_blank">https://twitter.com/<u></u>paullittlefield</a><br>
Wiki: <a href="http://wiki.indie-it.com/index.php?title=Special:AllPages" target="_blank">http://wiki.indie-it.com/<u></u>index.php?title=Special:<u></u>AllPages</a><br>
Blog: <a href="http://www.littlefield.info" target="_blank">http://www.littlefield.info</a><br>
Photo: <a href="http://gravatar.com/plittlefield" target="_blank">http://gravatar.com/<u></u>plittlefield</a><br>
LinkedIn: <a href="http://uk.linkedin.com/in/paullittlefield" target="_blank">http://uk.linkedin.com/in/<u></u>paullittlefield</a><br>
Trakt: <a href="http://trakt.tv/user/plittlefield" target="_blank">http://trakt.tv/user/<u></u>plittlefield</a><br>
<br>
Paul Littlefield is environmentally responsible. Please consider the environment before printing this email. This email and any attachment is intended for the named addressee only, or person authorised to receive it on their behalf. The content should be treated as confidential and the recipient may not disclose this message or any attachment to anyone else without authorisation. If this transmission is received in error please notify the sender immediately and delete this message from your email system. All electronic transmissions to and from me are recorded and may be monitored. Finally, the recipient should check this email and any attachments for viruses. Paul Littlefield accepts no liability for any damage caused by any virus transmitted by this email.<br>
<br>
Notebook LENOVO ThinkPad Edge<br>
Intel(R) Core(TM) i3 CPU U 380 @ 1.33GHz<br>
Portage 2.1.12.2 (default/linux/amd64/13.0/<u></u>desktop, gcc-4.7.2, glibc-2.15-r3, 3.10.7-gentoo x86_64)<br>
Gentoo Base System release 2.1<br>
This is a pre-release version of the X server from The X.Org Foundation.<br>
latest version in the X.Org Foundation git repository.<br>
X.Org X Server 1.14.2.902 (1.14.3 RC 2)<br>
xfce-base/xfdesktop-4.10.2<br>
x11-drivers/xf86-video-intel-<u></u>2.21.15<br>
<br>
______________________________<u></u>_________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk" target="_blank">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/<u></u>mailman/listinfo/kent</a><br>
</div></div></blockquote></div><br></div>