Hi.

I want to retreive the name of the currently logged in user on the OS
on which my django app lives.
Is this possible?

The thing is. The app is to be used in a private environment, so all
the users have to log on to the webserver first(this cant be changed).
I would be nice to avoid having them to log into the django app
afterwards.

So after they are logged into the webserver it would be fair to assume
they are authorised users and if i could just locate their OS username
somehow then i could use this username to login the current user, in
the background with a standard password.

I hope you get my meaning:)

i have looked into the python standard library, and a module named
getpass() however i cant get i to work:-(

i hope someone has a clever idea to solve this problem.

Thanks! :)

/Pete

PS: and the webserver runs linux. :-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to