Hi there,


Im trying to design a new CGI..

I havnt used htaccess before & need some help.
(the CGI script will be in an HTACCESS restricted site..)

ok.

Ive figured out how to set a simple htaccess file so only people in the
config\passwd file can access certain directories

Ok - the new script, im designing, needs to know what GROUP a person has logged-in as.

However im following the sambar docs, & am a bit confused..

Ok - my passwd file (example):-

admin:root:password1:/docs/:2:0:System Administrator
anonymous:other:password2:/docs/:1:1:Anonymous FTP Account
billy-bob:user:password3::0:0:Billy-Bob Secure User

Anyway, the 1st column is the user-name (ive figured that out)..

is the 2nd column, the "group" theyre in ?

OK I think thats right (testing now..)

However the docs say to :-

"

A group file consists of lines giving a group name followed by a space-separated list of users in that group. For example:
engineering: tod billy
marketing: stacia admin


"

However it doesnt specify what file-name to give the group file ??



Also - Anyone with CGI / perl experience ? -
Can you advise me the commands (or a URL to a tutorial) that advises the perl command(s) to figure out what group a person belongs to ?


thanking you...

G
-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/



Reply via email to