Re: messagebus user

2008-08-28 Thread jef moskot

On Wed, 27 Aug 2008, Dan Nelson wrote:
You should be able to change its uid by deinstalling dbus, then editing 
/usr/ports/devel/dbus/pkg-install, changing the uid in that script to an 
unused ID, and reinstalling.


That worked fine, thanks.  Still don't know what this thing does (the 
things dependent on it seemed either irrelevant or mysterious), but I'm 
happy to resolve the issue this way.


All the userids created by ports should be listed in /usr/ports/UIDs and 
GIDs, so you can check to see if any other ports might conflict with 
existing users.


Interesting, thanks again.

On Wed, 27 Aug 2008, Chris St Denis wrote:
Keep in mind you will probably have the same problem when you upgrade 
the port. Portsnap/csup will overwrite your change so every time you 
upgrade you'll have to change it again.


This might not be an issue due to the explanation from Warren below.


May be easier to just change the user's UID once.


The user has been around longer than FreeBSD has existed and the UID is 
used across various system with different OSs, so the reinstall was 
actually the simpler solution.


On Wed, 27 Aug 2008, Warren Block wrote:
If dbus is required, you should be able to create the messagebus user 
before installing the dbus port.  Then the port's pkg-install should see 
that you already have a messagebus user and use it instead of creating a 
new one. (Untested, but it seems like that's worked for upgrading dbus.)


Out of curiosity, I tested this theory and it's correct.

Are there any files out there that messagebus is expected to own that I 
should double-check after the reinstallation?


Thanks to everyone for all the good advice.

Jeffrey Moskot
System Administrator
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


messagebus user

2008-08-27 Thread jef moskot
We just upgraded to a new server (FreeBSD 7.0) and in our passwd file is 
the user messagebus (there's also a group).


What's this for and can the UID be changed?  It's got the same number as 
one of our oldest users and we're trying to determine which UID would be 
easier to switch.


While this obviously has something to do with D-BUS (whatever that is), 
it's nothing we installed on purpose.  If it's not a part of the default 
system, it probably got bundled in as a dependency during an large port 
make.


Any suggestions?

Jeffrey Moskot
System Administrator
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: messagebus user

2008-08-27 Thread Dan Nelson
In the last episode (Aug 27), jef moskot said:
 We just upgraded to a new server (FreeBSD 7.0) and in our passwd file
 is the user messagebus (there's also a group).
 
 What's this for and can the UID be changed?  It's got the same number
 as one of our oldest users and we're trying to determine which UID
 would be easier to switch.
 
 While this obviously has something to do with D-BUS (whatever that
 is), it's nothing we installed on purpose.  If it's not a part of
 the default system, it probably got bundled in as a dependency during
 an large port make.

You should be able to change its uid by deinstalling dbus, then editing
/usr/ports/devel/dbus/pkg-install, changing the uid in that script
to an unused ID, and reinstalling.

All the userids created by ports should be listed in /usr/ports/UIDs
and GIDs, so you can check to see if any other ports might conflict
with existing users.  Unfortunately, the ports themselves don't use
those files during the install, so you can't just edit that and be
done.  You have to fix each port individually.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: messagebus user

2008-08-27 Thread Chris St Denis

Dan Nelson wrote:

In the last episode (Aug 27), jef moskot said:
  

We just upgraded to a new server (FreeBSD 7.0) and in our passwd file
is the user messagebus (there's also a group).

What's this for and can the UID be changed?  It's got the same number
as one of our oldest users and we're trying to determine which UID
would be easier to switch.

While this obviously has something to do with D-BUS (whatever that
is), it's nothing we installed on purpose.  If it's not a part of
the default system, it probably got bundled in as a dependency during
an large port make.



You should be able to change its uid by deinstalling dbus, then editing
/usr/ports/devel/dbus/pkg-install, changing the uid in that script
to an unused ID, and reinstalling.

All the userids created by ports should be listed in /usr/ports/UIDs
and GIDs, so you can check to see if any other ports might conflict
with existing users.  Unfortunately, the ports themselves don't use
those files during the install, so you can't just edit that and be
done.  You have to fix each port individually.

  
Keep in mind you will probably have the same problem when you upgrade 
the port. Portsnap/csup will overwrite your change so every time you 
upgrade you'll have to change it again.


May be easier to just change the user's UID once. Should be doable 
pretty easily in one shot with a command like

find /usr/home -user 556 -exec chown thenewuserid {} \;

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: messagebus user

2008-08-27 Thread Warren Block

On Wed, 27 Aug 2008, jef moskot wrote:

We just upgraded to a new server (FreeBSD 7.0) and in our passwd file is the 
user messagebus (there's also a group).


What's this for and can the UID be changed?  It's got the same number as one 
of our oldest users and we're trying to determine which UID would be easier 
to switch.


While this obviously has something to do with D-BUS (whatever that is), it's 
nothing we installed on purpose.  If it's not a part of the default system, 
it probably got bundled in as a dependency during an large port make.


If dbus is required, you should be able to create the messagebus user 
before installing the dbus port.  Then the port's pkg-install should see 
that you already have a messagebus user and use it instead of creating a 
new one.  (Untested, but it seems like that's worked for upgrading 
dbus.)


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]