try this. maxulogs Specifies the maximum number of logins per user. If the user has reached the maximum number of allowed logins, login will be denied.
Dear friends..
Our project has a module that runs on handheld devices. Through the handheld we telnet to solaris where the application actually runs. I noticed that after starting a session through the handheld, if i go out of range or if i remove and replace the battery in the handheld, the... (1 Reply)
{
sleep 2
echo "$user"
sleep 2
echo "$password"
sleep 2
echo " ls"
sleep 10
echo "exit"
}| telnet $server
I have a machine x and i have executed the above script on machine 'x'.
i entered the... (6 Replies)
Hello,
I have AIX 5.3 at home connected to netgear router. Port Forwarding has been enabled on the router. Problem is that if I want to telnet, I have to try 2 or 3 times before I can get a logon prompt. It times out for first or second time (Connection to session <IP_Address> failed: Connection... (1 Reply)
How can I disconnect an existing telnet session? The host is a serial port server with multiple ports. The users login using the host's name and a port, i.e. telnet host01 1235.
Thanks. (14 Replies)
Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Hello,
I have a problem running a script created in ksh for Linux (Tested on Debian 5.0, Ubuntu Server 10.04 and RHEL 5.1), it works properly. :b:
I trying to pass it to a AIX 5.3. :wall:
The problem is the character limit of 256 on a command system and SED.
I need to cut the contents of... (8 Replies)
Hi All,
i got few questions...
1) What is the maximum number of files that we can save under a single directory in AIX ? (* we have enough storage/disk space)
2) And what is the maximum number of sub - directories in side a directory?
I know that...every directory is a (special)... (11 Replies)
Discussion started by: System Admin 77
11 Replies
LEARN ABOUT HPUX
pam_close_session
pam_open_session(3) Library Functions Manual pam_open_session(3)NAME
pam_open_session, pam_close_session - perform PAM session creation and termination operations
SYNOPSIS
[ flag ... ] file ... [ library ... ]
DESCRIPTION
is called after a user has been successfully authenticated (refer to pam_authenticate(3) and pam_acct_mgmt(3)) and is used to notify the
session modules that a new session has been initiated. All programs that use the pam(3) library should invoke when beginning a new ses-
sion. Upon termination of this activity, should be invoked to inform pam(3) that the session has terminated.
The pamh argument is an authentication handle obtained by a prior call to The following flag may be set in the flags field for and
The session service should not generate any messages.
APPLICATION USAGE
Refer to pam(3) for information on thread-safety of PAM interfaces.
RETURN VALUES
Upon successful completion, is returned. In addition to the return values defined in pam(3), the following value may be returned on error:
Can not make/remove an entry for the specified session.
SEE ALSO pam(3), pam_start(3), pam_authenticate(3), pam_acct_mgmt(3).
pam_open_session(3)