[users@httpd] pwauth does not run as user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

I want to use pwauth for authentication on my apache.

I downloaded pwauth-2.3.2.tar.gz  and compiled it.
Than I installed it in /usr/local/bin and "suid root" it (chmod +s pwauth)

   [root@DUMBO:/usr/local/bin]# ll pwauth
   -rwsr-sr-x    1 root     root        16517 Mar 14 17:06 pwauth

When I run it as root, it 's working fine :

   [root@DUMBO:/usr/local/bin]# ./pwauth
   myuser
   mypasswd
   [root@DUMBO:/usr/local/bin]# echo $?
   1

But when I change to a normal user and run it, it doesn't even give me the
option to enter a user/password

   [root@DUMBO:/usr/local/bin]# su admin
   [admin@DUMBO:/usr/local/bin]$ ./pwauth
   [admin@DUMBO:/usr/local/bin]$

I'm sure I'm missing something pretty basic ... but what ??

Thanks in advance,

Koen.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux