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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-08-2005, 04:18 AM
|
#1
|
Member
Registered: Oct 2003
Location: Finland
Distribution: Slackware 12.0
Posts: 34
Rep:
|
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?
|
|
|
02-08-2005, 04:21 AM
|
#2
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
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.
|
02-08-2005, 05:07 AM
|
#3
|
Member
Registered: Oct 2003
Location: Finland
Distribution: Slackware 12.0
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|