Re: Help! Can't login or su, but SSH is ok... [solved]

2007-01-23 Thread Marc Branchaud
The winbind entries were still in /etc/nsswitch.conf, but removing them didn't help. What did help was removing use_first_pass from /etc/pam.d/common-auth. Doh! Serves me right for trying to fix problems at the end of the day... Thanks for your pointer though, Kevin! I did have to clean up

RE: Help! Can't login or su, but SSH is ok...

2007-01-22 Thread Kevin Ross
> -Original Message- > From: Marc Branchaud [mailto:[EMAIL PROTECTED] > Sent: Monday, January 22, 2007 2:54 PM > To: debian-user@lists.debian.org > Subject: Help! Can't login or su, but SSH is ok... > > Hi all, > > Over the weekend one of my sarge bo

Help! Can't login or su, but SSH is ok...

2007-01-22 Thread Marc Branchaud
Hi all, Over the weekend one of my sarge boxes decided to stop accepting logins. Currently, the box allows remote SSH (via public-key authentication) for regular users, but it doesn't allow user logins via telnet or on the console, even for root. SSH'd-in users also can't su to any user. T

Re: HELP!!!, can't login even as root

2004-11-23 Thread Bram Mertens
On Mon, 2004-11-22 at 23:54, Antonio Rodriguez wrote: [...] > I will need to use uploading of pictures in a website, and it seems to > me that this was the window used by (who/what)ever entered. Do you > have any recommendations about security measures related to this? > May creating some chroot en

Apache in a chroot (was: Re: HELP!!!, can't login even as root)

2004-11-22 Thread David Mandelberg
You might want to take a look at either mod_security (libapache-mod-security, libapache2-mod-security) or mod_chroot (libapache-mod-chroot) for the actual chroot. As for files, I use makejail, but if you only need mod_php, then you probably don't need to make any changes. If you need perl or mod_p

Re: HELP!!!, can't login even as root

2004-11-22 Thread Antonio Rodriguez
On Sun, Nov 21, 2004 at 05:02:43PM -0500, David Mandelberg wrote: > [EMAIL PROTECTED] wrote: > > the chroot step didn't work, rr webmail is being a pain, loging me out > > every 5 sec, sorry if send this mail twice, dont know if it made it > Hmm, it worked before though, are you sure you followed

Re: HELP!!!, can't login even as root

2004-11-22 Thread Michael Z Daryabeygi
That h-thing is what, a code for what? :) http://catb.org/~esr/jargon/html/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: HELP!!!, can't login even as root

2004-11-21 Thread arodriguez31
yeap, it is www-data. See next www-data:x:33:33:www-data:/var/www/:/bin/sh and www-data:x:33: It probably hapenned by allowing uploading of pictures through a perl script to my server without proper security. STUPID mistake, if it is the reason. And more stupid, if another mistake of mine. T

Re: HELP!!!, can't login even as root

2004-11-21 Thread David Mandelberg
[EMAIL PROTECTED] wrote: > Access: (0660/-rw-rw) Uid: ( 33/www-data) Gid: ( 33/www-data) Do this: $ grep 33 /mnt/debian/etc/passwd $ grep 33 /mnt/debian/etc/group and email the user with uid 33 and the group with gid 33. If it actually is www-data/www-data, then you've probably been h4x

Re: HELP!!!, can't login even as root

2004-11-21 Thread arodriguez31
Ok, it seems someone got in, don't know, here goes what you asked me for: [EMAIL PROTECTED] mkdir /mnt/debian [EMAIL PROTECTED] mount -o rw,exec -t auto /dev/hdb1 /mnt/debian [EMAIL PROTECTED] chroot /mnt/debian /bin/bash chroot: cannot run command `/bin/bash': Permission denied [EMAIL PROTECTED]

Re: HELP!!!, can't login even as root

2004-11-21 Thread David Mandelberg
[EMAIL PROTECTED] wrote: > the chroot step didn't work, rr webmail is being a pain, loging me out every > 5 sec, sorry if send this mail twice, dont know if it made it Hmm, it worked before though, are you sure you followed the exact same steps (mkdir /mnt/debian, then mount /dev/ /mnt/debian, the

Re: HELP!!!, can't login even as root

2004-11-21 Thread arodriguez31
the chroot step didn't work, rr webmail is being a pain, loging me out every 5 sec, sorry if send this mail twice, dont know if it made it is chroot indispensible for the dpkg reinstallation? Thanks david [EMAIL PROTECTED] wrote: > Well, I did it, but it didn't help. Still unable to boot. The corr

Re: HELP!!!, can't login even as root

2004-11-21 Thread David Mandelberg
[EMAIL PROTECTED] wrote: > Well, I did it, but it didn't help. Still unable to boot. The corresponding > entry in fstab was changed to > r,w,exec That should be rw,exec If that doesn't fix it, try (in knoppix, after the chroot and mount -a): # apt-get update # apt-get install --reinstall `dpkg --

Re: HELP!!!, can't login even as root

2004-11-21 Thread arodriguez31
Well, I did it, but it didn't help. Still unable to boot. The corresponding entry in fstab was changed to r,w,exec Even from the woody rescue cd couldn't get in, same response. Used a grub floppy, tried to load another kernel, 2.4.20 i think, same response. Any ideas what to do? Sunday, all are r

Re: HELP!!!, can't login even as root

2004-11-21 Thread David Mandelberg
Try this from a knoppix xterm (or other terminal) $ su # mkdir /mnt/debian # mount -o rw,exec -t auto /dev/ /mnt/debian # chroot /mnt/debian /bin/bash # mount -a # /etc/fstab make sure that / is mounting read-write and exec [EMAIL PROTECTED] wrote: > Running sid, computer went bananas. Gnome te

HELP!!!, can't login even as root

2004-11-21 Thread arodriguez31
Running sid, computer went bananas. Gnome terminal froze. Logged out from X. Couldn't come back. Rebooteed. This is what happens: INIT: cannot excute "/etc/init.d/rcS" INIT: Entering runlevel:2 INIT: cannot execute "/etc/init/d/rc" INIT: cannot execute "/usr/sbin/secvpnmon" same same same

Re: Help. Can't login

1998-10-19 Thread john
Ed Cogburn writes: > I'm begining to suspect that 1.3.28 was seriously broken too. I > downgraded to 1.3.26 from hamm, but 'plog -f' still doesn't work. It works here, on a straight hamm box. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI

Re: Help. Can't login

1998-10-19 Thread Victor Torrico
Quoting [EMAIL PROTECTED] ([EMAIL PROTECTED]): > > Subject: Help. Can't login > Date: Mon, Oct 19, 1998 at 07:33:20AM -0400 > > In reply to:Victor Torrico > > Quoting Victor Torrico([EMAIL PROTECTED]): > > > > Running a pentium all sl

Re: Help. Can't login

1998-10-19 Thread Ed Cogburn
[EMAIL PROTECTED] wrote: > > Subject: Help. Can't login > Date: Mon, Oct 19, 1998 at 07:33:20AM -0400 > > In reply to:Victor Torrico > > Quoting Victor Torrico([EMAIL PROTECTED]): > > > > Running a pentium all slink box. Been working fine f

Re: Help. Can't login

1998-10-19 Thread wtopa
Subject: Help. Can't login Date: Mon, Oct 19, 1998 at 07:33:20AM -0400 In reply to:Victor Torrico Quoting Victor Torrico([EMAIL PROTECTED]): > > Running a pentium all slink box. Been working fine for months. > > Can't login when in console. It just stop

Help. Can't login

1998-10-19 Thread Victor Torrico
Running a pentium all slink box. Been working fine for months. Can't login when in console. It just stops at a blank line when I login and hit return. Runlevel 1 works OK. Xwindows comes up OK but "su" and "pon" wont work. They also stop at a blank line when I hit return. Control C gets the