You are not logged in.

#1 2008-03-07 08:52:25

/devnull.nsb
Member
From: USA
Registered: 2008-03-03
Posts: 10

How do you config yaourt to run as user?

As the topic asks How do I setup yaourt to run as user, Cause it is recommend not to run it as root. When I did follow the wikki and configuration of my pacman.conf file to add repo to have pacman install it...

I received this message from yaourt during the install process :

(1/1) installing yaourt                             [#####################] 100%
        NOTE 1: if you want to use yaourt as user,
        you could add some entries in sudoers file for:
         - pacman (remove + install AUR's packages)    <- What and were and how?
         - pacdiffviewer (manage pacsave/pacnew files) <- What and were and how?
Please, use sudo very carefully.
NOTE 2: voting for favorite packages on AUR requires 'aurvote'.
NOTE 3: customizing PKGBUILD requires 'customizepkg'. <- I did install this

I have also Install SUDO as well.  But I have no clue on were and what I need to ass to my /etc/sudoers file.

Thanks in advance for any help or suggestions that may be offered.

Offline

#2 2008-03-07 09:28:45

stefan1975
Member
From: 53 6e 65 65 6b
Registered: 2007-04-16
Posts: 195

Re: How do you config yaourt to run as user?

for me it worked as follows:

$ su -
# pacman -S sudo
# gpasswd -a {your_username} wheel
# visudo
uncomment the following line by removing the '#':
# %wheel        ALL=(ALL)       NOPASSWD: ALL
quite and save 
<esc>:wq!
# exit
now when you do 'sudo su' for example it should give your root access

now when you run yaourt as you own user everything should work fine. The idea here is to give your user 'sudo' permissions without entering a password.

hope this helps,
stefan.

Last edited by stefan1975 (2008-03-07 09:41:59)


"root# su - bofh"
OS: F10_x64, Arch, Centos5.3, RHEL4.7, RHEL5.3
Desktop Hardware: Dell Precision M65 laptop, core2duo, 2gb, 80gb 7200rpm
Registered linux user #459910 since 1998

Offline

#3 2008-03-07 10:03:29

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: How do you config yaourt to run as user?

check post #245 and onwards from here: http://bbs.archlinux.org/viewtopic.php?id=25718&p=10

Offline

Board footer

Powered by FluxBB