Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lsh-krb-checkpw(8) [debian man page]

LSH-KRB-CHECKPW(8)						    lsh manuals 						LSH-KRB-CHECKPW(8)

NAME
lsh-krb-checkpw - program to check a Kerberos username/password combination SYNOPSIS
lsh-krb-checkpw username-to-check DESCRIPTION
This manual page documents briefly the lsh-krb-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-krb-checkpw is a program that checks if a username and password combination is valid for login by doing a kerberos lookup. It is designed to be used as a password helper program for lshd (8), (eg. --password-helper=/usr/sbin/lsh-krb-checkpw. lsh-krb-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-krb-checkpw Nov 15 2005 LSH-KRB-CHECKPW(8)

Check Out this Related Man Page

LSH-UPGRADE(1)							    Lsh Manuals 						    LSH-UPGRADE(1)

NAME
lsh-upgrade - script for easy upgrade to lsh 2.0 SYNOPSIS
lsh-upgrade DESCRIPTION
CAUTION! The information in this manpage may be invalid or outdated. For authorative information on lsh, please see it's Texinfo manual (see the SEE ALSO section). Performs conversions of various files whose format has changed from previous releases. FILES
$HOME/.lsh/known_hosts is converted to the new file $HOME/.lsh/host-acls Previously authorized keys are upgraded to the new key format. REPORTING BUGS
Report bugs to <bug-lsh@gnu.org>. COPYING
The lsh suite of programs is distributed under the GNU General Public License; see the COPYING and AUTHORS files in the source distribution for details. AUTHOR
The lsh program suite is written mainly by Niels Moller <nisse@lysator.liu.se>. This man-page was written for lsh 2.0 by Pontus Freyhult <pont_lsh@soua.net>, it is based on a template written by J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>. SEE ALSO
lsftp(1), lshg(1), lsh-authorize(1), lsh-keygen(1), lsh-make-seed(1), lsh-upgrade(1), lsh-upgrade-key(1), lsh-writekey(1), lshd(8), ssh- conv(1) The full documentation for lsh is maintained as a Texinfo manual. If the info and lsh programs are properly installed at your site, the command info lsh should give you access to the complete manual. LSH-UPGRADE NOVEMBER 2004 LSH-UPGRADE(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How do I enable RSA authentication (i've already read the FreeBSD handbook on this...

I followed the directions under 10.10.6, but nothing seems to have happened. When I try logging in, nothing has changed. I still login using my username/password combination. I've already created the keyparis, but why isn't this working? What I'm looking to do is to put the pub keypair... (2 Replies)
Discussion started by: xyyz
2 Replies

2. Shell Programming and Scripting

password in ascript

how to set password for a script i have a script called logscript. i want to set the username and password for that. when i run the script it should ask me the username and passowrd . any idea in that (2 Replies)
Discussion started by: ali560045
2 Replies

3. Shell Programming and Scripting

How to check whether the web page is up without dowloading any content

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)
Discussion started by: ahamed
19 Replies

4. Shell Programming and Scripting

Checking response of the web page?

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)
Discussion started by: ahamed
3 Replies

5. UNIX for Dummies Questions & Answers

Shell program with username and password

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)
Discussion started by: thedemonhunter
7 Replies

6. Shell Programming and Scripting

Encrypting the login password on Solaris 10

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)
Discussion started by: krackjack
7 Replies

7. Shell Programming and Scripting

Username password asked during loging

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)
Discussion started by: emilybose
5 Replies

8. Shell Programming and Scripting

loop to read multiple username and password

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)
Discussion started by: abdul.irfan2
4 Replies

9. Shell Programming and Scripting

Encrypt and Decrypt

I have script for all oracle prod db. I have hard coded the username / password. I need a mechanism to encode and decode the username / password in a shell script. Another challenge is I use the username and password in a Select command for oracle DB. How can call the decrypted... (2 Replies)
Discussion started by: ilugopal
2 Replies

10. Shell Programming and Scripting

how to check for valid password

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)
Discussion started by: ADay2Long
4 Replies

11. Shell Programming and Scripting

Username and password

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)
Discussion started by: somersetdan
5 Replies

12. UNIX for Dummies Questions & Answers

How do you reset username/password

Picked up a 3b2 running System V. Works fine, but it requires a username and password. Is the username "root" or "sysadm"? How do I find out and how to I reset it or bypass it? Thanks. (2 Replies)
Discussion started by: TanRuNomad
2 Replies

13. Shell Programming and Scripting

Help with calling to file for a username and password combo

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)
Discussion started by: cashman04
6 Replies

14. Shell Programming and Scripting

Encrypted password in script

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)
Discussion started by: sanvel
3 Replies

15. Shell Programming and Scripting

Hide password from processes in Linux

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)
Discussion started by: ariesb2b
3 Replies