LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2020, 11:23 PM   #1
amteguia
LQ Newbie
 
Registered: Apr 2020
Location: Quebec, Canada
Distribution: Red Hat
Posts: 1

Rep: Reputation: Disabled
pam_time time limitation not working


Hi Everybody,

I am trying to restrick loggin for some hours , but my settings are not applied.

/etc/pam.d/sshd id as follows

account required pam_nologin.so
account include password-auth
account requisite pam_time.so
password include password-auth


/etc/security/time.conf is as follows

sshd;*;aauteguia;Su1400-2300


I also tried this but not working

*;*;aauteguia;Su1400-2300


Please can you help me solve this issue ?

Thanks
 
Old 04-06-2020, 06:07 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 6,072

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
I have never used it, but I would try the module's debug option.
 
  


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
[SOLVED] squid time and traffic limitation mmhs Linux - General 1 08-22-2013 01:37 PM
is my pam_time.so broken or am I using it incorrectly (to restrict http access) ? max.b Linux - Networking 1 02-27-2013 02:09 PM
pam_time pbwalker Linux - Security 5 10-20-2010 11:31 AM
how to understand user time, sys time, wait time, idle time of CPU guixingyi Linux - Server 1 08-24-2010 11:10 AM
PAM problem with module pam_time.so giacomolg Linux - Security 1 11-27-2004 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:35 AM.

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