Re: Locked myself out.. AGAIN!!

2008-12-09 Thread Norberto Meijome
On Mon, 08 Dec 2008 08:30:54 -0500 michael <[EMAIL PROTECTED]> wrote: > > does remote machine have ipmi? indeed..or iLO or serial console... you'd be surprised the number of dedicated servers on offer that don't have any out of band access available... i guess it's the option everyone wants once

Re: Locked myself out.. AGAIN!!

2008-12-08 Thread michael
J On Sun, Dec 07, 2008 at 11:04:00AM +0100, Redd Vinylene wrote: On this dedicated box here I made the mistake of adding a comment to root's entry in my password file: root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. Now I can't su to root. And my ISP is closed on

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Eitan Adler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Powell wrote: > I've never figured out why people seem to always want to play with the > root account the way they do, such as the favorite "I wanna use bash > for root's shell"... Probably because most users are unaware of the harm that it c

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Wojciech Puchar
If so, force it to reboot - maybe by pulling the plug if you have to then bring it up in single user mode. CTRL-ALT-DEL shutdowns the system unless it was configured not to. Remount root mount -u / Then use vipw to edit the file and remove that comment and any trailing blanks on that lin

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Jerry McAllister
On Sun, Dec 07, 2008 at 11:04:00AM +0100, Redd Vinylene wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > > Now I can't su to root. And my ISP is closed o

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Joost Bekkers
On Sun, December 7, 2008 11:04, Redd Vinylene wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > > Now I can't su to root. And my ISP is closed on Sundays. Is

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Michael Powell
Ruben de Groot wrote: [snip] > > This advise is only helpful if you have root allready =) I've never figured out why people seem to always want to play with the root account the way they do, such as the favorite "I wanna use bash for root's shell"... Since the OP seems to want to keep playing w

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Ruben de Groot
On Sun, Dec 07, 2008 at 06:02:26AM -0500, Michael Powell typed: > Redd Vinylene wrote: > > > Thanks guys. But I guess I'm all outta luck: > > > > $ sudo -s > > /libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by > > "sudo" > > > [snip] > > Don't know if this would help but

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Michael Powell
Redd Vinylene wrote: > Thanks guys. But I guess I'm all outta luck: > > $ sudo -s > /libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by > "sudo" > [snip] Don't know if this would help but you might try creating a file called libmap.conf in /etc and place in it: libutil.so

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Redd Vinylene
Thanks guys. But I guess I'm all outta luck: $ sudo -s /libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "sudo" On Sun, Dec 7, 2008 at 11:07 AM, Glen Barber <[EMAIL PROTECTED]> wrote: > On Sun, Dec 7, 2008 at 5:04 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote: >> On this ded

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Glen Barber
On Sun, Dec 7, 2008 at 5:04 AM, Redd Vinylene <[EMAIL PROTECTED]> wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > This is why you shouldn't edit password

Re: Locked myself out.. AGAIN!!

2008-12-07 Thread Valentin Bud
On Sun, Dec 7, 2008 at 12:04 PM, Redd Vinylene <[EMAIL PROTECTED]>wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > > Now I can't su to root. And my ISP is

Locked myself out.. AGAIN!!

2008-12-07 Thread Redd Vinylene
On this dedicated box here I made the mistake of adding a comment to root's entry in my password file: root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. Now I can't su to root. And my ISP is closed on Sundays. Is there any way I can fix this on my own? Thanks y'all! -- ht

Re: Locked myself out.

2008-09-01 Thread adrian
On Tue, 2008-09-02 at 03:45 +, adrian wrote: Hi all this is my first question on the list. > > I had been playing with securelevels and was in level 3 then I mistakenly > executed "chflags schg /etc/rc.*" > It wouldn't be such a problem but it as you guessed is on a remote server > and I could

Locked myself out.

2008-09-01 Thread adrian
Hi all this is my first question on the list. I had been playing with securelevels and was in level 3 then I mistakenly executed "chflags schg /etc/rc.*" It wouldn't be such a problem but it as you guessed is on a remote server and I could pay a local guy there to drop to single-user but I thought

Re: Locked Myself Out - Cannot "su"

2007-05-28 Thread Daniel Marsh
can't run "su." I get the following error: > > > > > > $ su - > > > su: not running setuid > > > > > > I can't shutdown since I can't become root, so I pulled the plug and > > > rebooted into single-user mode. I

Re: Locked Myself Out - Cannot "su"

2007-05-28 Thread Schiz0
; > > > I can't shutdown since I can't become root, so I pulled the plug and > > rebooted into single-user mode. I edited /etc/rc.conf and set > > kern_securelevel_enable="NO" > > > > I rebooted again, but for some reason I still get the same err

Re: Locked Myself Out - Cannot "su"

2007-05-28 Thread Jerry McAllister
un "su." I get the following error: > > $ su - > su: not running setuid > > I can't shutdown since I can't become root, so I pulled the plug and > rebooted into single-user mode. I edited /etc/rc.conf and set > kern_securelevel_enable="NO" > >

Re: Locked Myself Out - Cannot "su"

2007-05-28 Thread Bill Moran
t; I get the following error: > > $ su - > su: not running setuid > > I can't shutdown since I can't become root, so I pulled the plug and > rebooted into single-user mode. I edited /etc/rc.conf and set > kern_securelevel_enable="NO" > > I rebooted again,

Re: Locked Myself Out - Cannot "su"

2007-05-27 Thread Schiz0
dited /etc/rc.conf and set > kern_securelevel_enable="NO" > > I rebooted again, but for some reason I still get the same error for > "su." > > So basically, I locked myself out of my box completely. I fail :-( > > su has the following permissions: > -r-s

Re: Locked Myself Out - Cannot "su"

2007-05-27 Thread Conrad J. Sabatier
ot;NO" > > I rebooted again, but for some reason I still get the same error for > "su." > > So basically, I locked myself out of my box completely. I fail :-( > > su has the following permissions: > -r-sr-xr-x 1 root wheel schg 12240 May 13 13:15 su >

Locked Myself Out - Cannot "su"

2007-05-27 Thread Schiz0
I can't become root, so I pulled the plug and rebooted into single-user mode. I edited /etc/rc.conf and set kern_securelevel_enable="NO" I rebooted again, but for some reason I still get the same error for "su." So basically, I locked myself out of my box completely. I