LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   usermod: unknown group proxy (https://www.linuxquestions.org/questions/linux-newbie-8/usermod-unknown-group-proxy-913708/)

OIF1veteran 11-15-2011 03:38 PM

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?

acid_kewpie 11-15-2011 04:03 PM

well it's saying that group doesn't exist... does it? run "getent group"

OIF1veteran 11-15-2011 06:10 PM

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.

Reuti 11-16-2011 04:17 AM

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.

OIF1veteran 11-17-2011 04:48 PM

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


All times are GMT -5. The time now is 10:50 AM.