You are not logged in.

#1 2005-05-11 02:52:27

Sting14
Member
Registered: 2005-05-03
Posts: 26

ummm... Changing from root:root to myuser:wheel

So...
I am getting sick of having to sudo absolutely every single program because everything is installed as root, so the ownership is always root:root.

Is there a way to make it so that when stuff installs it installs as
sting:wheel   (sting being my user)
so that i can actually run the stuff without having to sudo everything.

Yesterday i had the bright idea of doing
su
chown -R sting:wheel /
chmod -R g+s /

this was not a smart idea, cause i ended up formating and re instaling Arch. So this time I want to start off right and have it be correct from the start.
Thanks in advance guys.

Offline

#2 2005-05-11 03:02:55

Sting14
Member
Registered: 2005-05-03
Posts: 26

Re: ummm... Changing from root:root to myuser:wheel

my noob thoughts are that cause you have to run pacman as root, it just installs everything as root. so if i could run pacman as my user, would that help too?

Offline

#3 2005-05-11 03:15:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ummm... Changing from root:root to myuser:wheel

ummm you shouldn't have issues running programs as root..
i'm typing this i firefox which is owned root.root - what programs are you having issues with?

Offline

#4 2005-05-11 03:27:35

Sting14
Member
Registered: 2005-05-03
Posts: 26

Re: ummm... Changing from root:root to myuser:wheel

i can do most things. stuff i was having problems with was i couldnt get sound in kde because kde was under my user, and had to be root to use alsa, so i couldnt get sound... this time, i added myself to the audio group so i think that will fix it. but its just annoying typing sudo infront of everything...

Offline

#5 2005-05-11 03:36:56

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: ummm... Changing from root:root to myuser:wheel

you don't need sudo - if you have to add it to run a program there is another problem - it's most likely a group permissions thing... your user should be in the following groups:
"audio" for sound
"optical" for cd burning
"video" for DRI stuff (is this still needed?)

if you have any other specific apps which won't work as a user and do work as root, post the details on the forum, because there is always a way to run something as a user - you should never have to run as root/sudo

Offline

#6 2005-05-11 03:44:23

Sting14
Member
Registered: 2005-05-03
Posts: 26

Re: ummm... Changing from root:root to myuser:wheel

ok, thanks phrak!

Offline

Board footer

Powered by FluxBB