LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-05-2005, 08:25 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
need to make www-data as super-user


Hi Iam creating a linux webadmin interface using php. on debian... I need to add a line to the sudoers file so that the user www-data becomes as powerfull as root....I want to do this for teh time being I have a more complicated solution under development but I need this one now for testing purposes....So if I wana add a line to the sudoers file that would give www-data root priveliges what should I write ??
 
Old 11-05-2005, 09:11 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
This is already being explained in your other thread here http://www.linuxquestions.org/questi...14#post1937314. You shouldn't be giving www-data entire root privileges just for useradd, you simply edit the sudoers file as detailed, providing you're okay with the idea of accepting input from users and passing this a string to execute commands directly on your Linux box.
 
  


Reply



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
Running super user commands as normal user mickyg Linux - Security 5 10-14-2005 07:25 PM
Super noob question about make jimjamjahaa Linux - Newbie 3 03-10-2005 02:35 PM
add www-data user restless Linux - Newbie 1 06-01-2004 07:51 AM
Super User boyinfrance Linux - Newbie 1 06-17-2002 12:07 PM
normal user = super user jayakrishnan Linux - General 4 03-19-2002 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:32 AM.

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