Sponsored Content
Operating Systems AIX Examples of writing shell scripts for AIX, it's urgent Post 302077319 by me_haroon on Wednesday 21st of June 2006 06:23:33 AM
Old 06-21-2006
Thanks for ur response..

Sorry for late response, actually this work was kept on hold for some time..

Now i am coming to actual point,
I am new to Unix and now the work is given to me..
Previosely the scripts were written for password ageing and is working fine. Here we were using the standard unix protocols, but it is now asked to impliment the same using IBM protocols.

"authentication and identification" of passwords need to use IBM protocols and not the "standard" Unix protocols. Essentially, the "UNIX" script will need to be revised to be an "AIX" script.

I dont know what are IBM protocols, and how does this diff from unix. If any one know how to impliment this, please let me know. I woluld be a very thankful.

If any further details needed please let me know.. Smilie

Last edited by me_haroon; 06-21-2006 at 07:38 AM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

help for newbie writing shell scripts

Hi, I have just started a Systems Programming course and am required to write a c shell script as part of it. I have little to no clue about unix. The spec states that the script can be run only once on each host by a user, but the script can be run on different hosts by the one user. ... (2 Replies)
Discussion started by: richgi
2 Replies

2. Shell Programming and Scripting

Help on writing scripts!!??

Hello, I don't know anything about scripting, and I want help on writing a script, which can help me doing my research. Actually I have some ASCII format files formatted in a way looks like this 6 lines of text that is not important for me File_header_name_number_1 <--... (1 Reply)
Discussion started by: geoquest
1 Replies

3. AIX

How to migrate UP-UX shell scripts to AIX 5.2

Hello, We would to migrate some shell scripts (korn shell) from HP-UX to AIX 5.2 I would know: - If the HP-UX scripts work as well in AIX? - If no, is there a migration tool to detect incompatible lines in scripts? - How do proceed? Our scripts do: - Loads data in Oracle... (1 Reply)
Discussion started by: P026687
1 Replies

4. Shell Programming and Scripting

Is writing shell scripts different than...

I am currently taking a linux shell scripting class and also a intro to programming class using QBASIC. Will this interfere with how i learn each one? Are they similar in some ways? I already took a unix course based on the commands and it was easy, but now i have to create programs. Also, how... (1 Reply)
Discussion started by: brentdeback
1 Replies

5. AIX

Difference between writing Unix Shell script and AIX Shell Scripts

Hi, Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies

6. UNIX for Advanced & Expert Users

Allocate memory for a shell script in Aix at runtime-urgent critical

How to allocate memory for a shell script on aix box at the time of execution i.e at runtime Are there any commands for AIX in specific Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies

7. Shell Programming and Scripting

writing shell scripts of commands

can anyone help me in writing a shell script to visualize how simple commands work and on what logic. For Eg: ls command how it lists out all the files and directories, need to write a simple script based on the commands source code.:D (0 Replies)
Discussion started by: rahul_11d
0 Replies

8. Shell Programming and Scripting

Changing the Bash Scripts to Bourne Scripts:URGENT

Hi, I have to write a program to compute the checksums of files ./script.sh I wrote the program using bash and it took me forever since I am a beginner but it works very well. I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies

9. Fedora

I need urgent help - Basic shell scripts but I'm clueless.

Hello. I am currently in a class dealing with shell scripts. I know some commands and get the basics of command line in Fedora 11. But the coding....I'm a bit lost. I was very ill for 2 weeks and missed a lot, much of which there are no notes provided. I'm not asking you to do my homework,... (1 Reply)
Discussion started by: Feuyaer
1 Replies

10. Shell Programming and Scripting

Writing Bash shell scripts corresponding to windows bat files

Experts, I am newbie in shell scripting. I want to write Bash shell scripts corresponding to windows bat files. I have installed cygwin at c:\cygwin and i am trying to crate the sh file using vi editor. i am not able to understand how to use linux/unix convention for the code. following is my... (15 Replies)
Discussion started by: rajuchacha007
15 Replies
XSetWMProtocols(3X11)						     MIT X11R4						     XSetWMProtocols(3X11)

Name
       XSetWMProtocols, XGetWMProtocols - set or read a window's WM_PROTOCOLS property

Syntax
       Status XSetWMProtocols(display, w, protocols, count)
	  Display *display;
	  Window w;
	  Atom *protocols;
	  int count;

       Status XGetWMProtocols(display, w, protocols_return, count_return)
	  Display *display;
	  Window w;
	  Atom **protocols_return;
	  int *count_return;

Arguments
       display	 Specifies the connection to the X server.

       count	 Specifies the number of protocols in the list.

       count_return
		 Returns the number of protocols in the list.

       protocols Specifies the list of protocols.

       protocols_return
		 Returns the list of protocols.

Description
       The function replaces the WM_PROTOCOLS property on the specified window with the list of atoms specified by the protocols argument.  If the
       property does not already exist, sets the WM_PROTOCOLS property on the specified window to the list of atoms specified by the protocols
       argument.  The property is stored with a type of ATOM and a format of 32.  If it cannot intern the WM_PROTOCOLS atom, returns a zero sta-
       tus.  Otherwise, it returns a non-zero status.

       can generate and errors.

       The function returns the list of atoms stored in the WM_PROTOCOLS property on the specified window.  These atoms describe window manager
       protocols in which the owner of this window is willing to participate.  If the property exists, is of type ATOM, is of format 32, and the
       atom WM_PROTOCOLS can be interned, sets the protocols_return argument to a list of atoms, sets the count_return argument to the number of
       elements in list, and returns a a non-zero status.  Otherwise, it sets neither of the return arguments and returns a zero status.  To
       release the list of atom, use

       can generate a error.

Properties
       WM_PROTOCOLS
		 List of atoms that identify the communications protocols between the client and window manager in which the client is willing to
		 participate.

Diagnostics
       The server failed to allocate the requested resource or server memory.

       A value for a Window argument does not name a defined Window.

See Also
       XAllocClassHint(3X11), XAllocIconSize(3X11), XAllocSizeHints(3X11), XAllocWMHints(3X11), XFree(3X11), XSetCommand(3X11), XSetTransient-
       ForHint(3X11), XSetTextProperty(3X11), XSetWMClientMachine(3X11), XSetWMColormapWindows(3X11), XSetWMIconName(3X11), XSetWMName(3X11),
       XSetWMProperties(3X11), XStringListToTextProperty(3X11)
       X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys

															     XSetWMProtocols(3X11)
All times are GMT -4. The time now is 05:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy