Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion create users from /etc/passwd?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim  
View profile  
 More options Feb 2 2012, 10:47 am
From: Tim <jtim.arn...@gmail.com>
Date: Thu, 2 Feb 2012 07:47:30 -0800 (PST)
Local: Thurs, Feb 2 2012 10:47 am
Subject: create users from /etc/passwd?

I'm running Django 1.3.1 on FreeBSD + Apache2.2 inside an intranet.

I do not grok authentication, so here is my problem and a question about
how I can solve it (maybe).
What I need is the name of the user who hits the application. I don't care
about the password, I just need to know who they are. I've been unable to
get the REMOTE_USER from Apache, mainly because I think Apache doesn't know
it either (no authentication is used on the httpd.conf).

I thought (here's my maybe solution) I might create a bunch of users in
Django by parsing the /etc/passwd database. Then at least each user would
have the same username/password they use to login to the network.

Is that possible? Is there a better way to get the username?
thanks,
--Tim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.