09-11-2012
You haven't even told us your system yet, even though we mentioned there's differences between them.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can anyone explain the second and third fields in /etc/passwd.
Thanks. (2 Replies)
Discussion started by: nguda
2 Replies
2. UNIX for Advanced & Expert Users
Hello ppl,
A small mistake of mine has led the /etc/passwd file deleted. So i went to rescue mode and used the following command echo "root::0:0:Superuser:/:/bin/bash" > passwd
but that did not get effect in anyway way. when I switch back to normal mode the root is still asking for a passwd.... (3 Replies)
Discussion started by: cyno
3 Replies
3. HP-UX
Dear frnds,
I have 250 users in passwd file with different passwords, how i can change the password to username+99. pls help out.
regards (6 Replies)
Discussion started by: jestinabel
6 Replies
4. Shell Programming and Scripting
I have left unix for a long time.Almost forget everthing.:(
Anybody can tell me what is the meaning?
wc /etc/passwd
9 16 1155 /etc/passwd
and
$ wc -l /etc/passwd
wc -l /etc/passwd
9 /etc/passwd (1 Reply)
Discussion started by: zhshqzyc
1 Replies
5. Shell Programming and Scripting
Hello All
I want to print only the full name from the /etc/passwd file and print it to the screen .
Could you please let me know how can I do that? (4 Replies)
Discussion started by: supercops
4 Replies
6. AIX
Is there any way to allow users to access the etc/passwd file for commands like whoami but not be able to read the file? If I don't put a user in the security group and change the permissions on the etc/passwd file to 640 (rw-r-----) the users can login but the whoami command doesn't work for... (5 Replies)
Discussion started by: daveisme
5 Replies
7. Solaris
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
8. UNIX for Dummies Questions & Answers
Hello ,
how to open utemp,getpwuid files.I know what info these files will carry but i dont know ow to open see the info present in it.
Thanks to help. (4 Replies)
Discussion started by: kkalyan
4 Replies
9. UNIX for Dummies Questions & Answers
Hi!
i've been searching a way to display the users who are in the /etc/passwd directory...using ls or grep or cat command should do it?i can't find a way to get this right..i mean none of the preview commands function sounded good to me to use... (9 Replies)
Discussion started by: strawhatluffy
9 Replies
10. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
LEARN ABOUT MOJAVE
mouse_setwrap
mouse_setwrap(3) Svgalib User Manual mouse_setwrap(3)
NAME
mouse_setwrap - set what happens at the mouse boundaries
SYNOPSIS
#include <vgamouse.h>
void mouse_setwrap(int state);
DESCRIPTION
This routine determines what to do if the mouse position reaches a boundary.
state should be either MOUSE_WRAP, MOUSE_NOWRAP, or a bitwise or of MOUSE_WRAPX, MOUSE_WRAPY, MOUSE_WRAPZ, MOUSE_WRAPRX, MOUSE_WRAPRY, or
MOUSE_WRAPRZ. These define if all or the respective coordinates wrap or are clipped at the ends.
This variable has been overloaded for the case of multi-dimensional mice that support rotations and can be used to select the coordinate
system used to return the current position of the mouse.
If the above value of state is also ored with MOUSE_ROT_RX_RY_RZ, rotational information will be returned as the angular position as
expressed by the total angle wound around the X, Y, and Z axes. This is the simplest coordinate system to use, but it's also the least
useful, since angular rotations about perpendicular axes don't commute. There are situations where this system might be useful, for con-
trolling truly independent quantities, such as color, with each axis being used to dial a level of red, green, or blue, but for modeling
the actual orientation of a physical object, it's utterly hopeless.
If state is instead ored with MOUSE_ROT_INFINITESIMAL, the angular positions returned are expressed as differences from the previously
reported position. If the differences are sufficiently small, the angular displacements will commute with each other and can be used to
track the motion of a physical object. Other coordinate systems, such as yaw, pitch, and roll, could be defined, but haven't been done due
to lack of time. If you feel you need this feature, send mail to Eric Sharkey <sharkey@superk.physics.sunysb.edu> and he just might con-
sider coding it up.
MOUSE_WRAP and MOUSE_ROT_COORDS can be used to mask out the bits used for wrap and coordinate states, respectively.
SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), eventtest(6), mouse_close(3), mouse_init(3), mouse_getposition_6d(3), mouse_setposition(3),
mouse_setscale(3), mouse_getx(3), mouse_setxrange(3), mouse_update(3), mouse_waitforupdate(3), vga_setmousesupport(3), mouse_seteven-
thandler(3), vga_waitevent(3)
AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the
original documentation is unknown.
It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>.
Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections
to this first version of the svgalib manual.
Svgalib (>= 1.2.11) 27 July 1997 mouse_setwrap(3)