ssh Access from the internet

Alex Maynard maynarda-dxuVLtCph9gsA/PxXw9srA at public.gmane.org
Wed May 14 15:55:03 UTC 2008



On Wed, 14 May 2008, Dave Mason wrote:

>>  # /etc/sudoers
>>  #
>>  # This file MUST be edited with the 'visudo' command as root.
>>  #
>>  # See the man page for details on how to write a sudoers file.
>>  #
>>
>>  Defaults        env_reset
>
> Bingo!  Comment out this line and your problem should be resolved.
> However if more than *you* can use sudo, commenting this may introduce
> security problems.

Dave -- Thanks very much.  I'm not sure what the problem is on my 
computer. Even after I uncommented "Defaults env_reset" (using visudo) and 
rebooted I still got the same error message using "sudo ssh-add." (The key 
itself works using sudo and ssh-add works without sudo).

The strange thing is that all I did was install a new version of xubuntu about
a week ago. I didn't mess with the installation at all. I'm not quite sure 
why the default set up would make it so hard to get ssh-add working under sudo.
I never had that difficulty with any version of unbuntu in the past, but this is the most version 
I've installed, so maybe their policy has changed? (In my case, I use this 
computer to back up my files and if I don't back up as roots some files 
get missed due to permissions.)

Alex


>
> ../Dave
> --
> The Toronto Linux Users Group.      Meetings: http://gtalug.org/
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
>
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list