LinuxQuestions.org
Visit Jeremy's Blog.
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 10-05-2012, 02:39 PM   #1
raphael75
Member
 
Registered: Jul 2012
Posts: 40

Rep: Reputation: Disabled
what is the www-data account?


Hello,

I am new to Linux, and I'm trying to learn it to administer our web server. There is an account on the server called "www-data".

Is this account created by some program?

Is it possible to find out what the password for it is?

Thanks!
 
Old 10-05-2012, 02:48 PM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Location: Missouri, USA
Posts: 236

Rep: Reputation: 64
'www-data' is the user under which your web server runs. 'www-data' user has no password set by default.
 
1 members found this post helpful.
Old 10-08-2012, 01:46 PM   #3
raphael75
Member
 
Registered: Jul 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
Is www-data set up by Apache 2?

Is it possible to map a network drive in Windows to connect with the www-data account on Linux?

Thanks!
 
Old 10-08-2012, 06:42 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
The acct (as states above) belongs to the owner of apache and would have been created during the apache install.
If you check the entry in /etc/passwd, you'll likely find it has /sbin/nologin as the default shell; that's fine.

Mapping network drives can be done by NFS or Samba, depend on exactly what you need to do.
We need more information/details.
 
Old 10-09-2012, 06:42 AM   #5
raphael75
Member
 
Registered: Jul 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
Our website has a page that lets users upload files. I found that I could set the permissions on the upload folder to 755 but I had to change the owner to www-data for it to work. I have the website folder set up as a mapped drive on the windows computer I use to work on the website. The only problem is that I now can't drag & drop the files from the mapped drive in Windows - it gives an error stating I have to be logged on as www-data to do anything with the files in the upload folder. But when I try to map a drive in windows using the www-data account, it keeps saying the password is incorrect. I also tried mapping a drive using the root account, but it gives the same error even though I know I'm putting in the right password.

I can log on the Linux server fine with the root account using putty.
 
  


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
[SOLVED] www-data account hijacked Nickalf Linux - Security 15 02-07-2012 06:05 AM
www-data account hijacked Nickalf Linux - Server 1 02-02-2012 01:35 AM
www mail account manager sloniupl Linux - Newbie 2 03-07-2011 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:19 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