Page 1 of 1

set up as user

PostPosted: Dec 28th, '17, 22:03
by janus
When trying to compile gcc for T-PLink 821N5 adapter I type sudo and instruction but get message " hansbrienesse not in sudoers file" after I type my password. How do I get to sudoers file and how do I add myself? If I use root id and password is this still ok?
Thanks in advance for any help. :?

Re: set up as user

PostPosted: Dec 29th, '17, 01:04
by doktor5000
For one, you do not need root permissions to compile anything. You would only need those to install the files to root-owned directories.
And yes, su - and then entering root password would do the same thing.

Regarding sudo. see https://wiki.mageia.org/en/Configuring_sudo

Re: set up as user

PostPosted: Dec 29th, '17, 11:46
by janus
Thanks, I have just read the Wiki article, should be ok now I think. Will post as solved if it works.