07-27-2015
That does not generate the user list on the server.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I have root access on Linux red hat server.
How do I see the current user list and group they belong?
ThankS! (3 Replies)
Discussion started by: whatisthis
3 Replies
2. Shell Programming and Scripting
Hi all,
I have a problem which needs to be solved soon because it affects auditing capabilities.
There is an application id that has to be used by other users for the purpose of production support.
The application user id uses C shell.
We allow users to switch to the application user id based... (1 Reply)
Discussion started by: s_saran
1 Replies
3. UNIX for Advanced & Expert Users
I have to write a script (not C based) that allows to capture of all commands issued by the user “root”.
First, I tried to monitor the .bash_history but the commands are written in chunk after the .bash_history is closed.
How can I capture the commands in Real-Time without waiting root to... (4 Replies)
Discussion started by: elieifrah@gmail
4 Replies
4. Shell Programming and Scripting
To all,
I need to find a group in /etc/group and if found, I need to list out all the login ids for that group - one login id per line.
To find the list of user login ids for group X, I probably will use
cat /etc/group|grep ^X:|cut -d: -f4
This will return back a list of comma delimited... (4 Replies)
Discussion started by: april
4 Replies
5. Shell Programming and Scripting
I need to add to a BASH script if ${USER} is not in a list of users (smitha, brownd, adamsp) then do something... what is the best shortest way to accomplish an if statement with a list like this? Also the list of users should be in the script, not an external file.
Thanks! (5 Replies)
Discussion started by: glev2005
5 Replies
6. Shell Programming and Scripting
Hi,
cut -d: -f1,3 /etc/group >rpt.out
I have a doubt in above unix commands. right i am getting list of group user id into rpt.out file. instead i need to store it as an array. could you please tell me how can i get list of user into an array..
If u could tell me give me in perl script... (2 Replies)
Discussion started by: solo123
2 Replies
7. Shell Programming and Scripting
Folks,
I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3)
List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies
8. Shell Programming and Scripting
in our environment role ids are created in unix to which user does su.
say my individual id is drout and a role is devid.
i will login to drout
the su - devid
password : <nothing > password less role id
then i will login to devid.
can i write a function and pass it in a script while i... (4 Replies)
Discussion started by: dr46014
4 Replies
9. Shell Programming and Scripting
Hi,
I need an output of process running on server, i am executing
ps -ef | grep test
output is
asak 22362 1 0 Nov07 ? 00:00:03 /usr/software/bin/perl-5.8.8 /u/assk/bin/test -v none JOBID=2012117
asak 23748 22362 0 Nov07 ? 00:00:00 /usr/software/bin/perl-5.8.8... (3 Replies)
Discussion started by: asak
3 Replies
10. HP-UX
Hi
I want to know how capture all user command line output and save this commands and outputs to text files?
if you have script for this subject please give me.:o
please help me
thank you (6 Replies)
Discussion started by: amvhd
6 Replies
LEARN ABOUT ULTRIX
xlistinstalledcolormaps
XInstallColormap(3X11) MIT X11R4 XInstallColormap(3X11)
Name
XInstallColormap, XUninstallColormap, XListInstalledColormaps - control colormaps
Syntax
XInstallColormap(display, colormap)
Display *display;
Colormap colormap;
XUninstallColormap(display, colormap)
Display *display;
Colormap colormap;
Colormap *XListInstalledColormaps(display, w, num_return)
Display *display;
Window w;
int *num_return;
Arguments
colormap Specifies the colormap.
display Specifies the connection to the X server.
num_return
Returns the number of currently installed colormaps.
w Specifies the window that determines the screen.
Description
The function installs the specified colormap for its associated screen. All windows associated with this colormap immediately display with
true colors. You associated the windows with this colormap when you created them by calling or
If the specified colormap is not already an installed colormap, the X server generates a event on each window that has that colormap. In
addition, for every other colormap that is installed as a result of a call to the X server generates a event on each window that has that
colormap.
can generate a error.
The function removes the specified colormap from the required list for its screen. As a result, the specified colormap might be unin-
stalled, and the X server might implicitly install or uninstall additional colormaps. Which colormaps get installed or uninstalled is
server-dependent except that the required list must remain installed.
If the specified colormap becomes uninstalled, the X server generates a event on each window that has that colormap. In addition, for
every other colormap that is installed or uninstalled as a result of a call to the X server generates a event on each window that has that
colormap.
can generate a error.
The function returns a list of the currently installed colormaps for the screen of the specified window. The order of the colormaps in the
list is not significant and is no explicit indication of the required list. When the allocated list is no longer needed, free it by using
can generate a error.
Diagnostics
A value for a Colormap argument does not name a defined Colormap.
A value for a Window argument does not name a defined Window.
See Also
XChangeWindowAtrributes(3X11), XCreateColormap(3X11), XCreateWindow(3X11), XFree(3X11)
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XInstallColormap(3X11)