LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-08-2005, 04:18 AM   #1
Datamike
Member
 
Registered: Oct 2003
Location: Finland
Distribution: Slackware 12.0
Posts: 34

Rep: Reputation: 15
Question basics of nobody and nogroup


I felt it was a safe bet to put this here. When I installed the apache package to my slackware linux, I noticed that the default user and group used by the server is nobody. I was once told that this is generally a bad idea from security's point of view, but I never found out what this user is actually suppose be used for. I also found there is a group called nogroup. I tried to look around but can't find anything that would explains these. Not even my linux book.

Could anyone enlighten me?
 
Old 02-08-2005, 04:21 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
nobody is an underpriviledged user made specifically to run such daemons as webservers (Apache), ircd, irc bots, etc.
nogroup is the group it is a member of, so it has write access to nothing. You also see that nobody's shell is set to /bin/false, making the account useless to anything but a daemon.
 
1 members found this post helpful.
Old 02-08-2005, 05:07 AM   #3
Datamike
Member
 
Registered: Oct 2003
Location: Finland
Distribution: Slackware 12.0
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by scuzzman
nobody is an underpriviledged user made specifically to run such daemons as webservers (Apache), ircd, irc bots, etc ... You also see that nobody's shell is set to /bin/false, making the account useless to anything but a daemon.
I thought this was what the daemon user account was for. My entry in the /etc/shadow for nobody looks like "nobody:*:9797:0:::::" there's actually no default shell. The daemon account has an exact same looking entry.

Any reference on the internet you know of which I could use to read about this? I couldn't really find anything other than how to's for addinhg users and such.
 
  


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
httpd: bad group name { nobody | nogroup } itnix Linux - Software 3 04-21-2005 02:27 AM
Basics Sn7 Linux - Software 2 09-20-2004 12:23 PM
:D basics deee Linux - Newbie 6 11-10-2003 01:01 AM
The basics of all basics... Thaidog Linux - Newbie 1 09-20-2002 01:18 AM
C basics sabeel_ansari Programming 12 07-22-2002 10:21 PM

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

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