Hi,
we are using  OpenAFS for the home drive. /home/users is a symlink to the AFS 
path with all the home shares. The users home is for example 
/home/users/username.

The users only have 1 GB of space available in that share. It often happens 
that the quota is reached and they are unable to login. Ubuntu doesn't give a 
meaningful error message. I think, Ubuntu doesn't know what's the problem, 
because it sees only "/" as mountpoint, which has enough free space available.

Is there a way to check the free space of the user on login and give the user a 
good error message if there is not enough free space available in the AFS share?

I think about using pam-script to run a script that checks it but I can't see a 
way to bring back that message to the user. Also pam-afs-session seems not to 
have some option for that. Is there some other solution?

Greetings
Michael

--
Michael Richter

Technische Universität Berlin
Universitätsbibliothek
IT-Service

Fasanenstraße 88, 10623 Berlin
Telefon: +49 (0)30 314-76310
m.rich...@tu-berlin.de

www.ub.tu-berlin.de

Reply via email to