Swat won't allow me to reset any passwords while in demo mode... On Thu, May 22, 2008 at 4:28 PM, Linux Addict <[EMAIL PROTECTED]> wrote:
> On Thu, May 22, 2008 at 4:21 PM, Santiago Andres Triana > <[EMAIL PROTECTED]> wrote: > > Thanks Linux Addict, it did work. > > > > I was able to see the swat page finally. Now the question is how to tell > it > > to accept my root login! > > > > On Thu, May 22, 2008 at 2:55 PM, Linux Addict <[EMAIL PROTECTED]> > > wrote: > >> > >> On Thu, May 22, 2008 at 2:12 PM, Santiago Andres Triana > >> <[EMAIL PROTECTED]> wrote: > >> > hosts.allow has the internal network and hosts.deny is set to > ALL(ALL). > >> > > >> > This might seem silly but I just don't know how to run swat if it is > not > >> > from /etc/xinetd.d/swat. Just issuing /usr/sbin/swat doesn't do > anything > >> > even if I remove swat from /etc/xinetd.d/ and(or) /etc/services/ . By > >> > the > >> > same token I don't know how to use strace to check on its behavior... > >> > How do > >> > you run swat in the foreground? > >> > > >> > On Thu, May 22, 2008 at 12:12 PM, Linux Addict < > [EMAIL PROTECTED]> > >> > wrote: > >> >> > >> >> On Thu, May 22, 2008 at 11:55 AM, Santiago Andres Triana > >> >> <[EMAIL PROTECTED]> wrote: > >> >> > yes, /usr/sbin/swat exists > >> >> > > >> >> > and every time I try to login from a web browswer a new line > appears > >> >> > in > >> >> > /var/log/authpriv indicating that SWAT started with a pid number. > How > >> >> > do > >> >> > I > >> >> > use strace to see what SWAT is doing? Issuing strace -p somepid > while > >> >> > the > >> >> > authentication dialog box is displayed does not work. Thanks > >> >> > everybody > >> >> > for > >> >> > the prompt responses! (the problem still withstanding...) > >> >> > -- > >> >> > To unsubscribe from this list go to the following URL and read the > >> >> > instructions: https://lists.samba.org/mailman/listinfo/samba > >> >> > > >> >> > >> >> 1. Can u check /etc/hosts.deny and /etc/hosts.allow ? Check selinux > as > >> >> well. Disable selinux " setenforce 0" > >> >> > >> >> 2. Run swat on foreground with debug enabled, auth disabled.. and > test > >> >> it. > >> >> > >> >> $ swat --help > >> >> Usage: swat [OPTION...] > >> >> -a, --disable-authentication Disable authentication (demo > mode) > >> >> -P, --password-menu-only Show only change password menu > >> >> > >> >> Help options: > >> >> -?, --help Show this help message > >> >> --usage Display brief usage message > >> >> > >> >> Common samba options: > >> >> -d, --debuglevel=DEBUGLEVEL Set debug level > >> >> -s, --configfile=CONFIGFILE Use alternate configuration file > >> >> -l, --log-basename=LOGFILEBASE Base name for log files > >> >> -V, --version Print version > >> >> > >> >> hope you are home this time.. > >> >> -- > >> >> To unsubscribe from this list go to the following URL and read the > >> >> instructions: https://lists.samba.org/mailman/listinfo/samba > >> > > >> > > >> > >> All right.. Append " server_args = -a -d=5" on your > >> /etc/xinetd.d/swat and restart xinetd. This shud allow you w/o any > >> authentication and also enable verbose logging. Hit > >> http://hostname:901 and see what happens... > >> -- > >> To unsubscribe from this list go to the following URL and read the > >> instructions: https://lists.samba.org/mailman/listinfo/samba > > > > > > On the SWAT page itself you have a password tab. Reset the password > there, remove the -a option on xinet.d/swat, restart the xinetd. Hope > it fixes.. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba