07-17-2008
See:
changepass automate password changes on multiple systems
as an example of my approach to this.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ssh user@host -q -n 'grep `hostname` /etc/hosts; telnet 10.100.23.45 1234;'
When i run this command remotely it is hanging and not giving me the prompt, Can anyone tell me how can I exit a telnet command remotely please.
Thanks. (10 Replies)
Discussion started by: venu_nbk
10 Replies
2. SCO
hi ,
i need a telnet server for dos(telnet from unix server to dos client) , so how can i run telnet service on dos ? (0 Replies)
Discussion started by: shrb78
0 Replies
3. Cybersecurity
hi ,
i need a telnet server for dos(telnet from unix server to dos client) , so how can i run telnet service on dos ? (0 Replies)
Discussion started by: shrb78
0 Replies
4. Windows & DOS: Issues & Discussions
hi ,
i need a telnet server for dos(telnet from unix server to dos client) , so how can i run telnet service on dos ? (0 Replies)
Discussion started by: shrb78
0 Replies
5. Shell Programming and Scripting
Hi
having the below code
(sleep 1 echo "username"
sleep 2 echo "password"
sleep 2 echo "cd /home/test1/path"
sleep 10 echo "ls -l | grep filename"
if exists
echo "script1.sh filename"
echo "mailx -s "Task Executed" user@domain.com"
else
echo "mailx -s "File not Exist"... (1 Reply)
Discussion started by: karthikn7974
1 Replies
6. Shell Programming and Scripting
Hi,
Can someone please send me a sample script to login to a specific device and do someme command then logout.
Thanks.. (3 Replies)
Discussion started by: rbn1226
3 Replies
7. Windows & DOS: Issues & Discussions
Hi,
I am new to scripting & i want to write a script to fetch some report.
For an example i am having a windows server which is having n number of child devices itself..I know all the Ip address of the child devices..
I wnt to login into all the child devices & fire a command & finally i need... (5 Replies)
Discussion started by: wellington
5 Replies
8. Shell Programming and Scripting
I want to connect to a remote host using telnet
there is no username/password verification
just
telnet remotehost
then I need to input some commands for initialization
and then I need to repeat the following commands:
cmd argument
argument is read from a local file, in this... (1 Reply)
Discussion started by: esolve
1 Replies
9. Shell Programming and Scripting
( sleep 3
echo ${LOGIN}
sleep 2
echo ${PSWD}
sleep 2
while read line
do
echo "$line"
PID=$?
sleep 2
kill -9 $PID
done < temp
sleep 5
echo "exit" ) | telnet ${HOST}
while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies
10. UNIX for Dummies Questions & Answers
I am from MQ/MB technology. My requirement is to display the queue manger and broker status on daily basis.
If I manually run the script, it works fine and displays output. But when I have scheduled the same using cronjobs it shows only the queue manger status and not the broker status.
Can... (3 Replies)
Discussion started by: Anusha M
3 Replies
LEARN ABOUT CENTOS
sieveshell
SIEVESHELL(1) User Contributed Perl Documentation SIEVESHELL(1)
NAME
sieveshell - remotely manipulate sieve scripts
SYNOPSIS
sieveshell [--user=user] [--authname=authname] [--realm=realm] [--exec=script] server[:port]
sieveshell --help
DESCRIPTION
sieveshell allows users to manipulate their scripts on a remote server. It works via MANAGESIEVE, a work in progress.
The following commands are recognized:
list list scripts on server.
put <filename> upload script to server.
get <name> [<filename>] get script. if no filename display to stdout
delete <name> delete script.
activate <name> activate script.
deactivate deactivate all scripts.
OPTIONS
-u user, --user=user
The authorization name to request; by default, derived from the authentication credentials.
-a authname, --authname=authname
The user to use for authentication (defaults to current user).
-r realm, --realm=realm
The realm to attempt authentication in.
-e script, --exec=script
Instead of working interactively, run commands from script, and exit when done.
REFERENCES
[MANAGESIEVE] Martin, T.; "A Protocol for Remotely Managing Sieve Scripts", draft-ietf-managesieve-03.txt, Mirapoint, Inc.; May 2001, work
in progress.
AUTHOR
Tim Martin <tmartin@mirapoint.com>, and the rest of the Cyrus team <cyrus-bugs@andrew.cmu.edu>.
perl v5.16.3 2014-06-10 SIEVESHELL(1)