Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Where does id / getent query ? Post 302730715 by MaindotC on Tuesday 13th of November 2012 01:31:35 PM
Old 11-13-2012
Where does id / getent query ?

I'm typing "id <user's id>" and its returning a different UID that what is defined in our administration system. Where does id / getent query and where is it configured to query? I'm guessing it queries the local /etc/passwd file first, and then if it doesn't find anything it would query LDAP correct?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

query.....

hi friends i want to know details of `exec` exact use of this command ..... actually i went through the man page but i didn`t get the satisfactory ...conclusion.... thaks in advance.... (1 Reply)
Discussion started by: newson
1 Replies

2. UNIX for Dummies Questions & Answers

Need Help on query

I just started to learn unix - need help to write a script to query a logfile and produce the results that contains a specific word "alarm" for a period from X day to Y day. I really have no idea how to begin - :( please help... ____________________________________________________ #... (1 Reply)
Discussion started by: snipfer
1 Replies

3. Shell Programming and Scripting

add the output of a query to a variable to be used in another query

I would like to use the result of a query in another query. How do I redirect/add the output to another variable? $result = odbc_exec($connect, $query); while ($row = odbc_fetch_array($result)) { echo $row,"\n"; } odbc_close($connect); ?> This will output hostnames: host1... (0 Replies)
Discussion started by: hazno
0 Replies

4. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

5. Shell Programming and Scripting

want to query : YES or NO

hi i want to make script. where i want to query from the user yes or no exp: do you want to proceed : y for yes n for NO. how this is possible in unix (3 Replies)
Discussion started by: dodasajan
3 Replies

6. UNIX for Dummies Questions & Answers

Query

Hi, I have a script to remove null values from a file. Could any one explain how this is working? :confused: while read f do echo process $f gawk... (0 Replies)
Discussion started by: abhi_n123
0 Replies

7. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies

8. Solaris

getent not working, solaris 10 only

Hello, thanks in advance for any help! We use LDAP for our unix boxes When I run getent passwd on solaris 10, it only returns some of the ldap entries, not all. Aprox 300 of 4000. When i run the same command on linux or solaris 9, it comes back correct. my nsswitch file is good. I ran a... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

9. Shell Programming and Scripting

getent hosts

korn shell script on Solaris getent hosts <hostname> returns IP FQDN But I just want the output to be like this <hostname> IP things I have tried so far getent hosts <hostname> |awk '{print $2,$1}' using awk and substr getent hosts <hostname> |nawk '{print substr($2,1,5)}' ... (1 Reply)
Discussion started by: snoman1
1 Replies
xmatrix(6x)							XScreenSaver manual						       xmatrix(6x)

NAME
xmatrix - simulates the computer displays from the movie SYNOPSIS
xmatrix [-display host:display.screen] [-window] [-root] [-install] [-visual visual] [-delay usecs] [-density percentage] [-top | -bottom | -both] [-small | -large] [-trace] [-mode mode] [-phone number] [-fps] DESCRIPTION
The xmatrix program draws the 2D "digital rain" effect, as seen on the computer monitors in the Wachowski brothers' film, "The Matrix". Also see glmatrix(6x) for a 3D rendering of the similar effect that appeared in the title sequence of the movie. OPTIONS
xmatrix accepts the following options: -window Draw on a newly-created window. This is the default. -root Draw on the root window. -install Install a private colormap for the window. -visual visual Specify which visual to use. Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual. -delay usecs The delay between steps of the animation, in microseconds: default 10000. -density percentage The approximate percentage of the screen that should be filled with characters at any given time. Default 75%. When running in a window, typing + will increase the density and typing - will decrease it. Typing 0 will momentarily drain the screen. -top | -bottom | -both If -top is specified, the characters will only drop in from the top of the screen as sliding columns of characters. If -bottom is specified, then instead of sliding columns, the characters will appear as columns that grow downwards and are erased from above. If -both is specified, then a mixture of both styles will be used. The default is -both. When running in a window, typing [ will switch to top-mode, typing ] will switch to bottom-mode, and typing will switch to both- mode. -small | -large These options specify the sizes of the characters. The default is -large. -mode trace Start off with a representation of a phone number being traced. When the number is finally found, display The Matrix as usual. This is the default. -phone number The phone number to trace, if -trace is specified. -mode crack Start off by shutting down the power grid. -mode binary Instead of displaying Matrix glyphs, only display ones and zeros. -mode hexadecimal Instead of displaying Matrix glyphs, display hexadecimal digits. -mode dna Instead of displaying Matrix glyphs, display genetic code (guanine, adenine, thymine, and cytosine.) -mode ascii Instead of displaying Matrix glyphs, display random ASCII characters. -mode pipe Instead of displaying random characters, display the output of a subprocess, as ASCII. -program sh-command The command to run to generate the text to display. This option may be any string acceptable to /bin/sh. The program will be run at the end of a pty or pipe, and any characters that it prints to stdout will be placed in the feeders for xmatrix. If the program exits, it will be launched again after xmatrix has processed all the text it produced. For example: xmatrix -program 'echo Hello World' xmatrix -ascii -program 'ps -eo comm | rev' xmatrix -program 'od -txC -w6 /dev/random' xmatrix -program 'cat /dev/random' ENVIRONMENT
DISPLAY to get the default host and display number. XENVIRONMENT to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property. SEE ALSO
glmatrix(6x), X(1), xscreensaver(1) COPYRIGHT
Copyright (C) 1999-2003 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. AUTHOR
Jamie Zawinski <jwz@jwz.org>, 25-Apr-99. X Version 11 5.15 (28-Sep-2011) xmatrix(6x)
All times are GMT -4. The time now is 01:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy