Sponsored Content
Operating Systems Solaris How to say goodbye to a fellow admin via Shell script.? Post 302970447 by cjcox on Wednesday 6th of April 2016 04:16:59 PM
Old 04-06-2016
Not terribly obfuscated:

Code:
trap "echo goodbye;sleep 10" 0 1 3 15

This User Gave Thanks to cjcox For This Post:
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

shell or admin fires the db

Q for the admin guys, When the server (Spark) is rebooted does a shell starts database, connection to database, and etc or would have to be the administrator log on as database admin and start the database? If it starts from the shell how would the script look like since the dba has access to the... (1 Reply)
Discussion started by: softarch
1 Replies

2. Shell Programming and Scripting

how to connect to admin accout through script

hi everyone i'm running script in c-shell and i want this script to connect to admin account in order to run other script in k-shell. after that i want the script to be severed from the admin account and to continue with the regular commands example: my script call cs-customers echo"starting... (16 Replies)
Discussion started by: naamas03
16 Replies

3. Shell Programming and Scripting

Script stops running the remaining checks after becoming admin

Hi all, I encountered a problem where my script stops running the remaining checks after becoming an admin that is written within the script. For example: ========================================= #!/bin/sh check 1 # Runs successfully check 2 # Runs successfully /com/bin/admin #... (1 Reply)
Discussion started by: seanchew
1 Replies

4. AIX

script for finding all the users with GID 0 ( admin group )

Hi Friends, I am trying to write a script for finding all the users with the GID 0 i.e. Admin users. can you please help me on this. (1 Reply)
Discussion started by: anoopraok
1 Replies

5. What is on Your Mind?

Windows Admin switching to *nix Admin

I'm currently a Windows admin and have wanted to jump ship to the *nix side for a while now. I've been studying both through an lpic level 1 manual as I have time (focusing on debian), and a solaris 10 cert book. The problem is I only have a handful of hours a week to study, and my current job... (3 Replies)
Discussion started by: bobwilson
3 Replies

6. Shell Programming and Scripting

Script to Send Email to a user when an admin kills process

Can anyone create or give me a script that I can use to email a user automatically when I kill one of their processes? Or Can you give me a script to allow me to email a user (entering email manually) when a process is killed? Like showing what the PID was and a reason the admin killed it? Is... (2 Replies)
Discussion started by: JoeGazz84
2 Replies

7. What is on Your Mind?

Regarding Admin life either as DBA or UNIX Linux admin

I am planning to choose my career as Unix/Linux Admin or a DBA. But I have come to know from forums and few admins like the job will be 24/7. I have few questions on that. Can we get "DAY" shifts in any one of the admin Job ? Can't we have shift timings in any company ? Eventhough the... (7 Replies)
Discussion started by: Jacktts
7 Replies
SYNC_MEMBERS(8) 					      System Manager's Manual						   SYNC_MEMBERS(8)

NAME
sync_members - Synchronize a Mailman mailing list's membership with a flat file. SYNOPSIS
sync_members [options] -f file listname DESCRIPTION
This script is useful if you have a Mailman mailing list and a sendmail :include: style list of addresses (also as is used in Majordomo). For every address in the file that does not appear in the mailing list, the address is added. For every address in the mailing list that does not appear in the file, the address is removed. Other options control what happens when an address is added or removed. OPTIONS
-n, --no-change Don't actually make the changes. Instead, print out what would be done to the list. -w={ yes | no }, --welcome-msg={ yes | no } Sets whether or not to send the newly added members a welcome message, overriding whatever the list's `send_welcome_msg' setting is. With -w=yes or -w, the welcome message is sent. With -w=no, no message is sent. -g={ yes | no }, --goodbye-msg={ yes | no } Sets whether or not to send the goodbye message to removed members, overriding whatever the list's `send_goodbye_msg' setting is. With -g=yes or -g, the goodbye message is sent. With -g=no, no message is sent. -d={ yes | no }, --digest={ yes | no } Selects whether to make newly added members receive messages in digests. With -d=yes or -d, they become digest members. With -d=no (or if no -d option given) they are added as regular members. -a={ yes | no }, --notifyadmin={ yes | no } Specifies whether the admin should be notified for each subscription or unsubscription. If you're adding a lot of addresses, you definitely want to turn this off! With -a=yes or -a, the admin is notified. With -a=no, the admin is not notified. With no -a option, the default for the list is used. -f=filename, --file=filename This option is required. It specifies the flat file to synchronize against. Email addresses must appear one per line. If filename is `-' then stdin is used. -h, --help Print a small help text and exit. listname specifies the list to synchronize. AUTHOR
Author of Mailman is the Mailman Cabal, see http://www.list.org/ for information. This manpage is written by Tollef Fog Heen <tfheen@debian.org> for Debian, but may be used by others. SEE ALSO
Mailman documentation on http://www.list.org/ and in /usr/share/doc/mailman. 2007-07-14 SYNC_MEMBERS(8)
All times are GMT -4. The time now is 08:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy