[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: change uid





On 19/01/07, Rick Stevens <rstevens vitalstream com> wrote:
On Fri, 2007-01-19 at 08:32 +1100, Yuandan Zhang wrote:
>
>
> On 19/01/07, Yuandan Zhang <yuandan zhang 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

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]