9 More Discussions You Might Find Interesting
1. Solaris
Hi,
Can you please tell me how to know the number of user account limit in solrise 5 version.Is there any cmd to see how many max user acc can be created.
Thanks in advance (2 Replies)
Discussion started by: kkalyan
2 Replies
2. Solaris
Hi All,
How to know all the shells a user has access.
Thank you . (0 Replies)
Discussion started by: rama krishna
0 Replies
3. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
4. UNIX for Dummies Questions & Answers
hello ppl, someone must be able to help with this --> I have an old NCR tower 32 with an ADDS terminal running a unix version 020102 (Im not sure if thats correct but its unix for sure). I have no user names and no passwords and need to login to read a tape. Is there any way to do that? I hear... (3 Replies)
Discussion started by: orestis
3 Replies
5. UNIX for Dummies Questions & Answers
Hey everyone I am new to the forums and to Unix. I am currently taking a class on Unix, our teacher posed the question to us How do u create a user account without using GUI or command? We are currently running Knoppix version of Unix and for the life of me I can't figure out how this is possible.... (0 Replies)
Discussion started by: Redditt90kg
0 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I was wondering if someone could tell me how to display a list of all existing user accounts on the system, not neccesarily looged in. Thanks in advance
Stephen (3 Replies)
Discussion started by: sroberts82
3 Replies
7. UNIX for Dummies Questions & Answers
I have a root access to a UNIX system. I want to create another account with administrative permissions (create users, delete them, manage print and system configuration), how do I do that?
I have a Solaris 9 (SunOS 5.9) installed. Please help. :o (3 Replies)
Discussion started by: neked
3 Replies
8. Shell Programming and Scripting
I have found a script to create user accounts. But there are a few lines i dont understand. Can someone help me with this? Here's the code:
######################################
while ;
do
ACCT=${USER_ACCT}${START}
START=`expr $START + 1`
START=`echo ${START} | awk... (3 Replies)
Discussion started by: Sensor
3 Replies
9. UNIX for Dummies Questions & Answers
Ahhhh!!!!!!!!
All of my user accounts can no longer login. I suspected a corrupt passwd file, but everything looks OK and the passwd file works when I copy it to another system. All user accounts cannot login...they recieve a "No directory defined" error, but I can logon using root just fine. I... (13 Replies)
Discussion started by: jskillet
13 Replies
PROP_SEND_SYCALL(3) BSD Library Functions Manual PROP_SEND_SYCALL(3)
NAME
prop_array_send_syscall, prop_array_recv_syscall, prop_dictionary_send_syscall, prop_dictionary_recv_syscall -- send and receive property
lists to and from the kernel using syscalls
SYNOPSIS
#include <prop/proplib.h>
int
prop_array_send_syscall(prop_array_t array, struct plistref *prefp);
int
prop_array_recv_syscall(const struct plistref *prefp, prop_array_t *arrayp);
int
prop_dictionary_send_syscall(prop_dictionary_t dict, struct plistref *prefp);
int
prop_dictionary_recv_syscall(const struct plistref *prefp, prop_dictionary_t *dictp);
DESCRIPTION
The prop_array_send_syscall, prop_array_recv_syscall, prop_dictionary_send_syscall, and prop_dictionary_recv_syscall functions implement the
user space side of a protocol for sending property lists to and from the kernel using syscall(2).
RETURN VALUES
If successful, functions return zero. Otherwise, an error number is returned to indicate the error.
EXAMPLES
The following (simplified) example demonstrates using prop_dictionary_send_syscall() and prop_dictionary_recv_syscall() in an application:
void
foo_setprops(prop_dictionary_t dict)
{
struct pref pref;
(void) prop_dictionary_send_syscall(dict, &pref);
(void) my_syscall_set(&pref);
}
prop_dictionary_t
foo_getprops(void)
{
prop_dictionary_t dict;
struct pref pref;
(void) my_syscall_get(&pref);
if (prop_dictionary_recv_syscall(&pref, &dict) != 0)
return (NULL);
return (dict);
}
ERRORS
prop_array_send_syscall() and prop_dictionary_send_syscall() will fail if:
[ENOMEM] Cannot allocate memory
[ENOTSUP] Not supported
prop_array_recv_syscall() and prop_dictionary_recv_syscall() will fail if:
[EIO] Input/output error
[ENOTSUP] Not supported
SEE ALSO
prop_array(3), prop_dictionary(3), proplib(3), prop_copyin_ioctl(9)
HISTORY
The proplib property container object library first appeared in NetBSD 4.0.
BSD
January 17, 2011 BSD