[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] root



Louis Tim Larsen skrev i sslug.novice:

> Tak. Kom selv ind i root. Skrev først su - root og bagefter konqueror!

Husk at det generelt er en dårlig ide, at logge på som root, og specielt
starte X op som root.
Du kan gøre ALT som root, hvis du ved en fejl kommer til at slette noget der
ikke må slettes, så bliver det altså slettet.

Istædet så log ind som alm. bruger, og så start en konsol (komandopromt) og
så skift til root med "su -" eller kør de komandoer som kræver root, med
"sudo komando [parmeter]"
Det kan godt ske at du før du kan bruge sudo skal editere i /etc/sudoers.
Der står i filen at du SKAL bruge visudo, men jeg har selv altid brugt
mcedit til det, og ikke oplevet problemer pga. det.

Under afsnittet

# Same thing without a password

sætter du linien herunder ind.

%louis           ALL=(ALL)       NOPASSWD: ALL

så kan du køre hvad der kræver root adgang ved at skrive sudo foran, uden at
skulle indtaste PW hver gang.
Hvis du undlader NOPASSWD: ALL så skal du taste PW ind hvergang, og det er
brugeren louis PW der skal bruges.

-- 
Med venlig hilsen
Ivar Madsen
Hjælp til med at få overblik over CC's ADSL priser efter 22/7. på
http://milli.dk/index.php/CC_priser_post22072005/ !!! NY SIDE !!!
--------------------------------------------------------------------------------


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-09-01, 02:04 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *