You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Andrew Stribblehill <a....@durham.ac.uk> on 2004/07/27 17:56:02 UTC

[PATCH] Add apr_uid_shell_get

I'm trying to improve httpd's mod_userdir so that it knows it
shouldn't serve ~fool when user 'fool' has an administratively
prohibited shell, so:

UserDir DisableShell /bin/badlad

To this end, I need a function to query the user's shell. It seems
sensible to me (though I am new to apr) that it should go into apr.

I've written a patch that does this; it's attached.

What do you think?

-- 
HEBRIDES
VARIABLE 3 OR LESS BECOMING SOUTHEASTERLY 4 OR 5. RAIN OR DRIZZLE.
MODERATE OR GOOD