Peeter Joot's (OLD) Blog.

Math, physics, perl, and programming obscurity.

AFS uid lookup

Posted by peeterjoot on October 13, 2011

Despite AFS having been out of service for a number of years, our lab still has some dependencies on it. One of these is that we use AFS uids to keep local uids in sync (since there’s a policy that our local uids have to match our AFS uids even if we aren’t using the AFS filesystem actively in any way).

A side effect of this is that you’ll sometimes see uids on NFS mounted storage that aren’t in the local /etc/passwd file. Here’s an example of how to look these beasties up:

$ /@sys/supp/bin/afs/pts examine pjoot
Name: pjoot, id: 6415, owner: system:administrators, creator: admroot,
  membership: 6, flags: S----, group quota: 17.

$ /@sys/supp/bin/afs/pts examine 6415
Name: pjoot, id: 6415, owner: system:administrators, creator: admroot,
  membership: 6, flags: S----, group quota: 17.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: