Date: Fri, 16 Feb 2007 11:10:57 -0500 From: Jerry McAllister <jerrymc@msu.edu> To: Petre Bandac <petre@kgb.ro> Cc: freebsd-questions@freebsd.org Subject: Re: messing with uid/gid in passwd Message-ID: <20070216161057.GB80219@gizmo.acns.msu.edu> In-Reply-To: <20070216170737.38f9febf@localhost> References: <20070216170737.38f9febf@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 16, 2007 at 05:07:37PM +0200, Petre Bandac wrote: > hallo > > I have the following problem > > I hourly rsync data from another computer to my bsd machine and the > transferred files have different uid that the user I'd like to use them > (preserve their initial uid/gid) > > is there a problem if I manually change the uid of some (already > created) users in passwd (like for mysql, www, postfix) Do you mean on the BSD machine? There should be no problem _if_: The UID & GID do not conflict with another existing user or group. and You get all of the incidences of the use of that user's UID & GID changed on all of that user's files. But, if it conflicts or you miss some files somewhere, it can come back and bite you. Use find(1) with -group and then with -user to look for the files. ////jerry > > thanks, > > petre > > -- > > Petre Bandac > > Network Scientist > > - > petre@kgb.ro > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070216161057.GB80219>