Peeter Joot's Blog.

Math, physics, perl, and programming obscurity.

Posts Tagged ‘pts’

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.

Posted in perl and general scripting hackery | Tagged: , , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.