LSH-PAM-CHECKPW(8) lsh manuals LSH-PAM-CHECKPW(8)NAME
lsh-pam-checkpw - program to check a PAM username/password combination
SYNOPSIS
lsh-pam-checkpw username-to-check
DESCRIPTION
This manual page documents briefly the lsh-pam-checkpw command. This manual page was written for the Debian distribution because the orig-
inal program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.
lsh-pam-checkpw is a program that checks if a username and password combination is valid for login by doing a PAM lookup. It is designed to
be used as a password helper program for lshd (8), (eg. --password-helper=/usr/sbin/lsh-pam-checkpw.
lsh-pam-checkpw takes one required argument, which is the username, and reads the password from stdin, then returns 0 if the password is
valid, or 1 otherwise. Note that the password must be supplied exactly, ie. there must be no newline after the password, so if invoking
from a shell, just type "<your-password><CTRL-D>".
SEE ALSO lsh(1), lshd(8). The programs are documented fully by Lsh, available via the Info system.
AUTHOR
This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others).
lsh-pam-checkpw Jul 05 2002 LSH-PAM-CHECKPW(8)
Check Out this Related Man Page
LSH-EXECUV(8) lsh manuals LSH-EXECUV(8)NAME
lsh-execuv - program to securely execute a program as another user
SYNOPSIS
lsh-execuv [options] program [--] real-argv
DESCRIPTION
This manual page documents briefly the lsh-execuv command. This manual page was written for the Debian distribution because the original
program does not have a manual page.
lsh-execuv is a utility program for the lsh server that securely executes a program as a different user. another user.
OPTIONS
A summary of options is included below.
-u uid setuid to numeric uid before running program. Usernames are not supported, only numeric uids.
-g gid setgid to numeric gid before running program. Group names are not supported, only numeric gids.
-n user-name
User name, needed for initgroups
-i Call initgroups, requires that -n user-name be specified.
-c Clear the list of supplimentary groups.
-p Use $PATH variable to search for program.
-? Show summary of options.
SEE ALSO lsh(1), lshd(8). The programs are documented fully by Lsh, available via the Info system.
AUTHOR
This manual page was written by Timshel Knoll <timshel@debian.org>, for the Debian GNU/Linux system (but may be used by others).
lsh-execuv Jul 05 2002 LSH-EXECUV(8)
How to get the user name of the Operating system from a c program.
eg:-
-rw-r----- 1 gkuser srth1 292 Jul 27 19:28 u1.txt
i need to get gkuser as the result? (3 Replies)
Hi
I am writing a script to check wheather the web page is up and running. I dont want to download the web page.. I
I used wget --spider command. but i am not getting anything.
can some one tell me the command to the web page..
if the page is up and running I should send a mail to my... (19 Replies)
Hi,
I need to check the response of the web page without downloading any content. I used the below command.
_website=http://xxx.xxx.com
wget --spider --user=username --password=password $_website > /home/username/temp.txt 2>&1;
I getting the below error. The web page require... (3 Replies)
Hi I am new to unix and I am trying to figure out how to write a shell script with a login name and password. I want to do something along the lines of if both are correct it echoes "you are logged in" and if the password is wrong it echoes "wrong password" and same with the login name. I've tried... (7 Replies)
Hi,
Could you pls. help me in encryting a database password on Solaris 10 Box.
eg : username : test
password : t est123
The request is to encrypt the test123 so that no one can understand the what the password is ?
thanks (7 Replies)
hi
I am strucked in a client server program
client need to login to server
client logins if only username and password are correct
i have written a program
username is stored as file and password is smilar to username whic is stored in that file
when server asks for username... (2 Replies)
Hi,
Whenever I open my unix box,after providing username and password I get the following message.
Are you authorised to use this computer as detailed above? (Y)es/(N)o : y
Export: Release 10.2.0.2.0 - Production on Mon May 16 16:00:15 2011
Copyright (c) 1982, 2005, Oracle. All rights... (5 Replies)
Hello all, I am i am trying to read username password. Bassicaly, i have file called sidlist and it has my database name, username and password....
looks something like this....
db1, user1, pass1
db2, user2, pass2
db3, user3, pass4
but i dont know how to make it work, until i get... (4 Replies)
I need to check if an account has a valid password.
Would something like this work?
read ACCNAME
if grep -q "^$ACCNAME:\$6:" /etc/shadow; thenI noticed every entry in my shadow file that has a password starts with $6 ... it works for my current setup, but would it always work? I can't test... (4 Replies)
Hi
I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
Hokay...first post, and I have been doing Linux scripting for a total of 2 days now. I think I am doing pretty well, but awk and arrays(what I think I need here) is a bit above me so far.
I have written a script that will take and either create or modify 5 users, and passwords.
It checks... (6 Replies)
When trying to install pam-1.1.1-10.el6.i686 package using yum, we are getting the following error message. We also noticed that there is an existing pam-1.1.1-10.el6.x86_64 is already installed (checked through "rpm -qa | grep pam-1.1.1-10.el6"). Is there a way to resolve/work around this issue. ... (4 Replies)
How to keep encrypted password in a shell script.?
I have the file which has the following:
a.sh
-----
username=abc
password=abc
I will be using this username and password in another script. But I don't want to reveal the password in the script. How to keep the password... (3 Replies)
i have a shell script which calls a java program with username and password arguments.
#!/bin/ksh
#set some classpaths here
#finally run the command
java com.test -u $U -p $P
Now when i run it, the password shows up in the list of processes. I am not the admin on the server so cant... (3 Replies)