Solved

_pmtab

Posted on 2002-05-30
5
283 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

910 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

16 Experts available now in Live!

Get 1:1 Help Now