05-03-2010
Are you trying to create an html form, or a text form to run though a telnet session, or a form for an X session.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear Experts
Why we always hear that unix operating system is Multi User and Multi task. What does these two means. I have looked at some books and documents but couldn't find aclear explenation. Can we say Windows operating system is also multi user and multi task??
Thanks for your help in... (6 Replies)
Discussion started by: Reza Nazarian
6 Replies
2. UNIX for Advanced & Expert Users
Hi Friends,
Can you please tell me how to create short form for directories?
like,
this is a directory: /usr/tmp/progs/scripts
when i give cd $short_name, it should take to the above path.
in which env setting do i have to set?
Thanks,
Rashmy. (8 Replies)
Discussion started by: smr_rashmy
8 Replies
3. Shell Programming and Scripting
Hi, How to create array every time user input and store user input and display all array
print " Enter input "
my @input = split(' ', $input)
chmop($input = <STDIN>;
foreach ($input)
{
@array= @input;
}
print @array"\n"; (1 Reply)
Discussion started by: guidely
1 Replies
4. Shell Programming and Scripting
I need some help to write a ksh script.
My code so far (pretty bad, sorry):
#! /bin/ksh
echo "Calculate average"
UserDecision=y
while test $UserDecision = y
do
echo "Enter a number: "
read Number1
echo "Enter a number: "
read Number2
echo "Do you want to enter another number?... (2 Replies)
Discussion started by: johnagar
2 Replies
5. Shell Programming and Scripting
Hi Dears,
I have one script to create new users with information in one plain text file. This script will read all lines in the file and create one users for one line.
Sample file:
#action;login,full name title,expire date,project
+;gmwen,Bruce Wen QA,04/01/2012,BT
+;xxdeng,Shown Deng... (4 Replies)
Discussion started by: crest.boy
4 Replies
6. Shell Programming and Scripting
I want to create an array which can store the strings from the user input in shell script .
example :-
I want to store the 5 fruits name in a single array which the user provides . (1 Reply)
Discussion started by: Pkast
1 Replies
7. UNIX for Dummies Questions & Answers
Hi I'd like to know in which direction I should go for this. Background: We have a Raspberry PI terminal which connects via XTerm to a telnet session. Openbox is the window manager(default). We have stripped down most of the unwanted apps that come with Rasparian except for browser which we... (2 Replies)
Discussion started by: majikins
2 Replies
8. Shell Programming and Scripting
In the below bash a file is downloaded when the program is opened and then that file is searched based on user input and the result is written to a new file.
For example, the bash is opened and the download.txt is downloaded, the user then enters the id (NA04520). The id is used to search... (5 Replies)
Discussion started by: cmccabe
5 Replies
9. Shell Programming and Scripting
I am trying to create a bash script that will create new function by using the user input. The below will create the necessary files in the correct format, however when it comes to the # create function I am at a loss.
If the name entered was NEWNAME and the genes were GENE1,GENE2 then two files... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT LINUX
user-session-keyring
USER-SESSION-KEYRING(7) Linux Programmer's Manual USER-SESSION-KEYRING(7)
NAME
user-session-keyring - per-user default session keyring
DESCRIPTION
The user session keyring is a keyring used to anchor keys on behalf of a user. Each UID the kernel deals with has its own user session
keyring that is shared by all processes with that UID. The user session keyring has a name (description) of the form _uid_ses.<UID> where
<UID> is the user ID of the corresponding user.
The user session keyring is associated with the record that the kernel maintains for the UID. It comes into existence upon the first
attempt to access either the user session keyring, the user-keyring(7), or the session-keyring(7). The keyring remains pinned in existence
so long as there are processes running with that real UID or files opened by those processes remain open. (The keyring can also be pinned
indefinitely by linking it into another keyring.)
The user session keyring is created on demand when a thread requests it or when a thread asks for its session-keyring(7) and that keyring
doesn't exist. In the latter case, a user session keyring will be created and, if the session keyring wasn't to be created, the user ses-
sion keyring will be set as the process's actual session keyring.
The user session keyring is searched by request_key(2) if the actual session keyring does not exist and is ignored otherwise.
A special serial number value, KEY_SPEC_USER_SESSION_KEYRING, is defined that can be used in lieu of the actual serial number of the call-
ing process's user session keyring.
From the keyctl(1) utility, '@us' can be used instead of a numeric key ID in much the same way.
User session keyrings are independent of clone(2), fork(2), vfork(2), execve(2), and _exit(2) excepting that the keyring is destroyed when
the UID record is destroyed when the last process pinning it exits.
If a user session keyring does not exist when it is accessed, it will be created.
Rather than relying on the user session keyring, it is strongly recommended--especially if the process is running as root--that a session-
keyring(7) be set explicitly, for example by pam_keyinit(8).
NOTES
The user session keyring was added to support situations where a process doesn't have a session keyring, perhaps because it was created via
a pathway that didn't involve PAM (e.g., perhaps it was a daemon started by inetd(8)). In such a scenario, the user session keyring acts
as a substitute for the session-keyring(7).
SEE ALSO
keyctl(1), keyctl(3), keyrings(7), persistent-keyring(7), process-keyring(7), session-keyring(7), thread-keyring(7), user-keyring(7)
Linux 2017-03-13 USER-SESSION-KEYRING(7)