Hi,
I have a file xyz.txt, which contains several "tar.gz" package names
Eg :-
Now i need to execute an rpm - ivh against all those packages in this file through a script one by one.
I need a script to read through the file "xyz.txt", pick up each package name and execute rpm -ivh... (7 Replies)
I am trying to write a perl script that will do remote machine.
I have done user loging using simple command;
$telnet->login('test', 'test123');
But now I want to do root login or superuser login. So I tried the superuser command,
$telnet->cmd("su");
But I am not able to send the... (0 Replies)
HI,
I need to write a script ..
when I run this script , will directly goto that remote machine without asking password..
Once it is entered, I needs to transfer some of the log files...
how can I proceed ? (7 Replies)
Hi All,
URGENT - Please help me form a scipt for this:
I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server)
I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Hi,
I work on a jumpserver and I wrote a script to transfer a file from source server to destination server.
#!/bin/ksh
echo "\nEnter the file name:\n"
read name
echo "\nSelect the Source server\n"
echo "1. ODS PROD "
echo "2. ODS DROPBOX"
echo "3. ODS STE"
echo "4. ODS STE DROPBOX"... (6 Replies)
hey guys,
I've done some searching and other than winexe I haven't been able to find a way to send remote commands to a windows machine. The problem I get is with winexe whenever you send the process to the background in a script, I get the following error. :wall: Any help is appreciated!
... (0 Replies)
Hi,
i want to write script where it will login into 50 hosts and if login is successful it print message "login to host1 is
successful" if not it should print message "Not able to login to host1". once connection to the host is succesful it should fire df command to check filesystem if df is... (3 Replies)
Hi All,
I am working in support and we are planning to automate a system to reduce the direct manual intervention to core system.
Please find the below details.
1. we have a web application that runs on Windows Platform.
2. From web application, we need to connect to remote Unix machine.... (6 Replies)
Hi Friends,
I am unable to run our application commands on remote server using ssh (passwordless login enabled). But the same command running with telent perl script. please suggest.
SSH:
C:/bin>ssh -l monitor tl04cp01 exec "/home/monitor/123"
/home/monitor/123: viewlog: not found.
... (7 Replies)
Discussion started by: suresh3566
7 Replies
LEARN ABOUT DEBIAN
courierpassd
COURIERPASSD(8) Authentication COURIERPASSD(8)NAME
courierpassd - change passwords from across the network using the Courier authentication library
SYNOPSIS
courierpassd [-hV] [-s SERVICE] [--stderr]
courierpassd -s, --service SERVICE
courierpassd --stderr
courierpassd -h, --help
courierpassd -V, --version
DESCRIPTION
courierpassd allows users to change their passwords from remote locations using the Courier authentication library. Usernames can be up to
64 characters long while passwords can be up to 128 characters long.
courierpassd uses the poppassd protocol for obtaining authentication tokens from the network. courierpassd is intended to be run from a
super-server such as tcpserver or xinetd.
The service specified by the -s switch will depend on the particular authentication modules installed. Often 'login' will be appropriate
but other possibilities include 'imap' and 'pop3'. This value defaults to 'login'. See the Courier documentation for a further explanation
of this switch.
The minimum uid that courierpassd will attempt to change a password for can be set at compile time using the configure option --with-
minuid. courierpassd will refuse to change the password of a user whose uid is below this value. The default value is 100. This value
should never be set to 0 as this would allow root's password to be changed from a remote location.
A second configure option, --with-badpassdelay, can be used to set the delay in seconds that courierpassd sleeps after an unsuccessful
password change attempt. This feature is designed to make brute force attacks against passwords harder to perform. The default value is 3.
LOGGING
Logging is done to syslog by default or to stderr if the --stderr switch is used. courierpassd logs all password change attempts whether
they are successful or not.
courierpassd does certain checks on command line arguments so it is important to put --stderr first in the argument list if it is to be
used in order for these checks to be logged properly.
EXAMPLE CLIENT-SERVER CONVERSATION
All messages passed between server and client are text based allowing a client session to be easily mimicked with telnet. Using telnet,
changing a user's password would look like this:
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
200 courierpassd 1.1.2 hello, who are you?
user <username>
200 Your password please.
pass <current password>
200 Your new password please.
newpass <new password>
200 Password changed, thank-you.
quit
200 Bye.
Connection closed by foreign host.
BUGS
If you've found a bug in courierpassd, please report it to freeware@arda.homeunix.net
SEE ALSO
http://www.courier-mta.org/authlib/
http://echelon.pl/pubs/poppassd.html
AUTHOR
courierpassd was written by Andrew St. Jean
Courier authentication library was written by Sam Varshavchik
poppassd was written by Pawel Krawczyk based on an ealier version written by John Norstad, Roy Smith and Daniel L. Leavitt
GNU /Linux 20 Jan 2005 COURIERPASSD(8)