nene_guitar
(usa openSUSE)
Enviado em 25/10/2012 - 20:33h
primeiros problemas
seguindo a orientação do
http://www.vivaolinux.com.br/artigo/Squid-+-Iptables-Combinacao-Infalivel/
no item # htpasswd -c /etc/squid3/grupos/diretoria...
inux-62cn:/ # htpasswd -c /etc/squid/grupos sala1
Could not open passwd file /etc/squid/grupos for writing.
fopen: Is a directory
fiz esse procedimento via yast
instalei o apache2 e também o pacote apache2-utils
verifiquei nos pastas e vi que o htpasswd não se encontra
estou meio perdido alguem poderia me ajudar?
linux-62cn:~ # cd /usr
linux-62cn:/usr # cd /bin
linux-62cn:/bin # ls
arch fsync mountpoint showkey
awk fuser mv sleep
basename gawk netstat sort
bash getkeycodes nisdomainname spawn_console
cat getunimap openvt spawn_login
chgrp grep outpsfheader stat
chmod guess_encoding pgrep stty
chown gunzip pidof su
chvt gzip ping sync
clrunimap hostname ping6 systemctl
cp initviocons pkill systemd
cpio ip plymouth systemd-ask-password
csh ipg ps systemd-journalctl
date kbd_mode psfaddtable systemd-loginctl
dbus-cleanup-sockets kbdinfo psfgettable systemd-machine-id-setup
dbus-daemon kbdrate psfstriptable systemd-notify
dbus-monitor keyctl psfxtable systemd-tmpfiles
dbus-send kill pwd systemd-tty-ask-password-agent
dbus-uuidgen ksh readlink tar
dd ksh93 resizecons tcsh
deallocvt ln rm testutf8
df loadkeys rmdir touch
dmesg loadunimap rpm true
dnsdomainname logger sash umount
domainname login screendump uname
dumpkeys ls sed unicode_start
echo lsblk setfont unicode_stop
ed lsinitrd setkeycodes usleep
egrep lsmod setleds vi
eject mail setlogcons vim
ex mapscrn setmetamode vim-normal
false md5sum setpalette ypdomainname
fgconsole mkdir setserial zcat
fgrep mknod setvesablank zsh
fillup mktemp setvtrgb
find more sh
findmnt mount showconsolefont
linux-62cn:/bin # cd ..
linux-62cn:/ # cd ..
linux-62cn:/ # zypper se htpasswd
Loading repository data...
Reading installed packages...
No packages found.
linux-62cn:/ # find / -name htpasswd
find: `/var/lib/ntp/proc/3517/net': Invalid argument
find: `/var/lib/ntp/proc/3519/net': Invalid argument
find: `/var/lib/ntp/proc/3755/net': Invalid argument
^[[/usr/bin/htpasswd
find: `/proc/3517/net': Invalid argument
find: `/proc/3519/net': Invalid argument
find: `/proc/3755/net': Invalid argument
find: `/run/user/jesse/gvfs': Permission denied
linux-62cn:/ # find / -name apache2
/etc/apache2
/etc/init.d/apache2
/etc/sysconfig/apache2
/etc/sysconfig/SuSEfirewall2.d/services/apache2
/etc/logrotate.d/apache2
/var/cache/apache2
/var/lib/apache2
/var/lib/systemd/migrated/apache2
find: `/var/lib/ntp/proc/3517/net': Invalid argument
find: `/var/lib/ntp/proc/3519/net': Invalid argument
find: `/var/lib/ntp/proc/3755/net': Invalid argument
/var/log/apache2
/usr/lib64/apache2
/usr/share/apache2
/usr/share/doc/packages/apache2
find: `/proc/3517/net': Invalid argument
find: `/proc/3519/net': Invalid argument
find: `/proc/3755/net': Invalid argument
find: `/run/user/jesse/gvfs': Permission denied
linux-62cn:/ # cd /etc/apache2
linux-62cn:/etc/apache2 # ls
charset.conv listen.conf mod_status.conf ssl.csr
conf.d magic mod_userdir.conf ssl.key
default-server.conf mime.types mod_usertrack.conf ssl.prm
default-vhost-ssl.conf mod_autoindex-defaults.conf server-tuning.conf sysconfig.d
default-vhost.conf mod_info.conf ssl-global.conf uid.conf
errors.conf mod_log_config.conf ssl.crl vhosts.d
httpd.conf mod_mime-defaults.conf ssl.crt