Thread: How to use PAM to restrict HTTP access for some users?
i've read pam can used restrict http access users, can't figure out how in ubuntu 12.04.
`/etc/security/time.conf` man page contains example:
for work, `/etc/pam.d/login` needs have lineusers except root denied access console-login @ times:
code:login ; tty* & !ttyp* ; !root ; !al0000-2400
this example works, , tried adapt limit http access console. addedcode:account requisite pam_time.so
to `/etc/security/time.conf`, , created `/etc/pam.d/http` withhtml code:http ; tty* & !ttyp* ; !root ; !al0000-2400
this doesn't work. can still use `wget` non-root console.code:account requisite pam_time.so
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] How to use PAM to restrict HTTP access for some users?
Ubuntu
Comments
Post a Comment