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

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



-----Original Message-----
From: Daryl Styrk [mailto:darylstyrk@gmail.com] 
Sent: Friday, May 22, 2009 6:25 AM
To: debian-user@lists.debian.org
Subject: Re: new to list, new to debian, new to linux

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, May 22, 2009 at 06:14:59AM -0400, George wrote:
> You have to install the sudo package to be able to use 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.

the command 'visudo' should be used to edit the sudoers file according to
the man page. 

"visudo edits the sudoers file in a safe fashion, analogous to vipw(8).
visudo locks the sudoers file against multiple simultaneous edits,
provides basic sanity checks, and checks for parse errors. If the sudoers
file is currently being edited you will receive a message to try again
later."

- --
Daryl Styrk
Naples, FL USA


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoWfXEACgkQ6baBhW8CzrhsqACfUxX6TZKYaqsyBaru2Ekjk/NR
CQoAn0ll2BWCNXIyfojLWzRZXIu18Xxo
=LWmH
-----END PGP SIGNATURE-----


Definitely, I completely forgot about visudo. I am used to installing sudo
for the first package whenever I do a fresh install and am so used to using
vim for everything. 


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


Reply to: