Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-11-2004, 08:32 PM   #1
LQ Newbie
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Can someone pls help me

I am having problem with adding user from PHP page to Linux server anybody had successfully done that before? I tried using system("useradd username") and shell script to add it but failure just dun know why???
Old 04-11-2004, 10:07 PM   #2
Registered: Apr 2003
Location: denver co
Distribution: redhat9
Posts: 156

Rep: Reputation: 30
So first of all do not put help pls in the subject line, it vauge and will result in no help, try adding user from php. or something to that extent. Second when you are in the server and type useradd username does it give you an error? then when you add an user with just useradd username it just creates the username, not the password or home directory, or anything else. Check you /etc/passwd file to see if the user has been added.
Old 04-12-2004, 03:24 AM   #3
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Like wolfe said, posts with titles such as "please help me" are totally useless. In the future please use more descriptive language.

The adduser command is pretty basic, so I'm surprised that you are having trouble with it Are you running it as root? -- J.W.
Old 04-13-2004, 12:22 AM   #4
LQ Newbie
Registered: Apr 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I'm sorry for the subject posted, will be using more descriptive word. I have no problem executing useradd command in Linux but not php.


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
Help! Pls! Yull29m Linux - General 2 02-03-2005 12:57 PM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM
hi pls help TAAN Linux - Software 2 12-14-2003 12:57 PM
.pls Chazb Linux - Software 1 07-02-2003 07:49 PM
More C help pls The Bag Programming 6 03-11-2002 03:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

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