10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello folks,
I am facing a weird issue on one of the red hat linux 5 box. There is an oracle id which i want to change the primary group. Currently the primary group id is 16600, I did changed it to 16601 using below command:
usermod -g 16601 oracle
But it did not changed. I have tried... (3 Replies)
Discussion started by: snchaudhari2
3 Replies
2. SuSE
Hello,
A admin at work created accounts for me on about 20 SLES 11 servers. He gave me the wrong home directory. He also didn't create a home directory for me on the servers. I have root/sudo on the systems. I usually use the usermod command or just modify the /etc/passwd file to fix issues like... (11 Replies)
Discussion started by: bitlord
11 Replies
3. UNIX for Dummies Questions & Answers
Present
/home/dsadm# id dsadm
uid=0(root) gid=0(root)
----------------------------------
needs to be
/home/dsadm> id dsadm
uid=23186(dsadm) gid=16284(gdstage)
Please provide the command/steps for the above uid, gid value change
Thanks in advance for all your support .
... (3 Replies)
Discussion started by: sridhardwh
3 Replies
4. UNIX for Dummies Questions & Answers
I was analyzing the Disk read using hdparm utility.
This is what i got as a result.
# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec
# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec... (1 Reply)
Discussion started by: pinga123
1 Replies
5. AIX
Checking configuration access files for an AIX server, left me wondering about this :confused::
If a user is added to system group, it gets gid=0 with some security risks because it gets some root kind of file access level.
Is this insecure condition kept if the user has admin variable... (0 Replies)
Discussion started by: bkiddo
0 Replies
6. UNIX for Dummies Questions & Answers
hi
When I search a file with find, the subsequent search process takes relatively less time.
Is it cached somewhere in RAM altough the process died? (3 Replies)
Discussion started by: xyzt
3 Replies
7. UNIX for Advanced & Expert Users
My .vimrc file has filetype mappings for different filetypes such as :
autocmd FileType sh map gf ...
autocmd FileType ruby map gf ...
While rewriting a program from one language to another, I have 2 splits, one with shell and one with ruby. I would assume that "gf" would take on its mapping... (2 Replies)
Discussion started by: sentinel
2 Replies
8. UNIX for Dummies Questions & Answers
Hi there,
One can easily retrieve the uid from a username :
id -u $username
But how can we easily retrieve the gid from a group name?
I mean is there a command without using sed?
sed -nr "s/^$groupname:x:(+):.*/\1/p" /etc/group
Thanks for your help
Santiago (7 Replies)
Discussion started by: chebarbudo
7 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Can any one suggest me the way how can get mamory which has been cached during a process execution without rebooting the machine? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
10. UNIX for Dummies Questions & Answers
hi,
how do i remove the cache from squid automatically every day?/
ie., from /var/spool/squid/ all the directories which has been cached here and restart ONLY squid without rebooting the system, including the swap.state files
thanx in advance
cheers (1 Reply)
Discussion started by: balu
1 Replies
glutDialsFunc(3GLUT) GLUT glutDialsFunc(3GLUT)
NAME
glutDialsFunc - sets the dial & button box dials callback for the current window.
SYNTAX
#include <GLUT/glut.h>
void glutDialsFunc(void (*func)(int dial, int value));
ARGUMENTS
func The new dials callback function.
DESCRIPTION
glutDialsFunc sets the dial & button box dials callback for the current window. The dial & button box dials callback for a window is called
when the window has dial & button box input focus (normally, when the mouse is in the window) and the user generates dial & button box dial
changes. The dial parameter will be the dial number (starting at one). The number of available dial & button box dials can be determined
with glutDeviceGet(GLUT_NUM_DIALS). The value measures the absolute rotation in degrees. Dial values do not ``roll over'' with each com-
plete rotation but continue to accumulate degrees (until the int dial value overflows).
Registering a dial & button box dials callback when a dial & button box device is not available is ineffectual and not an error. In this
case, no dial & button box dials callbacks will be generated.
Passing NULL to glutDialsFunc disables the generation of dial & button box dials callbacks. When a new window is created, no dial & button
box dials callback is initially registered.
SEE ALSO
glutButtonBoxFunc, glutDeviceGet
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutDialsFunc(3GLUT)