Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

_pmtab

Posted on 2002-05-30
5
Medium Priority
?
293 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 200 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.
Suggested Courses

688 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