LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-11-2004, 09:32 PM   #1
pancake
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, 11:07 PM   #2
wolfe2554
Member
 
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, 04:24 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 83
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, 01:22 AM   #4
pancake
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.
 
  


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
Help! Pls! Yull29m Linux - General 2 02-03-2005 01: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 06:12 PM
hi pls help TAAN Linux - Software 2 12-14-2003 01:57 PM
.pls Chazb Linux - Software 1 07-02-2003 08:49 PM
More C help pls The Bag Programming 6 03-11-2002 04:51 PM


All times are GMT -5. The time now is 06:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration