Re: Announcing the release of Fedora 16 Beta!!

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

 



Hello Michael, Ian and everyone else,

On Tue, Oct 4, 2011 at 5:28 PM, Michael Cronenworth <mike@xxxxxxxxxx> wrote:
> suvayu ali wrote:
>> I see that usermod can do this[1], but I'm not sure if there will be
>> conflicts with existing files after the change.
>
> If you are using plain authentication and not something like LDAP you
> can use usermod and edit groups with groupmod. You can manually edit
> /etc/passwd or /etc/group, but you will have to manually run "chown"
> across all files with the old UID/GID to update them to the new UID/GID.
>
> After you make the GID change you will have to change the ownership of
> your home to match the new GID:
>
> # chgrp -R group /home/user
>
> (per the groupmod[1] man page)
>
> Also, delete any /tmp files with your old UID and chown files outside of
> /home. (per the usermod[2] man page)
>
> # chown -R user:group /opt/foo/dir
>
> [1] Any files that have the old group ID and must continue to belong to
>     GROUP, must have their group ID changed manually.
> [2] The ownership of files outside of the user´s home directory must be
>     fixed manually.

The systems in question are my laptop and my desktop with me and a
test user, and a few removable storage devices. Thanks for all the
possible solutions, and the warnings. I think I'll skip it unless its
absolutely necessary for some reason.

Thanks a lot. :)

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[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