SUMMARY: Changing the UID and GID

From: Praveen Patle (ppatletru64_at_yahoo.com)
Date: 09/10/04

  • Next message: Chris Adams: "Summary: 5.1B pk3 cluster FS and file atimes"
    Date: Fri, 10 Sep 2004 13:40:44 -0700 (PDT)
    To: tru64-unix-managers@ornl.gov
    
    

    Hello:

    Thanks to all those who replied.
    As usual, I got a lot of replies.

    Everybody seems to be on consensus that I do have to
    change the Username and Group of the files manually
    after I change the UID and GID.

    Regards,
    Praveen

    >
    > Hello Tru64 Managers:
    >
    > I want to change the UID and GID of some of the
    > accounts and groups on our system.
    >
    > If I go into the dxaccounts and change the UID and
    > GID, I face a problem during the listing of files.
    > If
    > the file is created by the user but with old UID and
    > GID, the "ls -lrt" shows me the old UID and GID,
    > instead of the username and groupname.
    >
    > Is there a way to show the Username and Groupname
    > while using "ls -lrt" instead of UID and GID, after
    > I
    > change the UID and GID of those user accounts.
    >
    > Thanks a lot.
    >
    > Praveen

            
                    
    __________________________________
    Do you Yahoo!?
    New and Improved Yahoo! Mail - 100MB free storage!
    http://promotions.yahoo.com/new_mail


  • Next message: Chris Adams: "Summary: 5.1B pk3 cluster FS and file atimes"

    Relevant Pages

    • Re: Scan disk for files with certain owner
      ... search the directory tree and print out all the files that have a uid or ... gid that does not resolv to a username or userid. ...
      (perl.beginners)
    • Re: Finding currently logged in users
      ... >Each user on the system should have a unique userid UID. ... username -> uid is a one-way map. ... places to record UIDs of logged-in users anyway. ... "lordhighmasteroftheuniverseanddns" is logged in and listed by who ...
      (comp.unix.programmer)
    • Re: Accessing SuSE 9.0 files from 9.1
      ... the mount command has a very long man page you ... >> The other issue I can think of concerns UID and GID numbers. ... Every user you create is allocated a UID number. ... the second matter was that you said you needed to chown the files ...
      (alt.os.linux.suse)
    • UID/GID override on CIFS mounts to Samba and proposed new mount parameter to disable Unix Extensions
      ... When CIFS Unix Extensions are negotiated we get the Unix uid and gid ... I also would like suggestions on what we should call a proposed mount ...
      (Linux-Kernel)
    • Re: username/uid restrictions
      ... > I see from my new RHEL4 sysadmin guide that uid's up to 500 are ... Just claim UID 100 onwards as yours! ... echo "package $package added user using this line" ... > duplicates the username of one of the directors, ...
      (Fedora)