_pmtab

Does somebody know how to edit
/etc/saf/zsmon/_pmtab
My coal:
Force logout after 1000 seconds.
It means if somebody connects to server via
serial connection port a and logs on, then
after 1000 seconds he/she will be logged out and
will be asked username and password again.
Thanks
LVL 1
mativareAsked:
Who is Participating?
 
yuzhConnect With a Mentor Commented:
Have a look at this page, it has the infor you need for this job:

http://www.stokely.com/unix.serial.port.resources/modem.html


0
 
yuzhCommented:
You should not edit /etc/saf/zsmon/_pmtab file.

have a look at your:
   /etc/asppp.cf file, and make sure the following entry look like:

     inactivity_timeout 0            # No inactivity timeout

     

0
 
mativareAuthor Commented:
I am not using PPP , console (not modem) is connected to port A
Therefore editing asppp.cf is meaningless
0
 
yuzhCommented:
Try /etc/default/login file, and change the Value for "TIMEOUT"


0
 
mativareAuthor Commented:
/etc/default/login timeout is LOGON feature
for example if somebody fails to provide password during
TIMEOUT of seconds he/she will be logged out and asked
password , again.
What I need is LOGOUT feature: let me explain again
if somebody logons via ethernet , he or she will be allowed
to be logged in forever. But if somebody connects via serial port using console or laptop (no modems), she/he will be
allowed in, but will be automatically logged out after
TIMEOUT of seconds. there is ttyadm command with -t
but I do not know how to use it correctly and I belive
number in one of _pmtab fields can do the trick.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.