[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: new to list, new to debian, new to linux



On Fri, 22 May 2009 06:14:59 -0400, George posted:

> You have to install the sudo package to be able to use sudo.
> 
> 
>  
> If you want to install sudo you will first need to open a terminal and
> type:
> 
> $ su
> 
> $<enter password>
> 
> # aptitude update <- let it do it’s thing and it will tell you if there
> are any updates
> 
> # aptitude safe-upgrade <- let it do it’s upgrade
> 
> # aptitude install sudo < let it install sudo
> 
> # vim /etc/sudoers < now you can edit the sudoers file and add your
> username. The new line will look just like the line for root except
> replace root with your username.
> 
> 
>  
> You should then be able to use sudo to run root commands.
> 

George,
You've just advised an obvious newbie (stated in post) on how to make his
system insecure. Giving ALL=(All) ALL rights to a normal user is pretty
much the same as running as root and is not recommended on a Debian
system. It is what was asked for, sort of, but he may not have have
realized the significance.

In addition you didn't advise to do a full-upgrade after the safe-upgrade
so it's possible that some packages on the system might not be upgraded.

And, you did it with a top-post and with HTML. Please don't top-post and
please use text only for the mailing list.

Dwain,
It is insecure to give a normal user *all* root rights with sudo. Since
you could use the Synaptic GUI package manager by entering root password,
you could upgrade from there or use the command line tool Aptitude by su
to root in the terminal before entering the aptitude commands. 

Just to be clear dwain, you are talking about a Debian Lenny install
aren't you, not one of the *buntu releases? The *buntu releases are
configured differently from Debian and included an "sudoer", by default
with install.


Reply to: