LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-15-2008, 05:31 PM   #1
bijit1709
Member
 
Registered: Oct 2006
Location: Costa Rica, Escazu
Distribution: Slackware 12.0 (2.6.21.5)
Posts: 67

Rep: Reputation: 15
User & group


Hi,

Can anyone tell me how to make a user and group for a daemon.
eg.

When squid starts its starts as nobody.
I would like to create a user squid and group squid.

If I use adduser I will create the home. But I just want the user squid with a blocked passwd. And I have never created a group. Just know

groupadd -g 110 squid. Is that sufficient for squid?

Can anyone lead me through the right steps?
 
Old 05-15-2008, 05:53 PM   #2
bjagee
Member
 
Registered: Jan 2007
Location: Portland, OR
Distribution: Ubuntu Jaunty / Fedora
Posts: 39

Rep: Reputation: 15
You don't have to create a directory with adduser. Try
Code:
man adduser
for more info. the group is as easy as
Code:
addgroup [groupname]
 
  


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
User & group permission confusion A32 Linux - Newbie 12 08-31-2014 07:46 PM
Restrict SSH to Group & User Hammad101 Linux - Security 2 10-16-2007 08:12 AM
user & group quota !! hitesh_linux Linux - General 1 11-14-2004 06:16 AM
question about user/group & directory... hct224 Linux - Newbie 2 10-11-2003 02:28 PM
RH 9.0 user & group help...... hct224 Linux - Newbie 3 06-22-2003 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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