DebianEtch-KDE: Difference between revisions

Line 27: Line 27:
'''apt-get install sudo vim'''  
'''apt-get install sudo vim'''  


The packages are installed from the CD itself. To use the ''sudo'' command, first do an '''su -''' in the terminal and enter the root password. Then edit the /etc/sudoers file using '''vi /etc/sudoers'''.
The packages are installed from the CD itself. To use the '''sudo''' command, first open a terminal and '''su -''' to open a root shell. Edit the /etc/sudoers file using '''nano /etc/sudoers'''. If you are comfortable with ''vim'' then use ''vi'' in place of ''nano''.
 
Below the line
 
# User privilege specification
root    ALL=(ALL) ALL
 
Add a similar line and replace root with your user_name. Save the file and exit. Exit from the root shell and now you can use the '''sudo''' command for further setup.