View previous topic :: View next topic |
Author |
Message |
lostpaperclips n00b
Joined: 19 Jun 2011 Posts: 13 Location: United States
|
Posted: Tue Jan 29, 2013 8:43 am Post subject: What user should dbus run as? |
|
|
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 |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jan 29, 2013 9:48 am Post subject: |
|
|
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 |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Tue Jan 29, 2013 10:10 am Post subject: |
|
|
Take a look at the ebuild:
Code: | enewgroup messagebus
enewuser messagebus -1 -1 -1 messagebus
...
--with-dbus-user=messagebus |
|
|
Back to top |
|
|
fpemud Guru
Joined: 15 Feb 2012 Posts: 349
|
Posted: Wed Jan 30, 2013 12:53 am Post subject: |
|
|
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 |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Wed Jan 30, 2013 1:27 am Post subject: |
|
|
my groups has message bus listed as 245....
Code: |
mkultra@mksrv [ ~ ]$ cat /etc/group | grep message
messagebus:x:245:
|
|
|
Back to top |
|
|
|