02-17-2004
9 More Discussions You Might Find Interesting
1. AIX
Can someone suggest me any means of having a controlled way to user access ...
basically we have a varied environment of people(users) logging in to AIX boxes ... either via
1) telnet ...
2) application
3) databse (SQL's)
what we need to do is formalise this .. can someone help me with this
... (2 Replies)
Discussion started by: rajesh_149
2 Replies
2. What is on Your Mind?
I am currently executing a Unix audit & would like some guidance on best practice for the management of root user access.
The organisation is small, with an IT team of approx 25. (6 Replies)
Discussion started by: conaloregan
6 Replies
3. Solaris
I want to know about how to start and kill the process of other unix user. Do I need to change the owner or modify user account itself. ??? (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies
4. UNIX for Dummies Questions & Answers
Does it exist centralized tools on unix for managing users of all servers (like windows AD) ? (1 Reply)
Discussion started by: astjen
1 Replies
5. Solaris
Hi,
Is all of the user account password security settings kept in the /etc/default/passwd file or is there some new control in Solaris 10 that defines these?
I need to know the security settings for passwords in Solaris 10. Also is there any way to find out when accounts were created? ... (3 Replies)
Discussion started by: gwhelan
3 Replies
6. Linux
Hi All,
I have to learn all the user management commend like adduser,useradd,chggrp... etc
I would like to know the syntax or example.
Please give me document or link.
Thanks,
Mani (1 Reply)
Discussion started by: Mani_apr08
1 Replies
7. AIX
Hi
When i search for a user it shows that the user doesn't exist
# lsuser x090817
3004-687 User "x090817" does not exist.
But under /var/spool/mail/ the file named x090817 still exists.
4700 1 -rw-rw---- 1 2090817 mail 603 Apr 12 2010 /var/spool/mail/x090817... (1 Reply)
Discussion started by: aixaixaixaix
1 Replies
8. AIX
We have an environment of around 50 AIX LPARs. We use scripts for user and group account management but it is starting to get unwieldy to document and manage the accounts. It would be doable with scripts but before we dedicate resources to that, I was wondering if there is any product that you... (2 Replies)
Discussion started by: wilford
2 Replies
9. UNIX for Beginners Questions & Answers
Good afternoon all,
Was un-sure on where to post this so I thought I would use this topic...
I was wondering what best practice people use for the deletion of user profiles on AIX systems?
At the moment, I currently don't delete any user profiles, they are just disabled as they... (1 Reply)
Discussion started by: SteveCPayne
1 Replies
LEARN ABOUT OPENSOLARIS
volmgt_inuse
volmgt_inuse(3VOLMGT) Volume Management Library Functions volmgt_inuse(3VOLMGT)
NAME
volmgt_inuse - check whether or not volume management is managing a pathname
SYNOPSIS
cc [ flag ... ] file ... -lvolmgt [ library ... ]
#include <volmgt.h>
int volmgt_inuse(char *pathname);
DESCRIPTION
This function is obsolete. The management of removable media by the Volume Management feature, including vold, has been replaced by soft-
ware that supports the Hardware Abstraction Layer (HAL). Programmatic support for HAL is through the HAL APIs, which are documented on the
HAL web site. See hal(5). The return value of this function is undefined.
volmgt_inuse() checks whether volume management is managing the specified pathname.
RETURN VALUES
The return from this function is undefined.
ERRORS
This routine can fail, returning 0, if a stat(2) of the supplied pathname or an open(2) of /dev/volctl fails, or if any of the following is
true:
ENXIO Volume management is not running.
EINTR An interrupt signal was detected while checking for the supplied pathname for use.
EXAMPLES
Example 1 Using volmgt_inuse()
To see if volume management is managing the first floppy disk:
if (volmgt_inuse("/dev/rdiskette0") != 0) {
(void) printf("volmgt is managing diskette 0
");
} else {
(void) printf("volmgt is NOT managing diskette 0
");
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO
cc(1B), open(2), stat(2), errno(3C), volmgt_check(3VOLMGT), volmgt_running(3VOLMGT), attributes(5), hal(5)
NOTES
This routine requires volume management to be running.
Since volmgt_inuse() returns 0 for two different cases (both when a volume is not in use, and when an error occurs), it is up to the user
to to check errno to differentiate the two, and to ensure that volume management is running.
SunOS 5.11 8 Mar 2007 volmgt_inuse(3VOLMGT)