FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 02-07-2008, 02:09 PM
Jochen Schulz
Default Dbus, Hald Groups?

David Baron:
> Dbus is running in the 111 "crontab" group!
> Hal is running in the 127 "boinc" group!
> Are these number reserved for these?

Debian uses the UID range from (I think) 500-999 for system users (users
which don't belong to a person, but are used by daemons provided by
specific packages). These are assigned dynamically when you install a
package which needs one.

However, on my system dbus is running as the user messagebus. Hal isn't
installed on the machine I currently have access to, but boinc doesn't
look right either. Are you sure you aren't confusing user and group ids?

There is no justice in road accidents.
[Agree] [Disagree]
Old 02-07-2008, 05:53 PM
Kevin Buhr
Default Dbus, Hald Groups?

David Baron <d_baron@012.net.il> writes:
> Dbus is running in the 111 "crontab" group!
> Hal is running in the 127 "boinc" Are!

Note that "ps", by default, displays process *users*, not groups. For
"dbus" and "hal", the correct users are "messagebus" and "haldaemon".
Since these names are unusually long, "ps" will display them as
numbers instead of names, but you need to look them up in
"/etc/passwd", not "/etc/group", since the user ids and corresponding
group ids won't necessarily match.

These numbers aren't fixed---they will differ from system to system,
depending on the exact order packages were installed. For example, on
one of my machines, the user ids are 102 and 107; on another, they are
104 and 108.

If you double-check and "dbus" and "hal" *really* are running as the
wrong users, then---assuming a reboot doesn't fix the problem---it
might be the case that you have multiple users in "passwd" with the
same userid. This shouldn't happen, but you can probably fix the
damage by changing the "messagebus" and "haldaemon" numbers to
something that isn't used and rebooting (but make a backup of "passwd"
first in case things go horribly wrong). In general, renumbering
userids like this won't work very well, because file ownership is
stored by number, not name, and renumbering will screw that up. I
don't believe that "messagebus" and "haldaemon" own any files, though,
so this probably won't be a problem.

> To access these, do I need to be a "member" of these groups? This
> could be why kde4 seems to need root privileges to start a session!

You do not need to be a member of the "messagebus" or "haldaemon"
groups to start a KDE session, so the problem must be something else.

Kevin Buhr <buhr+debian@asaurus.net>

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 06:28 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org