I would like to be able to use existing entries from /etc/passwd file to
authenticate users before they can access RoR application, run behind
- did anybody used
to do this?
assuming this works as it should, haw should I get username
In python/cgi module that would be os.environ.get(‘REMOTE_USER’)
where is the proper place in RoR application directory tree to code
it (== get username, UID, GID, group_name and then display on the top
of the each accessed page:
User X, group Y, access priviledge regular/superuser
Sorry for rather naive questions but I am just starting with RoR.
Thanks a lot for your help.