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
DwtListBoxSetPos(3Dwt) DwtListBoxSetPos(3Dwt)
Name
DwtListBoxSetPos - Makes a specified position (item number in the list) the top visible position in a list box, or as close to the top as
possible.
Syntax
void DwtListBoxSetPos(widget, position)
Widget widget;
int position;
Arguments
widget Specifies the ID of the list box widget whose specified item number in the list you want displayed in the top position.
position Specifies the item number in the list displayed in the top position in the list box.
Description
The DwtListBoxSetPos function makes the specified position (the item number in the list) the top visible position in a list box. The func-
tion determines which item in the list box is displayed at the top of the list box, the choice of which is limited by the DwtNitemsCount
and DwtNvisibleItemsCount attributes to the list box widget. When DwtNvisibleItemsCount is greater than 1 and less than DwtNitemsCount,
the list box widget fills the list box with the maximum visible items regardless of the position value.
For example, if DwtNitemsCount is 10 and DwtNvisibleItemsCount is 5, you cannot make item 8 be displayed at the top of the list box.
Instead, items 6 through 10 would be displayed. Setting position to 4 would make items 4 through 8 be displayed. If DwtNvisibleItemsCount
is 1, you can make any item in the list be displayed at the top of the list box.
See Also
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding
DwtListBoxSetPos(3Dwt)