07-20-2009
What version of Unix support "ulimit -u" please?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Having a problem on AIX 4.3.3 with the following error when more than 2 users try and sign onto the server.
3004-312 All available login sessions are in use.
???? (1 Reply)
Discussion started by: Docboyeee
1 Replies
2. HP-UX
hi,
does anyone knows how to trace a user session on a unix system:
i want to log these things
1- login
2- date of starting session
3- date of closing session
i've tryed who and last but they don't give closing time of session
regards
hmaiida (2 Replies)
Discussion started by: hmaiida
2 Replies
3. UNIX for Dummies Questions & Answers
I logged on yesterday and ran something that made my ID hang. I X'd out of the session and then logged on again and my ID from the original session is still there. I checked again this morning and the ID is still there (I checked using the WHO command). How can I kill that first session using... (7 Replies)
Discussion started by: jbrubaker
7 Replies
4. Shell Programming and Scripting
Hi
I want to do something that might sound strange.
I have a code that in written in C and is executed at startup (it's a custom process). It occasionally calls some bash scripts.
The process doesn't have any terminal associated with it.
One thing I don't know how to do is to start a... (5 Replies)
Discussion started by: alirezan
5 Replies
5. UNIX for Advanced & Expert Users
Hi,
I was logged in on a server, by ssh, with a vim open, when the battery of my laptop got empty.
When I return to the server by ssh, I can see my previous ssh session still open, and the vim process running (ttyp0). Is there a way to attach that vim to my new session (ttyp4)?
Here's part... (2 Replies)
Discussion started by: raphinou
2 Replies
6. AIX
hi,
I am facing a problem
from the remote system if i login to my AIX5.3 machine as root (thru telnet) the session does not expire for 2 hours even if the session is kept ideal
But whenever i do the same thing from some other user then the session is lost within 10 minutes (if session is kept... (2 Replies)
Discussion started by: pchangba
2 Replies
7. Shell Programming and Scripting
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies
8. Shell Programming and Scripting
Hi
i am trying to run a report which takes approx 5 hours to complete so what i did i put that reporting command in background and then this reporting process started executed in background but the problem is when i close that session that background job lost :( ....
please help me that... (3 Replies)
Discussion started by: aishsimplesweet
3 Replies
9. Emergency UNIX and Linux Support
I am running a process in nohup .
nohup getkeys.ksh 132 > 132.out &
When I close the putty terminal,The process is getting killed .
default_signal_handler called for signal no: 1
Is there a way to keep the process running even If I close the terminal (2 Replies)
Discussion started by: prasperl
2 Replies
10. Shell Programming and Scripting
Hello Team,
I would like to use a shell script that run each 15 minutes in order to recorder the number of process per user
I request your help in order to build an awk script under Solaris from the following command or similar:
ps -fea -o user | sort | uniq -c | sort -k 2
648 ... (3 Replies)
Discussion started by: csierra
3 Replies
LEARN ABOUT LINUX
session-keyring
SESSION-KEYRING(7) Linux Programmer's Manual SESSION-KEYRING(7)
NAME
session-keyring - session shared process keyring
DESCRIPTION
The session keyring is a keyring used to anchor keys on behalf of a process. It is typically created by pam_keyinit(8) when a user logs in
and a link will be added that refers to the user-keyring(7). Optionally, PAM may revoke the session keyring on logout. (In typical con-
figurations, PAM does do this revocation.) The session keyring has the name (description) _ses.
A special serial number value, KEY_SPEC_SESSION_KEYRING, is defined that can be used in lieu of the actual serial number of the calling
process's session keyring.
From the keyctl(1) utility, '@s' can be used instead of a numeric key ID in much the same way.
A process's session keyring is inherited across clone(2), fork(2), and vfork(2). The session keyring is preserved across execve(2), even
when the executable is set-user-ID or set-group-ID or has capabilities. The session keyring is destroyed when the last process that refers
to it exits.
If a process doesn't have a session keyring when it is accessed, then, under certain circumstances, the user-session-keyring(7) will be
attached as the session keyring and under others a new session keyring will be created. (See user-session-keyring(7) for further details.)
Special operations
The keyutils library provides the following special operations for manipulating session keyrings:
keyctl_join_session_keyring(3)
This operation allows the caller to change the session keyring that it subscribes to. The caller can join an existing keyring with
a specified name (description), create a new keyring with a given name, or ask the kernel to create a new "anonymous" session
keyring with the name "_ses". (This function is an interface to the keyctl(2) KEYCTL_JOIN_SESSION_KEYRING operation.)
keyctl_session_to_parent(3)
This operation allows the caller to make the parent process's session keyring to the same as its own. For this to succeed, the par-
ent process must have identical security attributes and must be single threaded. (This function is an interface to the keyctl(2)
KEYCTL_SESSION_TO_PARENT operation.)
These operations are also exposed through the keyctl(1) utility as:
keyctl session
keyctl session - [<prog> <arg1> <arg2> ...]
keyctl session <name> [<prog> <arg1> <arg2> ...]
and:
keyctl new_session
SEE ALSO
keyctl(1), keyctl(3), keyctl_join_session_keyring(3), keyctl_session_to_parent(3), keyrings(7), persistent-keyring(7), process-keyring(7),
thread-keyring(7), user-keyring(7), user-session-keyring(7), pam_keyinit(8)
Linux 2017-09-15 SESSION-KEYRING(7)