Trouble in accessing `/home/USERNAME/.Xauthority'

NoOp glgxg at sbcglobal.net
Thu Mar 18 16:44:50 UTC 2010


On 03/18/2010 12:05 AM, Nils Kassube wrote:
> NoOp wrote:
...
>>  You can do this by:
>> 
>> $ sudo apt-get purge linux-firewall.org
>> The next are only required if you managed to install it completely:
>> $ sudo chown <username>:<usergroup> ~/.Xauthority
>> $ sudo su
>> $ cd /root
>> $ rm .Xauthority
> 
> And you don't want to remove the changes to /etc/sudoers? I don't speak 
> perl, so I don't really understand the lfwsetup script, but I do know 
> that it wants to manipulate the /etc/sudoers file under certain 
> conditions. Could you have a look at your test machine where it was 
> installed and check what was added? The command
> 
> sudo grep linux-firewall /etc/sudoers
> 
> should output the changes.
> 
> 
> Nils
> 

Good catch Nils! Thanks.

It's added to the /etc/sudoers file:
ALL ALL=NOPASSWORD: /usr/bin/linux-firewall.org

For Hamid:
$ sudo visudo
scroll to the last/above line and enter Ctrl-K to remove the line, then
CTRL-X & answer yes to save the changes - be sure the file is saved as
/etc/sudoers, _not_ /etc/sudoers.tmp. You can verify the change by:
$ sudo cat /etc/sudoers
and ensure that 'ALL ALL=NOPASSWORD: /usr/bin/linux-firewall.org' has
been removed.

Note: reason for using visudo is here:
https://help.ubuntu.com/community/Sudoers





More information about the ubuntu-users mailing list