02-21-2017
@drysdalk, I copied and pasted your version, it just hangs, I never get the prompt back.
@vbe, it does work just the way it is, but it only processes one server and not all in the list.
Thanks guys.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey..
I am new in scripting.. I know a little bit of scripting.. I am facing some problem.. I need to create a script using which I may log on to a server (e.g. ftp) with ID and password.. thus copy a particular file to a local dir.. the commands required to do that I do know.. I am able to do it... (1 Reply)
Discussion started by: razeeev
1 Replies
2. Shell Programming and Scripting
I am trying to write a script to change passwords for the same user on multiple servers.
My environment runs purely ssh / scp not rsh / rcp and therefore coping using rcp is not an option.
I have been playing with expect to perform tasks but think there must be a better way.
Has anyone got... (7 Replies)
Discussion started by: stolz
7 Replies
3. Shell Programming and Scripting
Hi Friends.
I am new to scripting now i want to change the root password using the script with standard password.
which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies
4. Red Hat
Hi,
I am very bad at scripting. I need help from scripting experts...
I need to change password of around 100 linux remote servers. I have been given a script for changing the password that automates the task. however I do not understand the usage and meaning of the script, the script is an... (0 Replies)
Discussion started by: renuka
0 Replies
5. Shell Programming and Scripting
Hello Folks
Scenario :
I have a linux box (expect tool installed) which connects to 1000+ other boxes (either Solaris or AIX or Linux ) with a specific id and password using SSH.
I now wish to write a script (Shell and/or expect and/or Python) which will change this existing password to a... (1 Reply)
Discussion started by: ak835
1 Replies
6. Solaris
Hi,
I need to Change passwd for bulk servers using SSH script.
I have one server, from which i can reach all the servers without password via SSH.
There is some expect script, from which i can achieve it.
Can any one help me out here.
Thanks in advance.
Vicky (1 Reply)
Discussion started by: vickyingle5
1 Replies
7. Shell Programming and Scripting
Can any one please let me know the shell script to change the password for a particular user on multiple linux servers. (2 Replies)
Discussion started by: s_madras
2 Replies
8. Shell Programming and Scripting
I am having the 15 servers which need to do the monitoring
Hi I need a shell script, By which i can log in to multiple servers and execute the commands.. I need to specify the username and password in the scripts.
Please help me to write the script so that it can login with username and... (5 Replies)
Discussion started by: nandan8a
5 Replies
9. AIX
I need run a command such as ps -ef |grep xxx on a batch of servers, how to write a script to run it without password? don't need go in each server to check?
Thanks (7 Replies)
Discussion started by: rainbow_bean
7 Replies
10. Shell Programming and Scripting
Hi,
I have a requirement where in i need to write a shell script to set users password to never expire. I know the command which is used to perform the same .. which is chage command.
But, could not figure out how to do the same in shell script.
Could you please help me with the shell... (3 Replies)
Discussion started by: suren424
3 Replies
LEARN ABOUT XFREE86
bos_shutdown
BOS_SHUTDOWN(8) AFS Command Reference BOS_SHUTDOWN(8)
NAME
bos_shutdown - Stops a process without changing its status flag
SYNOPSIS
bos shutdown -server <machine name>
[-instance <instances>+] [-wait] [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos sh -s <machine name> [-i <instances>+] [-w]
[-c <cell name>] [-n] [-l] [-h]
DESCRIPTION
The bos shutdown command stops, on the server machine named by the -server argument, either
o All of the currently running AFS server processes, except the BOS Server.
o Only the processes specified by the -instance argument.
This command does not change a process's status flag in the /etc/openafs/BosConfig file, but only in the BOS Server's memory. To stop a
process and change its BosConfig status flag, use the bos stop command instead.
Once stopped with this command, a process does not run again until an administrator starts it by using the bos start, bos startup, or bos
restart command, or until the BOS Server restarts (assuming that the process's BosConfig status flag is "Run").
OPTIONS
-server <machine name>
Indicates the server machine on which to stop processes. Identify the machine by IP address or its host name (either fully-qualified or
abbreviated unambiguously). For details, see bos(8).
-instance <instances>+
Names each process to stop. Use the process name assigned with the -instance argument to the bos create command. The output from the
bos status command lists the names. Omit this argument to stop all processes other than the BOS Server.
-wait
Delays the return of the command shell prompt until all processes actually stop. If this argument is omitted, the prompt returns almost
immediately even if all processes are not stopped.
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see
bos(8).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket
to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see
bos(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command stops all processes other than the BOS Server on the machine "fs3.abc.com".
% bos shutdown fs3.abc.com
The following command stops the "upserver" process (server portion of the Update Server) on the machine "fs5.abc.com".
% bos shutdown -server fs5.abc.com -instance upserver
PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a
server machine as the local superuser "root" if the -localauth flag is included.
SEE ALSO
BosConfig(5), KeyFile(5), UserList(5), bos(8), bos_create(8), bos_restart(8), bos_start(8), bos_startup(8), bos_status(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BOS_SHUTDOWN(8)