Sponsored Content
Top Forums Shell Programming and Scripting Notification of user id creation/deletion Post 302958517 by rbatte1 on Friday 23rd of October 2015 05:00:37 AM
Old 10-23-2015
Dear ggayathri,

I have a few to questions pose in response first:-
  • What have you tried so far?
  • What output/errors do you get?
  • What AIX version are you using?
  • What files are you exploring to get this information?
  • What are your preferred tools? (C, shell, perl, awk, etc.)
  • What logical process have you considered? (to help steer us to follow what you are trying to achieve)
Most importantly, What have you tried so far?

There are probably many ways to achieve most tasks, so giving us an idea of your style and thoughts will help us guide you to an answer most suitable to you so you can adjust it to suit your needs in future.


We're all here to learn and getting the relevant information will help us all.


Robin
 

10 More Discussions You Might Find Interesting

1. Programming

How to watch for file creation/deletion?

How do I write a C program that will watch a directory for file creation/deletion? Maybe it would receive a signal when someone creates a file? thanks, Siegfried (5 Replies)
Discussion started by: siegfried
5 Replies

2. Solaris

User creation

Hi all, I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin. Name for the user Tivoli Thanks & Regards Babu (7 Replies)
Discussion started by: lbreddy
7 Replies

3. Programming

execve notification in user mode under Linux

Hi, I'm writing a monitor program that can be notified once a process makes an execve system call and then stop that process for examining before it starts to run the new code. I know I can ptrace a process to achieve this, but I do not want to ptrace every process in the system. Is it possible?... (1 Reply)
Discussion started by: aaron.lwe
1 Replies

4. Solaris

User Creation

i am trying to create a user on solaris 10. it is not taking user name with more than ten characters. which file i need to edit to do this setting. (4 Replies)
Discussion started by: raynu.sharma
4 Replies

5. UNIX for Dummies Questions & Answers

File Creation notification

Hello, Please help about writing a process that will be automatically notified by file creation in a predefined directory. Some code will appreciated. Thanks for all. (4 Replies)
Discussion started by: echchatbi
4 Replies

6. Red Hat

User creation

Hi Thanks in advance. How to create a user without useradd command ?? (1 Reply)
Discussion started by: krish4linux
1 Replies

7. UNIX for Advanced & Expert Users

User's deletion in OpenLDAP

Hi, I am using OpenLDAP for authenticating my postfix mail server. Now i have to clean up some resigned users from the LDAP directory. I have the list of common names (CN) with me, how can i delete the LDAP users form with that list. Regards, Hima Kiran (2 Replies)
Discussion started by: ghimakiran
2 Replies

8. UNIX and Linux Applications

User account expiration notification

Dear Concern, Is there any built in tool/application/command available for Linux user account expiration notification purpose. With Best Regards, Md. Abdullah-Al Kauser (2 Replies)
Discussion started by: makauser
2 Replies

9. Emergency UNIX and Linux Support

User id creation/deletion - notification

Can someone help me with a shell script that will send an email to a set of email ids when a user id is created or deleted on AIX system. Also, if the script can let the admin know when a particular user id's password will expire. (4 Replies)
Discussion started by: ggayathri
4 Replies

10. UNIX for Dummies Questions & Answers

Deletion of list of user based on a text file In LDAP UNIX server

Dear All, It would be really nice, if you could help me to write a script for deletion of list of user( more than 15000 users) stored in a file and sorted by email address( i need deletion of only a particular type of mail address). Is the any script to write and take the file as input and... (3 Replies)
Discussion started by: Chand
3 Replies
postal-list(1)							      Postal							    postal-list(1)

NAME
postal-list - program to show how postal expands user names SYNOPSIS
postal-list user-list-filename conversion-filename DESCRIPTION
This program shows the expansion that the postal program uses on email addresses. This can be used to make sure that you're configuration files do what you expect them to, and can also be used to produce a list of user-names for an account creation script (in case you want to create a million test accounts in a conveniant fashion). The user-list-filename is the name of a file which contains a list of user's email addresses. This can be just user-names or fully quali- fied email addresses. The conversion-filename parameter will be the name of a file containing the conversions to apply to email addresses. Each line in the file can either be a comment (starting with "#") or is to contain two parameters. The first parameter is the regular expression. For each email that is to be sent a randomly selected user-name will be checked against all regular expressions, the first match will determine the translation that is to be applied. The translation will be the second parameter on the line. It will contain a number of "." characters specifying characters in the name that are not to be translated. To specify the translations a range of characters can be specified inside square brackets. For example to have every address starting with "a" have a character from "01234567890abc" as it's second character and a character from "xyz" as it's third character you would have the following: ^a .[0-9abc][xyz] RETURN CODES
0 No Error 1 Bad Parameters AUTHOR
This program, it's manual page, and the Debian package were written by Russell Coker <russell@coker.com.au>. AVAILABILITY
The source is available from http://doc.coker.com.au/projects/postal/ . See http://etbe.coker.com.au/category/benchmark for further information. SEE ALSO
postal(8),rabid(8),regex(7) russell@coker.com.au 0.70 postal-list(1)
All times are GMT -4. The time now is 09:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy