Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Re: vi



 On Sat, 26 Jan 2008 17:17:37 -0500 
jbk <[hidden email]> wrote: 

> I need to add a user to sudoers and that must be done with 
> visudo. I don't use vi and it is not installed. I can start 
> visudo and enter the text but I have no idea how to exit and 
> save the file. I had to kill the terminal to get out of it. 

While I think it is a good thing to use vi, you actually can use any 
text editor. Just make sure that the /etc/sudoers file remains 
read-only for owner and group, and owned by root and in the root group. 
And also make sure there are no backup files, such as /etc/sudoers~ 


-- 
-- 
Jerry Feldman <[hidden email]> 
Boston Linux and Unix 
PGP key id: 537C5846 
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846 
_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org