change uid

Yuandan Zhang yuandan.zhang at gmail.com
Thu Jan 18 23:23:00 UTC 2007


On 19/01/07, Rick Stevens <rstevens at vitalstream.com> wrote:
>
> On Fri, 2007-01-19 at 08:32 +1100, Yuandan Zhang wrote:
> >
> >
> > On 19/01/07, Yuandan Zhang <yuandan.zhang at gmail.com> wrote:
> >         Hi,
> >
> >         I need to change a uid on  a client PC in order to access nfs
> >         of a server. The uid at local client is 500, that is 3000 on
> >         the server. How to change it?
> >
> >         I googled and found niutil can do it, but it seems works  on
> >         Mac OS. Is there equivalent tool on linux?
>
> As root, run "usermod -u 3000 name-of-user"


Thanks, that works. one more thing,  in order to login gnome desktop, the
temp files at /tmp  related to this user must be remove
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070119/7f0de507/attachment-0001.htm>


More information about the fedora-list mailing list