You are not logged in.

#1 2009-12-19 18:03:09

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

yaourt : superuser or not ?

Hello,

I've installed yaourt.
I start using it as root but I noticed a warning that said it isn't secured.
I tried as normal user but it fails sometimes (with notify-osd-bzr or songbird for exemple)

I read somewhere that you have to add something in the visudo file but I didn't find any explanation

Thank you

Last edited by martvefun (2009-12-19 18:05:52)


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#2 2009-12-19 18:34:44

mythus
Member
From: MS Gulf Coast
Registered: 2008-05-15
Posts: 509
Website

Re: yaourt : superuser or not ?

Does it fail everytime you use yaourt to install something from AUR, or just on some files?


Legends of Nor'Ova - role playing community devoted to quality forum-based and table-top role play, home of the Legends of Nor'Ova Core Rule Book and Legends of Nor'Ova: Saga of Ablution steam punk like forum based RPG

Offline

#3 2009-12-19 19:32:22

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

Re: yaourt : superuser or not ?

I haven't installed many packages
As I remeber :
it works for dropbox, nautilus-dropbox, aurvote
and it didn't for notify-osd-bzr and songbird (which I wasn't able to install even with root for an unknown reason)

Last edited by martvefun (2009-12-19 19:38:57)


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#4 2009-12-19 19:42:04

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: yaourt : superuser or not ?

Add the following to /etc/sudoers USING visudo

USERNAME ALL=NOPASSWD: /usr/bin/pacman
USERNAME ALL=NOPASSWD: /usr/bin/pacdiffviewer

SHOULD  help your issue. 

It the 1st line you need to install from AUR


PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

#5 2009-12-19 20:52:54

martvefun
Member
From: The Internets
Registered: 2009-12-19
Posts: 174

Re: yaourt : superuser or not ?

thank you it seems to work


English is not my native language, sorry for the mistakes
Arch amd64, GNOME, Dell Vostro

Offline

#6 2009-12-19 21:10:32

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: yaourt : superuser or not ?

Surely you should not have to mess about with your privileges to make yaourt work for certain packages?  What errors did you get when it failed to install songbird etc?


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#7 2009-12-20 23:18:51

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: yaourt : superuser or not ?

I'm guessing a connectivity issue (see post about 'didn't work even as root').

Just don't run yaourt as root. Ever.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#8 2009-12-21 03:36:31

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: yaourt : superuser or not ?

man yaourt tells you about the two lines you need to enter in /etc/sudoers


PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

Board footer

Powered by FluxBB