Solved

_pmtab

Posted on 2002-05-30
5
282 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:mativare
  • 3
  • 2
5 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 7045742
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
 
LVL 1

Author Comment

by:mativare
ID: 7052213
I am not using PPP , console (not modem) is connected to port A
Therefore editing asppp.cf is meaningless
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7052676
Try /etc/default/login file, and change the Value for "TIMEOUT"


0
 
LVL 1

Author Comment

by:mativare
ID: 7054104
/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
 
LVL 38

Accepted Solution

by:
yuzh earned 100 total points
ID: 7055316
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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now