The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-28-2006
naren_chella naren_chella is offline
Registered User
 

Join Date: Feb 2006
Posts: 35
How to create a new unix user in through a c program

Hi ,

I want to create a new user using c program not with unix adduser command .
is it possible to write a cprogram to create a new user account , it should accept username , grouid , group name and all other privilages .

i can use system calls inside c program to do this .

i will execute it in a super user mode .

Many thanks in advance !

Naren
Reply With Quote
Remove advertisements
!!
Forum Sponsor