You are not logged in.
Pages: 1
I am trying to figure out how to compile a tar ball. In the wiki, It says:
If you want to be able to install dependencies with makepkg as user (with makepkg -s, see below) you need to install sudo and add yourself to /etc/sudoers using this line:
<user> <hostname>=/usr/bin/pacman
How does this work? What is the hostname?
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
To give yourself access to use sudo with any command add:
USER_NAME ALL=(ALL) ALL
Change the last "ALL" to "/usr/bin/pacman" if you only want to get sudo access for pacman.
I have:
USER_NAME ALL=(ALL) NOPASSWD: /usr/bin/pacman
so I dont have to typ a passwrod for pacman.
Offline
What page in the wiki are you referring to? I would like to fix that ambiguity.
EDIT: Nevermind, I found it. Fixed. Thanks.
Last edited by Misfit138 (2008-04-18 03:27:07)
Offline
Thanks.
[root@myhost duncan]# DUNCAN ALL=(ALL) NOPASSWD: /usr/bin/pacman
bash: syntax error near unexpected token `('
[root@myhost duncan]#
What am I doing wrong?
Last edited by Raccoon1400 (2008-04-18 10:41:43)
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
Hi Raccoon1400,
you must modify /etc/sudoers file with the command visudo:
below the line:
root ALL=(ALL) SETENV: ALL
add this:
duncan ALL=(ALL) SETENV: ALL
Save and exit
Last edited by luca (2008-04-18 10:48:07)
Offline
Pages: 1