On 07/04/2011 03:59 AM, JD wrote: <> > How about just modifying the user's uid gid (while su'ed to root): > usermod -u NEW-UID -g NEW-GID LoginName > chown -R NEW-UID.NEW-GID ~LoginName from "USERMOD(8)" -g, --gid GROUP The group name or number of the user’s new initial login group. The group name must exist. A group number must refer to an already existing group. The default group number is 1. therefore, "GROUPADD(8)" to create group first. also, if "/etc/login.defs" has a GID_MIN set higher than desired, "-K" must be used; from "GROUPADD(8)" -K KEY=VALUE Overrides /etc/login.defs defaults (GID_MIN, GID_MAX and others). Multiple -K options can be specified. see 'man' or 'info' pages for "USERMOD(8)" and "GROUPADD(8)". -- peace out. tc.hago, g . **** in a free world without fences, who needs gates. ** help microsoft stamp out piracy - give linux to a friend today. ** to mess up a linux box, you need to work at it. to mess up an ms windows box, you just need to *look* at it. ** The installation instructions stated to install Windows 2000 or better. So I installed Linux. ** learn linux: 'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html 'The Linux Documentation Project' http://www.tldp.org/ 'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html 'HowtoForge' http://howtoforge.com/ ****
Attachment:
signature.asc
Description: OpenPGP digital signature
-- 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