Source Code for useradd, usermod etc.
Hi all,
Please let me know where we can find the source code for useradd and usermod shell commands. Thanks, Gopal Sukumar. |
If memory serves me correct, the source code for those are located in the shadow suite source, at least that's where Slackware has them. Your distro should have source code available either with the installer disc or from the their website.
|
Searched GNU.org?
|
bsdunix is right.
they are in shadow package suite. you can download the source code from official website http://pkg-shadow.alioth.debian.org/ ls shadow-4.1.4/src Code:
Makefile.am chpasswd.c groupadd.c grpck.c login.c nologin.c su.c usermod.c |
To a certain extent this will be distro specific, so I would get it directly from your distro. For instance on Centos 5.4 it is:
Quote:
|
All times are GMT -5. The time now is 02:31 PM. |