Re: Change of UID

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

 



Tim:
>> I decided to change the older release up to the newer IDs, rather
>> than fight against the system.  So, in my case, on the older
>> system, I:
>>
>> edited /etc/password to change my old UID from 500 to 1000
>> edited /etc/group to change my old GID from 500 to 1000
>> chown -R tim:tim /home/tim/
>> chown tim:tim /var/spool/mail/tim

Timothy Murphy:
> Just a note to say that I followed this advice,
> and it worked perfectly.
> Thank you.

You're welcome.  That's probably all that most people need to do.  If
they ran other servers or databases, there maybe personally owned files
in other places.

It occurred to me, much later, that depending on *when* you edited
password and group files, the chown command mightn't correlate the
username with the new UID and GID.  I'm not sure if that information is
cached, or simply read from the file at time of execution.   If it
doesn't work, there may be some logging out and back in again needed, or
to use UID and GID numbers instead of names, in the chown command.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux