LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-15-2011, 04:27 PM   #1
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17
Blog Entries: 1

Rep: Reputation: 0
add users to linux box without using useradd!!


Hi all,

do you guys know how to add a user to a linux box without using useradd?
I'm working on a project to disect the process of adding users, but can't use useradd command.
I know this involves modifying couple of files such as /etc/passwd, /etc/groups, etc..
but i'm sure there is more to it.
I couldn't find useradd source code which would answered this question.

Thanks.
 
Old 06-15-2011, 05:44 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
useradd is part of the shadow package

http://pkg-shadow.alioth.debian.org/releases/
 
Old 06-16-2011, 09:37 AM   #3
bsl4ever
LQ Newbie
 
Registered: Apr 2011
Posts: 17

Original Poster
Blog Entries: 1

Rep: Reputation: 0
thanks. is there any instructions on how to do this. I unpacked the file tar.gz, but not sure what to do next!

Thanks again.
 
Old 06-16-2011, 09:41 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by bsl4ever View Post
I unpacked the file tar.gz, but not sure what to do next!
You answered that in your first post.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Useradd Command To Add User To OpenSuse Box From LDAP ? prayingtosky Linux - Newbie 4 01-03-2011 09:02 PM
'useradd' wrong id for group 'users' JokerBoy Slackware 2 02-12-2010 02:44 PM
how to add smbldap-useradd -B kashifazizawan Linux - Server 2 08-28-2008 11:55 PM
useradd problem after 30 users limneos Linux - Newbie 7 06-04-2005 07:36 AM
useradd for making ftp users?? djkoe Linux - Newbie 1 03-20-2004 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration