mercredi 31 décembre 2014

How to run root commands?


I install CentOS 6.5, during the installation it asks me to define a new user, I define sampleUser and a password for it. Then, after installation, I log in into my account and open terminal. But when I do the following:



sudo do --something


It throws an error:



sampleUser is not in the sudoers file. This incident will be reported.


What should I do ? (Currently I solve the problem by logging as root user which seems a little odd).



Aucun commentaire:

Enregistrer un commentaire