From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078620310388.tru64-unix-managers.marc@archive.invalid> From: pgouffon () charme ! if ! usp ! br Date: Thu, 11 Dec 1997 14:27:55 +0000 To: tru64-unix-managers Subject: [S] how to change UID under C2 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078620310388 The question was: > I have to change some User ID in order to unify UID's among servers > and clients. We are running DU 4.0B and C2. > > Before C2, I would just edit /etc/passwd. Under C2 but before DU4.0B, > I would also edit the individual files below /tcb/files/auth/*. However, DU4.0B > keeps what was in those files in a database file that should not be edited. > Is there anyway of just modifying the User ID without retiring the user and > recreating it with a new UID? I got quickly many answers, thanks to, in order of arrival, Gyula Szemenyei Brian Weaver Bob Sloane Julio.Del-Rio@kellogg.com (Julio Del-Rio) Matt Moore Jerome M Berkman Martin Mokrejs Spider Boardman mcv@custsv.univ-bpclermont.fr Tomasz Tyrakowski "Rene D. Taboada A." The solution, as suggested by most, was to use "edauth", which I did. One has then to look for files that belong to the old UID and change the ownership. These include the home, mail and in our case, scratch, areas. Some suggested to use usermod, I haven't tried as edauth is ok. dxaccounts and XIsso do not allow this change, even though some people suggested to use that approach. Thanks for the quick and effective help. Philippe