Sponsored Content
Top Forums Programming How to create a new unix user in through a c program Post 100750 by jim mcnamara on Wednesday 1st of March 2006 04:39:09 PM
Old 03-01-2006
I don't think this is a simple "C" program with a couple of system calls.... It sounds like you're on Linux, so try getting a copy of your distro's source for useradd.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Other than root user .Normal user is unable to create files

Hi all, I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies

2. Programming

Using a C program to create directories in UNIX

Aloha, I'm attempting to use a C program to create directories and then use a system call to have another program write .dat files into that directory. I understand that I could use the "system("mkdir directory_name")" function however, I would like my program to create a new directory each time... (3 Replies)
Discussion started by: aloha_boi
3 Replies

3. Programming

Create a lib from a c program

I have a function in a c program that I want to to share with other programs. How do I create a lib using the cc compiler ? (9 Replies)
Discussion started by: npires
9 Replies

4. Shell Programming and Scripting

Create Unix User

Is there any way to create user with default password by shell script withoud manual intervantion and from a text file having user's information and default password. Thanks (6 Replies)
Discussion started by: wenay
6 Replies

5. UNIX for Dummies Questions & Answers

create New UNIX User

Hi all, I wish to create some users, I can do that using the following command. useradd I wonder If i could create Uers as a clone of Root. I mean different users but having the same provileages as Root user. Can be ablle to access the Root Dir and so on .. Please help me out Is this... (6 Replies)
Discussion started by: Asteroid
6 Replies

6. Programming

create sound using C program

I could not recall the function in C to generate diff type of sounds. Can somebody help me out. (2 Replies)
Discussion started by: bishweshwar
2 Replies

7. UNIX for Dummies Questions & Answers

create new user in unix

hi how to create new user in unix plz explain me (3 Replies)
Discussion started by: arulkumar
3 Replies

8. Homework & Coursework Questions

Create script to add user and create directory

first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies

9. Shell Programming and Scripting

New To UNIX - Need Script to create report of user & group accounts

Hi, I'm new to the world of UNIX and have been asked to create a complex script (at least complex to me:confused:) for AIX UNIX to create a report of all the users on the server including server, user, UID, groups, GID, etc. Found a script using lsuser, but the output is still lacking. 2 things I... (2 Replies)
Discussion started by: panthur
2 Replies

10. HP-UX

How to create a user in UNIX with some limited permissions?

As i know, Unix or Linux only manages 2 type of user: root user or normal user. All users with userID=0 will have all administration permissions like root user with the system. In my case, i want to create a new user in HP-UNIX environment with all root permissions only one exception that this... (5 Replies)
Discussion started by: hieucn1404
5 Replies
UNIMPLEMENTED(2)					     Linux Programmer's Manual						  UNIMPLEMENTED(2)

NAME
afs_syscall, break, ftime, gtty, lock, mpx, phys, prof, profil, stty, ulimit - unimplemented system calls SYNOPSIS
Unimplemented system calls. DESCRIPTION
These system calls are not implemented in the Linux 2.0 kernel. RETURN VALUE
These system calls always return -1 and set errno to ENOSYS. NOTES
Note that ftime(3), profil(3) and ulimit(3) are implemented as library functions. Some system calls, like ioperm(2), iopl(2), ptrace(2) and vm86(2) only exist on certain architectures. Some system calls, like ipc(2) and {create,init,delete}_module(2) only exist when the Linux kernel was built with support for them. SEE ALSO
obsolete(2) Linux 2.0 1998-06-12 UNIMPLEMENTED(2)
All times are GMT -4. The time now is 09:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy