Hi

Recently I started to work with web2py

After initially creating a password for the www_data user and using the 
admin login feature with no username or email request needed.

All going well, I set about enabling PAM and MULTI_USER auth, so I could 
add PAM users to Linux and automatically have them be able to log in to 
web2py instances.

After doing this I found my debug and versioning to act as if they were in 
demo mode despite this not being set.

I wanted to add my user as a manager, I found next I couldn't then log in 
using the basic method as it is now using a different form - as I needed 
usernames for PAM, and there is no username for the created admin password 
account.


I am quite new to web2py and python, although have plenty of other 
programming experience, it is quite a major issue that once switching over 
to mod_pam I cannot enter the generic password to log in as an admin and 
enable is_manager, and seem to have some problem causing demo mode to 
activate disabling mercurial and debug with these three settings combined.

If someone could offer some help it would be appreciated.

I also then need to check a user is a member of a specific group before 
letting them on in a specific web2py instance (subdomain) along with 
checking if they are an admin user for is_manager, if someone can point me 
to some rough explained code on how to go about that, either in python or 
with web2py, I can probably figure the rest out myself, I'm finding the 
book very fragmented.

Thanks

-- 



Reply via email to