I`m getting this error message when i try authentication against shadow file.
[Fri Aug 03 12:38:49 2007] [notice] Apache/2.2.4 (Linux/SUSE) configured -- resuming normal operations
[Fri Aug 03 12:39:08 2007] [emerg] (13)Permission denied: auth_shadow_module: Unable to exec. Error: 13
[Fri Aug 03 12:39:08 2007] [error] [client 192.168.2.17] Invalid password entered for user sarmanho
My everoiment:
Welcome to openSUSE 10.2 (X86-64) - Kernel \r (\l).
Linux server 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
$ more /etc/apache2/default-server.conf
DocumentRoot "/srv/www/htdocs"
<Directory "/srv/www/htdocs">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
<Directory "/srv/www/cgi-bin">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
Include /etc/apache2/conf.d/*.conf
Include /etc/apache2/conf.d/apache2-manual?conf
ServerName server.lasdpc.icmc.usp.br
ServerAdmin sarmanho@icmc.usp.br
$ more /etc/apache2/conf.d/dir_protegido.conf
#<IfModule mod_auth_shadow.c>
<Directory /srv/www/htdocs/protegido>
AuthName lasdpc.icmc.usp.br
AuthBasicAuthoritative off
AuthUserFile /dev/null
AuthShadow on
AuthType Basic
require user sarmanho
# require valid-user
</Directory>
#</IfModule>
$ more /etc/apache2/sysconfig.d/loadmodule.conf
#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2
# Do not edit them!
#
# as listed in APACHE_MODULES (/etc/sysconfig/apache2)
Hi,
I`m getting this error message when i try authentication against shadow file.
[Fri Aug 03 12:38:49 2007] [notice] Apache/2.2.4 (Linux/SUSE) configured -- resuming normal operations
[Fri Aug 03 12:39:08 2007] [emerg] (13)Permission denied: auth_shadow_module: Unable to exec. Error: 13
[Fri Aug 03 12:39:08 2007] [error] [client 192.168.2.17] Invalid password entered for user sarmanho
My everoiment:
Welcome to openSUSE 10.2 (X86-64) - Kernel \r (\l).
Linux server 2.6.18.8-0.5-default #1 SMP Fri Jun 22 12:17:53 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
$ more /etc/apache2/default-server.conf
DocumentRoot "/srv/www/htdocs"
<Directory "/srv/www/htdocs">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
<Directory "/srv/www/cgi-bin">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
Include /etc/apache2/conf.d/*.conf
Include /etc/apache2/conf.d/apache2-manual?conf
ServerName server.lasdpc.icmc.usp.br
ServerAdmin sarmanho@icmc.usp.br
$ more /etc/apache2/conf.d/dir_protegido.conf
#<IfModule mod_auth_shadow.c>
<Directory /srv/www/htdocs/protegido>
AuthName lasdpc.icmc.usp.br
AuthBasicAuthoritative off
AuthUserFile /dev/null
AuthShadow on
AuthType Basic
require user sarmanho
# require valid-user
</Directory>
#</IfModule>
$ more /etc/apache2/sysconfig.d/loadmodule.conf
#
# Files in this directory are created at apache start time by /usr/sbin/rcapache2
# Do not edit them!
#
# as listed in APACHE_MODULES (/etc/sysconfig/apache2)
LoadModule authz_host_module /usr/lib64/apache2-prefork/mod_authz_host.so
LoadModule actions_module /usr/lib64/apache2-prefork/mod_actions.so
LoadModule alias_module /usr/lib64/apache2-prefork/mod_alias.so
LoadModule auth_basic_module /usr/lib64/apache2-prefork/mod_auth_basic.so
LoadModule authz_groupfile_module /usr/lib64/apache2-prefork/mod_authz_groupfile.so
LoadModule authz_user_module /usr/lib64/apache2-prefork/mod_authz_user.so
LoadModule authn_file_module /usr/lib64/apache2-prefork/mod_authn_file.so
LoadModule autoindex_module /usr/lib64/apache2-prefork/mod_autoindex.so
LoadModule cgi_module /usr/lib64/apache2-prefork/mod_cgi.so
LoadModule dir_module /usr/lib64/apache2-prefork/mod_dir.so
LoadModule include_module /usr/lib64/apache2-prefork/mod_include.so
LoadModule log_config_module /usr/lib64/apache2-prefork/mod_log_config.so
LoadModule mime_module /usr/lib64/apache2-prefork/mod_mime.so
LoadModule negotiation_module /usr/lib64/apache2-prefork/mod_negotiation.so
LoadModule setenvif_module /usr/lib64/apache2-prefork/mod_setenvif.so
LoadModule status_module /usr/lib64/apache2-prefork/mod_status.so
LoadModule userdir_module /usr/lib64/apache2-prefork/mod_userdir.so
LoadModule asis_module /usr/lib64/apache2-prefork/mod_asis.so
LoadModule imagemap_module /usr/lib64/apache2-prefork/mod_imagemap.so
LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so
LoadModule auth_shadow_module /usr/lib64/apache2/mod_auth_shadow.so
LoadModule authz_default_module /usr/lib64/apache2-prefork/mod_authz_default.so
#
$ l /usr/local/sbin/validate
-rwx--S--- 1 root root 15908 2007-08-03 10:38 /usr/local/sbin/validate*
Can anybody help me?
Thanks,
Felipe Sarmanho.