Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What user should dbus run as?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lostpaperclips
n00b
n00b


Joined: 19 Jun 2011
Posts: 9
Location: United States

PostPosted: Tue Jan 29, 2013 8:43 am    Post subject: What user should dbus run as? Reply with quote

I just built a new system and I am seeing dbus run as user id 101 (which there is no user for that). Is this correct? I'm leaning towards no... hence the post.

Code:
user@host Downloads $ ps -ef | grep dbus
101       1941     1  0 Jan28 ?        00:00:00 /usr/bin/dbus-daemon --system
user      3105     1  0 Jan28 ?        00:00:00 /usr/bin/dbus-launch --sh-syntax --exit-with-session
user      3106     1  0 Jan28 ?        00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
user     11583 10143  0 00:40 pts/2    00:00:00 grep --colour=auto dbus
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1243
Location: 42.68n 85.41w

PostPosted: Tue Jan 29, 2013 9:48 am    Post subject: Reply with quote

101 1806 0.0 0.0 20428 1812 ? Ss 04:31 0:00 /usr/bin/dbus-daemon --system

rest as my user.... almost exactly identical to your machines setup. id 0 is root and id 1000 is user with NO powers, everything inbetween is a sliding scale, and users are attached to numbers so 102 would be ok with no user associated with it. 101 is pretty high up

look for your self

cat /etc/group

(i think theres a file that does this for users but its escaping me for the moment)
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jan 29, 2013 10:10 am    Post subject: Reply with quote

Take a look at the ebuild:
Code:
enewgroup messagebus
enewuser messagebus -1 -1 -1 messagebus
...
--with-dbus-user=messagebus
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 173

PostPosted: Wed Jan 30, 2013 12:53 am    Post subject: Reply with quote

I have the same question.
But I'm afraid I don't understand the answer post.

Should I add user "messagebus" manually and set its uid to 101?
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1243
Location: 42.68n 85.41w

PostPosted: Wed Jan 30, 2013 1:27 am    Post subject: Reply with quote

my groups has message bus listed as 245....

Code:

mkultra@mksrv [ ~ ]$ cat /etc/group | grep message
messagebus:x:245:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum