LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2001, 01:19 AM   #1
JustinHoMi
Member
 
Registered: Apr 2001
Location: Raleigh, NC
Distribution: CentOS
Posts: 154

Rep: Reputation: 30
trouble with PAM


Hello.

I'm trying to restrict users by time of day with PAM on my Debian Woody machine.

So, I added this to /etc/pam.d/login

login account required pam_time.so

and I added the following to /etc/security/login.conf

login ; tty* & !ttyp* ; !root ; !Al0000-2400

From what I undestand, this should disable access to all users except root 24hrs/7days a week. This isn't what I intend on leaving it at, but just a start to see if it's working or not.

Well it isn't working

No user, including root can login. Why would this be? I also tried changing the line in /etc/pam.d/login to:

account requisite pam_time.so

but that didn't make a difference.

Any ideas as to what's going on? PAM seems fairly complex, so I wouldn't be suprised if I'm missing something.

Thanks,
Justin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pam help Krugger Linux - Security 3 07-07-2005 07:53 PM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-23-2004 12:07 AM
About the PAM ust Linux - General 0 12-31-2003 04:33 AM
Pam Tinkster Slackware 7 07-03-2003 07:48 PM
Pam Mephisto Slackware 1 01-22-2003 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration