[OpenAFS] Re: unix owner/group of files in AFS

FB fbo2@gmx.net
Fri, 6 Apr 2007 12:47:43 +0200


On Fri, Mar 23, 2007 at 04:43:09PM -0700, Adam Megacz wrote:
> FB <fbo2@gmx.net> writes:
> >> How hard would it be to fake shell info as well, say by creating 
> >> shell.zsh, shell.bash, etc PTS groups and putting a pts user in one?
> > Shouldn't be complicated. But maybe it's a better idea to evaluate a file
> > or a symlink in the user's home-volume.
> Here's a somewhat-hackish patch to use the contents of $HOME/.shell
> (which should be world-readable) and default to bash if $HOME/.shell
> can't be read.


Release 2.0 of the libnss-ptdb-package is now available. As 1.x before, it's
a passwd-nss-plugin, providing name-to-id and vice versa mapping +
homedirectory information using the AFS PTDB. Those are the features new in
   * user homedirectory is either simply /afs/[cellname]/user/[username] or
     an arbitrary directory defined by a per-user-symlink in AFS namespace
   * the login shell is either hardcoded '/bin/bash' or a defined by a
     per-user-symlink in AFS-space which is either user controlled
     (/afs/[cellname]/user/[username]/.loginshell) or defined at a central
     place which to maintain is usually the admin's job

Debian package + sources can be downloaded here:

Feel free to try + report all the bugs i missed :-) .