Usuario com restrição [RESOLVIDO]

13. Re: Usuario com restrição [RESOLVIDO]

Rafael Arcanjo
ST. RaLF

(usa Arch Linux)

Enviado em 12/02/2009 - 17:42h

Já tentou colocar a opção e reiniciar o Squid?


  


14. Re: Usuario com restrição [RESOLVIDO]

Sebastian Cueto
SebaCueto

(usa Debian)

Enviado em 12/02/2009 - 17:44h

Bota lá:
cache_effective_user suporte
cache_effective_group suporte

Boa sorte.


15. Re: Usuario com restrição [RESOLVIDO]

Rafael
rrafael

(usa Debian)

Enviado em 12/02/2009 - 17:53h

Agora e so voce ir nao /etc/init.d/
procura o squid..

e faz o mesmo comando.. blz?!


16. nada

Vitor Santana
vitorsantana

(usa Ubuntu)

Enviado em 12/02/2009 - 18:09h

olha o erro que ta dando

suporte@behrox:/$ squid -k reconfigure
squid: ERROR: Could not send signal 1 to process 4425: (1) Operation not permitted
suporte@behrox:/$



17. Re: Usuario com restrição [RESOLVIDO]

Rafael
rrafael

(usa Debian)

Enviado em 13/02/2009 - 08:55h

Entao a permicao nao foi certa, da um ls -l na pasta do squid e posta aki..

tipo assim
$cd /etc/squid
rafael@toshiba:/etc/squid$ls -l
-rw-r--r-- 1 root root 11653 2009-02-06 15:17 squid.conf




18. ae

Vitor Santana
vitorsantana

(usa Ubuntu)

Enviado em 13/02/2009 - 09:39h

ta desta forma.


-rw-r--r-- 1 root root 115 2009-01-20 17:24 extensoesblok
-rw-r--r-- 1 root root 18 2009-01-20 17:23 extensoeslimitadas
drwxr-xr-x 2 root root 4096 2008-11-05 17:27 fonts
drwxr-xr-x 2 root root 4096 2008-11-10 15:45 images
-rw-r--r-- 1 root root 429 2009-02-09 14:36 ipfull
drwxr-xr-x 2 root root 4096 2008-11-05 17:27 languages
-rw-r--r-- 1 root root 32 2008-11-04 08:56 nocache
-rw-r--r-- 1 root root 120 2009-02-12 14:09 palavras
-rw-r--r-- 1 root root 16670 2008-12-29 09:48 sarg.conf
-rw-r--r-- 1 root root 9 2008-03-23 04:16 sarg.exclude_codes
-rw-r--r-- 1 root root 52 2008-03-23 04:16 sarg.hosts
-rw-r--r-- 1 root root 338 2008-03-23 04:16 sarg-reports.conf
-rw-r--r-- 1 root root 52 2008-03-23 04:16 sarg.users
-rw-r--r-- 1 root root 77 2008-03-23 04:16 sarg.usertab
-rw-r--r-- 1 root root 1313 2009-01-22 14:03 sitesbanidos
-rw-r--r-- 1 suporte suporte 18966 2009-02-12 15:10 sitesliberados
-rw-r--r-- 1 root root 2013 2009-02-13 08:33 squid.conf



19. Re: Usuario com restrição [RESOLVIDO]

Rafael
rrafael

(usa Debian)

Enviado em 13/02/2009 - 09:45h

Ue voce nao deu permicao para o usuario nesse arquivo aki..

-rw-r--r-- 1 root root 2013 2009-02-13 08:33 squid.conf

libera a permicao com o chown para o usuario e faz o teste..


20. ss

Vitor Santana
vitorsantana

(usa Ubuntu)

Enviado em 13/02/2009 - 11:12h

-rw-r--r-- 1 root root 115 2009-01-20 17:24 extensoesblok
-rw-r--r-- 1 root root 18 2009-01-20 17:23 extensoeslimitadas
drwxr-xr-x 2 root root 4096 2008-11-05 17:27 fonts
drwxr-xr-x 2 root root 4096 2008-11-10 15:45 images
-rw-r--r-- 1 root root 429 2009-02-09 14:36 ipfull
drwxr-xr-x 2 root root 4096 2008-11-05 17:27 languages
-rw-r--r-- 1 root root 32 2008-11-04 08:56 nocache
-rw-r--r-- 1 root root 120 2009-02-12 14:09 palavras
-rw-r--r-- 1 root root 16670 2008-12-29 09:48 sarg.conf
-rw-r--r-- 1 root root 9 2008-03-23 04:16 sarg.exclude_codes
-rw-r--r-- 1 root root 52 2008-03-23 04:16 sarg.hosts
-rw-r--r-- 1 root root 338 2008-03-23 04:16 sarg-reports.conf
-rw-r--r-- 1 root root 52 2008-03-23 04:16 sarg.users
-rw-r--r-- 1 root root 77 2008-03-23 04:16 sarg.usertab
-rw-r--r-- 1 root root 1313 2009-01-22 14:03 sitesbanidos
-rw-r--r-- 1 suporte suporte 18967 2009-02-13 10:05 sitesliberados
-rw-r--r-- 1 suporte suporte 2013 2009-02-13 10:01 squid.conf


ja dei a permissão mais mesno assim nada


21. Re: Usuario com restrição [RESOLVIDO]

Rafael
rrafael

(usa Debian)

Enviado em 13/02/2009 - 11:19h

Ok..

Agora vai la no diretorio do init.d
$cd /etc/init.d
da o comando
$ls -l

posta aki..


22. ae

Vitor Santana
vitorsantana

(usa Ubuntu)

Enviado em 13/02/2009 - 13:57h

-rwxr-xr-x 1 root root 5736 2008-06-25 10:49 apache2
-rwxr-xr-x 1 root root 2653 2008-05-02 17:41 apparmor
-rwxr-xr-x 1 root root 969 2007-02-20 10:41 atd
-rwxr-xr-x 1 root root 2426 2008-04-09 16:37 bind9
-rwxr-xr-x 1 root root 3597 2008-04-19 02:05 bootclean
-rwxr-xr-x 1 root root 2121 2008-04-19 02:05 bootlogd
-rwxr-xr-x 1 root root 1768 2008-04-19 02:05 bootmisc.sh
-rwxr-xr-x 1 root root 3454 2008-04-19 02:05 checkfs.sh
-rwxr-xr-x 1 root root 10602 2008-04-19 02:05 checkroot.sh
-rwxr-xr-x 1 root root 6355 2007-05-30 09:29 console-screen.sh
-rwxr-xr-x 1 root root 1634 2008-01-28 14:49 console-setup
-rwxr-xr-x 1 root root 1761 2008-04-08 15:02 cron
-rwxr-xr-x 1 root root 1223 2007-06-22 01:55 dns-clean
-rwxr-xr-x 1 root root 7195 2008-04-04 20:38 glibc.sh
-rwxr-xr-x 1 root root 1228 2008-04-19 02:05 halt
-rwxr-xr-x 1 root root 909 2008-04-19 02:05 hostname.sh
-rwxr-xr-x 1 root root 4528 2008-04-29 08:57 hwclockfirst.sh
-rwxr-xr-x 1 root root 4521 2008-04-29 08:57 hwclock.sh
-rwxr-xr-x 1 root root 1376 2008-01-28 14:49 keyboard-setup
-rwxr-xr-x 1 root root 944 2008-04-19 02:05 killprocs
-rwxr-xr-x 1 root root 1729 2007-11-23 06:06 klogd
-rwxr-xr-x 1 root root 748 2006-01-23 15:47 loopback
-rwxr-xr-x 1 root root 1399 2008-02-25 18:20 module-init-tools
-rwxr-xr-x 1 root root 596 2008-04-19 02:05 mountall-bootclean.sh
-rwxr-xr-x 1 root root 2430 2008-04-19 02:05 mountall.sh
-rwxr-xr-x 1 root root 1465 2008-04-19 02:05 mountdevsubfs.sh
-rwxr-xr-x 1 root root 1544 2008-04-19 02:05 mountkernfs.sh
-rwxr-xr-x 1 root root 594 2008-04-19 02:05 mountnfs-bootclean.sh
-rwxr-xr-x 1 root root 1244 2008-04-19 02:05 mountoverflowtmp
-rwxr-xr-x 1 root root 3123 2008-04-19 02:05 mtab.sh
-rwxr-xr-x 1 root root 5755 2008-05-09 12:52 mysql
-rwxr-xr-x 1 root root 2515 2008-05-09 12:52 mysql-ndb
-rwxr-xr-x 1 root root 1905 2008-05-09 12:52 mysql-ndb-mgm
-rwxr-xr-x 1 root root 1772 2007-12-03 17:50 networking
-rwxr-xr-x 1 root root 1198 2008-03-28 10:51 noip2
-rwxr-xr-x 1 root root 3627 2007-05-21 14:34 ntop
-rwxr-xr-x 1 root root 2377 2007-10-23 14:03 pcmciautils
-rwxr-xr-x 1 root root 1170 2008-06-11 16:42 postgresql-8.3
-rwxr-xr-x 1 root root 375 2007-10-04 16:56 pppd-dns
-rwxr-xr-x 1 root root 1261 2008-03-13 19:24 procps
-rwxr-xr-x 1 root root 4848 2008-02-21 01:22 proftpd
-rwxr-xr-x 1 root root 7891 2008-04-19 02:05 rc
-rwxr-xr-x 1 root root 522 2008-04-19 02:05 rc.local
-rwxr-xr-x 1 root root 117 2008-04-19 02:05 rcS
-rw-r--r-- 1 root root 1335 2008-04-19 02:05 README
-rwxr-xr-x 1 suporte suporte 692 2008-04-19 02:05 reboot
-rwxr-xr-x 1 root root 1000 2008-04-19 02:05 rmnologin
-rwxr-xr-x 1 root root 4945 2008-04-10 21:12 rsync
-rwxr-xr-x 1 root root 2663 2008-06-30 12:48 samba
-rwxr-xr-x 1 root root 1199 2008-04-19 02:05 sendsigs
-rwxr-xr-x 1 root root 585 2008-04-19 02:05 single
-rwxr-xr-x 1 root root 4215 2008-04-19 02:05 skeleton
-rwxr-xr-x 1 suporte suporte 3206 2009-02-13 08:34 squid
-rwxr-xr-x 1 root root 3839 2008-05-14 11:35 ssh
-rwxr-xr-x 1 root root 510 2008-04-19 02:05 stop-bootlogd
-rwxr-xr-x 1 root root 647 2008-04-19 02:05 stop-bootlogd-single
-rwxr-xr-x 1 root root 3343 2007-11-23 06:06 sysklogd
-rwxr-xr-x 1 root root 2488 2008-04-11 09:21 udev
-rwxr-xr-x 1 root root 706 2008-04-11 09:21 udev-finish
-rwxr-xr-x 1 root root 7053 2008-07-25 04:23 ufw
-rwxr-xr-x 1 root root 4030 2008-04-19 02:05 umountfs
-rwxr-xr-x 1 root root 1833 2008-04-19 02:05 umountnfs.sh
-rwxr-xr-x 1 root root 1863 2008-04-19 02:05 umountroot
-rwxr-xr-x 1 root root 1815 2008-04-19 02:05 urandom
-rwxr-xr-x 1 root root 2445 2008-04-19 02:05 waitnfs.sh
-rwxr-xr-x 1 root root 1224 2008-06-30 12:48 winbind
-rwxr-xr-x 1 root root 1626 2008-03-12 18:27 wpa-ifupdown
-rwxr-xr-x 1 root root 1843 2008-05-13 21:10 x11-common


23. rrafael

Vitor Santana
vitorsantana

(usa Ubuntu)

Enviado em 13/02/2009 - 17:03h

socorroo ayrAURAURHr nada ainda?


24. Re: Usuario com restrição [RESOLVIDO]

anna kamilla
annakamilla

(usa Manjaro Linux)

Enviado em 13/02/2009 - 17:09h

ja tentou fazer isso com root??



  
01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts