Changing UID
From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 08/18/05
- Previous message: MARLON BORBA: "Re: cfgmgr question"
- Next in thread: Jeff Kloek: "Large Filesystems on JFS2"
- Reply: Jeff Kloek: "Large Filesystems on JFS2"
- Reply: p n kumaresh: "Re: Changing UID"
- Maybe reply: Green, Simon: "Re: Changing UID"
- Maybe reply: Mark Schlechte: "Re: Changing UID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Aug 2005 11:28:20 +0200 To: aix-l@Princeton.EDU
Please do not re-use an existing subject! It's confusing and annoying. If
people don't realise that it's a new subject they may well ignore it.
You can change the user ID with the chuser command, as with any other user
attribute.
However, ownership of files is determined by the UID, and they will NOT be
changed. (UID number is what's in the directory: /etc/passwd just provides
a cross-reference used by some commands.) You'll have to go through your
system and find all files owned by the old UID and change them to the new
one.
e.g. find / -user <old UID> -exec chown username {} \;
-- Simon Green Altria ITSC Europe s.a.r.l. AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX N.B. Unsolicited email from vendors will not be appreciated. Please post all follow-ups to the list. -----Original Message----- From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of p n kumaresh Sent: 18 August 2005 01:38 To: aix-l@Princeton.EDU Subject: Re: cfgmgr question Hi All, How to change the userid of a existing userid in AIX. Thanks & regards Kumaresh.P.N Contact Me : 9880679279 Mail me : pnkumaresh@yahoo.co.in ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
- Previous message: MARLON BORBA: "Re: cfgmgr question"
- Next in thread: Jeff Kloek: "Large Filesystems on JFS2"
- Reply: Jeff Kloek: "Large Filesystems on JFS2"
- Reply: p n kumaresh: "Re: Changing UID"
- Maybe reply: Green, Simon: "Re: Changing UID"
- Maybe reply: Mark Schlechte: "Re: Changing UID"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|