LinuxQuestions.org
Help answer threads with 0 replies.
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 11-15-2011, 03:38 PM   #1
OIF1veteran
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Rep: Reputation: Disabled
usermod: unknown group proxy


Here is what I am trying to do:

The images retrieved by Squid are owned by the user and group proxy. Add www-data (the user Apache runs under) to the proxy group so Apache can access the images:

when I run the command I get:

# usermod -aG proxy LarryO
usermod: unknown group proxy

I have changed the apache user & group to LarryO in the httpd.conf file and restarted apache. Any ideas?

Last edited by OIF1veteran; 11-15-2011 at 03:40 PM.
 
Old 11-15-2011, 04:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well it's saying that group doesn't exist... does it? run "getent group"
 
Old 11-15-2011, 06:10 PM   #3
OIF1veteran
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
You're right its not in there. Here is the output

root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root
lp:x:7:daemon,lp
mem:x:8:
kmem:x:9:
wheel:x:10:root
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:
games:x:20:
gopher:x:30:
dip:x:40:
ftp:x:50:
lock:x:54:
nobody:x:99:
users:x:100:
nscd:x:28:
utmp:x:22:
utempter:x:35:
floppy:x:19:
vcsa:x:69:
pcap:x:77:
slocate:x:21:
dbus:x:81:
audio:x:63:gdm
rpc:x:32:
avahi:x:70:
mailnull:x:47:
smmsp:x:51:
sshd:x:74:
ecryptfs:x:101:
rpcuser:x:29:
nfsnobody:x:65534:
haldaemon:x:68:
avahi-autoipd:x:102:
distcache:x:94:
ntp:x:38:
apache:x:48:
hsqldb:x:96:
xfs:x:43:
gdm:x:42:
mysql:x:27:
named:x:25:
webalizer:x:67:
dovecot:x:97:
oprofile:x:16:
squid:x:23:
stapdev:x:103:
stapusr:x:104:
stap-server:x:155:
sabayon:x:86:
screen:x:84:
LarryO:x:500:LarryO

My question is "squid" the group proxy? I'm assuming so but just want to be sure because i'm having an issue. My squid proxy is working fine, but I'm not getting the upside down images when browsing the internet. My script is exactly as the tutorial.
 
Old 11-16-2011, 04:17 AM   #4
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
What is your intended setup? Apache is a HTTP server, i.e. something you will serve. But squid is a proxy to allow machines in the local network to use this as a cache.
 
Old 11-17-2011, 04:48 PM   #5
OIF1veteran
LQ Newbie
 
Registered: Nov 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
I'm trying to use a squid proxy and script that uses (ImageMagick), to flip images upside down when I use the internet. I want to get it working and then use it to anyone trying to steal my wifi. Here is the link, check it out. Then maybe you could see where I might have gone wrong. Thanks.

https://help.ubuntu.com/community/Up...wn-TernetHowTo
 
  


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
usermod - add user to group deletes from others gjhicks Linux - Newbie 3 06-18-2014 02:31 AM
How do I usermod a list of users into a group? Mongul Linux - General 4 11-16-2011 07:51 AM
Can not create new user (useradd: unknown group MyGroup) thomas2004ch Linux - Software 1 06-07-2010 06:57 AM
useradd: unknown group turbofisch Linux - Newbie 4 04-06-2004 06:19 AM
usermod error woth group Evan P. Red Hat 3 10-02-2003 09:49 AM

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

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