Solved

_pmtab

Posted on 2002-05-30
5
286 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

735 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