10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
3. UNIX for Dummies Questions & Answers
/home/dsadm# id dsadm
needs to be
/home/dsadm> id dsadm
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
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
Timing buffered disk reads: 108 MB in 3.04 seconds = 35.51 MB/sec
# hdparm -T /dev/sda
Timing cached reads: 3496 MB in 1.99 seconds = 1756.56 MB/sec... (1 Reply)
Discussion started by: pinga123
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
6. UNIX for Dummies Questions & Answers
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
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Dummies Questions & Answers
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
10. UNIX for Dummies Questions & Answers
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
glutButtonBoxFunc(3GLUT) GLUT glutButtonBoxFunc(3GLUT)
glutButtonBoxFunc - sets the dial & button box button callback for the current window.
void glutButtonBoxFunc(void (*func)(int button, int state));
func The new button box callback function.
glutButtonBoxFunc sets the dial & button box button callback for the current window. The dial & button box button 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 button presses. The button parameter will be the button number (starting at one). The number of available dial & button box buttons can
be determined with glutDeviceGet(GLUT_NUM_BUTTON_BOX_BUTTONS). The state is either GLUT_UP or GLUT_DOWN indicating whether the callback was
due to a release or press respectively.
Registering a dial & button box button callback when a dial & button box device is not available is ineffectual and not an error. In this
case, no dial & button box button callbacks will be generated.
Passing NULL to glutButtonBoxFunc disables the generation of dial & button box button callbacks. When a new window is created, no dial &
button box button callback is initially registered.
glutDialsFunc, glutDeviceGet, glutSpaceballButtonFunc, glutTabletButtonFunc
Mark J. Kilgard (email@example.com)