<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Aug 20, 2008 at 1:56 AM, Brian McKee <span dir="ltr"><<a href="mailto:brian.mckee@gmail.com">brian.mckee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Aug 19, 2008 at 4:04 PM, Knapp <<a href="mailto:magick.crow@gmail.com">magick.crow@gmail.com</a>> wrote:<br>
> Don't mean to be mean but the subject of this email IS ssh and tty and<br>
> sudoers file.<br>
> SSH is a server.<br>
> Thus, when I am at home with my computer I want to use sudo but when I am at<br>
> work I really don't need it or does anyone else that might hack into my my<br>
> computer from a remote place thus blocking all people that are not at my<br>
> keyboard is a good idea.<br>
><br>
> Also this computer does have about 10 others that use it. Not a lot but<br>
> enough to make it sort of public.<br>
<br>
</div>Hi Douglas<br>
<br>
I think I'm being dense here. Please, let me know why my suggestion<br>
of blocking the users in the sudo group from using the ssh server does<br>
not fufill your needs? That restricts sudo to the console which I<br>
thought was the goal. Or are you trying to make it 'location aware?'<br>
e.g. you can only sudo when your computer is on a certain network?<br>
<font color="#888888"><br>
Brian</font><br><div><div class="Wj3C7c"></div></div></blockquote><div class="Wj3C7c"> <br><br>I like your suggestion and it would work but it would mean that I would need 2 accounts as would all the other people that might need to use sudo. This is ok but not perfect because as you said it can be limited based on location.</div>
<div><br>So what I would like is for the computer to know when I am at the home keyboard and then allow sudo but not at any other time. Perhpas this is the perfectionist in me cominng out but it also mean less users/passwords for someone to crack.<br>
<br>Thanks,<br><br></div></div>-- <br>Douglas E Knapp<br><br><a href="http://sf-journey-creations.wikispot.org/Front_Page">http://sf-journey-creations.wikispot.org/Front_Page</a><br>
</div>