03-22-2011
Written scripts to kill idle user for 60 min. & email user list to admin in text file
Thanks
Last edited by sumit30; 03-24-2011 at 11:13 AM..
Reason: NA
10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hi,
Please excuse me for posting an "ad" message here.
Over the last few months I have created software called WinSmit, with this tool you can create your own AIX smit menus and corresponding message files.
We all know the smit or smitty menus that IBM provides to maintain the system, the... (6 Replies)
Discussion started by: mimyrtek
6 Replies
2. AIX
Hi everybody,
I have a system with AIX 5.2. I want to create a User on this system. This User shouldn't has an admin rights, but I want to allow him to remove any directory from a specific path where the owner of this path is another user (not root).
what is the properties that should be... (4 Replies)
Discussion started by: aldowsary
4 Replies
3. AIX
Good Afternoon
How can i change password without it requests the following thing to me:
Changing password for "prueba1"
prueba1's Old password:
what desire is that is made directly like in root:
Changing password for "prueba1"
prueba1's New password:
In the company have a two role... (3 Replies)
Discussion started by: Lost in AIX
3 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I am on a project and logging into about 100 servers one at a time. One of the steps I am performing is setting up a link with smit mkroute. I am using AIX versions 5.2 and 5.3
Does anyone know a quick command line to set DESTINATION ADDRESS, GATEWAY address, Network MASK, and... (5 Replies)
Discussion started by: jeffpas
5 Replies
5. Solaris
i now when i want use the smit in AIX is possible
but a ask if you has in sun same job in sun tel me please
awating supports (3 Replies)
Discussion started by: Yalmalki
3 Replies
6. Shell Programming and Scripting
My searches turned up nothing relevant, so I apologize if this has already been looked at.
I am trying to run an expect script from a Solaris machine, that ssh's into an AIX machine, and interacts with a SMIT created menu system that runs a few backups for me.
The expect script runs fine when... (0 Replies)
Discussion started by: Mariognarly
0 Replies
7. AIX
Hello everybody
My question is about which default userīs should I disable it on Aix 6.1
I would like to hear your opinions.
Thanks for your comments (0 Replies)
Discussion started by: lo-lp-kl
0 Replies
8. AIX
I apologize if this is a simple/stupid question. When I add users in smit as root, many(most) of the fields are automatically popluated with some basic default values.
Some other admins here have access to create users via sudo, however when they create users (sudo smit users), the user gets... (3 Replies)
Discussion started by: mshilling
3 Replies
9. AIX
Does anyone have any experience using sudo to control smit on AIX 5.3?
These are the smit commands that I want certain users to execute:
# Cmnd alias specification
Cmnd_Alias SMIT = /bin/smit hacmp, \
/bin/smit pxdam, \
/bin/smit cl_lsuser, \
/bin/smit cl_users, \
/bin/smit cl_passwd
... (5 Replies)
Discussion started by: tharrieswk
5 Replies
10. AIX
Hi,
what are the ideal/best/recommended ulimit settings for a root user in AIX?
I understand that it depends on our environment. But I would like to know...what are settings you guys use in your environment for best performance.
default:
fsize = 2097151
core = 2097151
... (8 Replies)
Discussion started by: System Admin 77
8 Replies
LEARN ABOUT HPUX
xsetdashes
XSetDashes() XSetDashes()
Name
XSetDashes - set a pattern of line dashes in a graphics context.
Synopsis
XSetDashes(display, gc, dash_offset, dash_list, n)
Display *display;
GC gc;
int dash_offset;
char dash_list[];
int n;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
gc Specifies the graphics context.
dash_offset
Specifies the phase of the pattern for the dashed line style.
dash_list Specifies the dash list for the dashed line style. An odd-length list is equivalent to the same list concatenated with itself to
produce an even-length list.
n Specifies the length of the dash list argument.
Description
XSetDashes() sets the dashes component of a GC. The initial and alternating elements of the dash_list argument are the dashes, the others
are the gaps. All of the elements must be non-zero, with lengths measured in pixels. The dash_offset argument defines the phase of the
pattern, specifying how many pixels into the dash_list the pattern should actually begin in the line drawn by the request.
n specifies the length of dash_list. An odd value for n is interpreted as specifying the dash_list concatenated with itself to produce
twice as long a list.
Ideally, a dash length is measured along the slope of the line, but server implementors are only required to match this ideal for horizon-
tal and vertical lines. Failing the ideal semantics, it is suggested that the length be measured along the major axis of the line. The
major axis is defined as the x axis for lines drawn at an angle of between -45 and +45 degrees or between 315 and 225 degrees from the x
axis. For all other lines, the major axis is the y axis.
See Volume One, Chapter 5, The Graphics Context, for further information.
Errors
BadAlloc
BadGC
BadValue No values in dash_list.
Element in dash_list is 0.
See Also
XDefaultGC(), XChangeGC(), XCopyGC(), XCreateGC(), XFreeGC(), XGContextFromGC(), XSetArcMode(), XSetBackground(), XSetClipMask(), XSetCli-
pOrigin(), XSetClipRectangles(), XSetFillRule(), XSetFillStyle(), XSetForeground(), XSetFunction(), XSetGraphicsExposures(), XSetLineAt-
tributes(), XSetPlaneMask(), XSetState(), XSetStipple(), XSetSubwindowMode(), XSetTSOrigin().
Xlib - Graphics Context XSetDashes()