Re: HELP! can't become root

2007-10-11 Thread Andrew Sackville-West
On Thu, Oct 11, 2007 at 01:16:27PM -0500, Jonathan Wilson wrote: > On Thursday 11 October 2007 13:04, Jonathan Wilson wrote: > > On Wednesday 10 October 2007 13:04, Andrew Sackville-West wrote: > > > I seem to recall once I did a chown -R something and it followed the > > > /. and /.. links in the

Re: HELP! can't become root

2007-10-11 Thread Jonathan Wilson
On Thursday 11 October 2007 13:16, Jonathan Wilson wrote: > It does > indeed climb up one level - just one, I don't know why. > Well, I guess I do know why: because it's using ../ I'll crawl back under my rock now . . . JW -- -- System Administrator - Cedar Creek

Re: HELP! can't become root

2007-10-11 Thread Andrew Sackville-West
On Thu, Oct 11, 2007 at 01:04:49PM -0500, Jonathan Wilson wrote: > On Wednesday 10 October 2007 13:04, Andrew Sackville-West wrote: > > On Tue, Oct 09, 2007 at 05:25:17PM -0700, tom arnall wrote: > > > Well, I got a list of perm's for stuff in /dev (from a sarge system. I'm > > > on etch). There we

Re: HELP! can't become root

2007-10-11 Thread Jonathan Wilson
On Thursday 11 October 2007 13:04, Jonathan Wilson wrote: > On Wednesday 10 October 2007 13:04, Andrew Sackville-West wrote: > > I seem to recall once I did a chown -R something and it followed the > > /. and /.. links in the directory so that it started walking up the > > directory tree. luckily I

Re: HELP! can't become root

2007-10-11 Thread Jonathan Wilson
On Wednesday 10 October 2007 13:04, Andrew Sackville-West wrote: > On Tue, Oct 09, 2007 at 05:25:17PM -0700, tom arnall wrote: > > Well, I got a list of perm's for stuff in /dev (from a sarge system. I'm > > on etch). There were only two diff's: two sound devices. But there are > > lots of insane p

Re: HELP! can't become root

2007-10-10 Thread Andrew Sackville-West
On Tue, Oct 09, 2007 at 05:25:17PM -0700, tom arnall wrote: > Well, I got a list of perm's for stuff in /dev (from a sarge system. I'm on > etch). There were only two diff's: two sound devices. But there are lots of > insane permissions throughout the rest of the system. Is this because when I

Re: HELP! can't become root

2007-10-10 Thread tom arnall
Well, I got a list of perm's for stuff in /dev (from a sarge system. I'm on etch). There were only two diff's: two sound devices. But there are lots of insane permissions throughout the rest of the system. Is this because when I did 'chmod -R 777 /dev' I also in effect did 'chmod -R 777 /dev/hd

Re: HELP! can't become root

2007-10-07 Thread John Stumbles
Kevin Mark wrote: http://kevin.vanzonneveld.net/techblog/article/restore_packages_using_dselectupgrade/ This is a basic HOWTO for the above advice. Though one needs to save and restore one's sources.lst if it's not the system default in order to reinstall all the packages. And if the distro

Re: HELP! can't become root

2007-10-06 Thread Jeff D
On Sat, 6 Oct 2007, tom arnall wrote: On Saturday 06 October 2007 20:46, Kevin Mark wrote: On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote: Realistically, is there any way I can fix my system so I can log in as root, without reinstalling the OS? Here is the question: lets say you

Re: HELP! can't become root

2007-10-06 Thread Kevin Mark
On Sat, Oct 06, 2007 at 09:11:30PM -0700, tom arnall wrote: > On Saturday 06 October 2007 20:46, Kevin Mark wrote: > > On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote: > > > Realistically, is there any way I can fix my system so I can log in as > > > root, without reinstalling the OS? >

Re: HELP! can't become root

2007-10-06 Thread Kevin Mark
On Sat, Oct 06, 2007 at 08:59:10PM -0700, tom arnall wrote: > On Saturday 06 October 2007 20:46, Kevin Mark wrote: > > On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote: > > > Realistically, is there any way I can fix my system so I can log in as > > > root, without reinstalling the OS? >

Re: HELP! can't become root

2007-10-06 Thread tom arnall
On Saturday 06 October 2007 20:46, Kevin Mark wrote: > On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote: > > Realistically, is there any way I can fix my system so I can log in as > > root, without reinstalling the OS? > > Here is the question: lets say you fix the initial problem and CA

Re: HELP! can't become root

2007-10-06 Thread tom arnall
On Saturday 06 October 2007 20:46, Kevin Mark wrote: > On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote: > > Realistically, is there any way I can fix my system so I can log in as > > root, without reinstalling the OS? > > Here is the question: lets say you fix the initial problem and CA

Re: HELP! can't become root

2007-10-06 Thread Kevin Mark
On Sat, Oct 06, 2007 at 11:30:42AM -0700, tom arnall wrote: > Realistically, is there any way I can fix my system so I can log in as root, > without reinstalling the OS? > Here is the question: lets say you fix the initial problem and CAN log in as root. What next? You have a few hundred files

Re: HELP! can't become root

2007-10-06 Thread tom arnall
On Saturday 06 October 2007 11:58, Thilo Six wrote: > David Fox wrote the following on 06.10.2007 20:52 > > <<-snip->> > > > Or, boot a rescue cd/environment such as knoppix, mount your root > > partition and do a chroot into there, do whatever needed to clean up. > > You mean something like checki

Re: HELP! can't become root

2007-10-06 Thread tom arnall
On Saturday 06 October 2007 11:25, Thilo Six wrote: > tom arnall wrote the following on 06.10.2007 20:13 > > <<-snip->> > > > Indeed. From now on, I am not going to work as root without first making > > an entry in my system log as to what I'm going to do. > > sudo will do that for you without extr

Re: HELP! can't become root

2007-10-06 Thread Thilo Six
David Fox wrote the following on 06.10.2007 20:52 <<-snip->> > Or, boot a rescue cd/environment such as knoppix, mount your root > partition and do a chroot into there, do whatever needed to clean up. You mean something like checking each and every directory´s and file´s permission compare them

Re: HELP! can't become root

2007-10-06 Thread David Fox
On 10/6/07, tom arnall <[EMAIL PROTECTED]> wrote: > Realistically, is there any way I can fix my system so I can log in as root, > without reinstalling the OS? aptitude -reinstall base-files, perhaps Or, boot a rescue cd/environment such as knoppix, mount your root partition and do a chroot into

Re: HELP! can't become root

2007-10-06 Thread Thilo Six
tom arnall wrote the following on 06.10.2007 20:30 > Realistically, is there any way I can fix my system so I can log in as root, > without reinstalling the OS? > > Thanks, > > tom Well see: in /etc there is mosly everything 644 *BUT* there are specific files that are 440 or 755. And there may

Re: HELP! can't become root

2007-10-06 Thread tom arnall
Realistically, is there any way I can fix my system so I can log in as root, without reinstalling the OS? Thanks, tom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: HELP! can't become root

2007-10-06 Thread Thilo Six
tom arnall wrote the following on 06.10.2007 20:13 <<-snip->> > Indeed. From now on, I am not going to work as root without first making an > entry in my system log as to what I'm going to do. sudo will do that for you without extra modifications from you. *But* sudo will only make syslog entri

Re: HELP! can't become root

2007-10-06 Thread tom arnall
On Saturday 06 October 2007 10:53, Thilo Six wrote: > John Stumbles wrote the following on 06.10.2007 17:39 > > <<-snip->> > > > But surely doing chmod -R /dev/hda1 isn't the same as doing chmod -R / > > (where /dev/hda1 is mounted as /) is it? > > It depends on your partitionlayout. > > Apart from

Re: HELP! can't become root

2007-10-06 Thread Thilo Six
John Stumbles wrote the following on 06.10.2007 17:39 <<-snip->> > But surely doing chmod -R /dev/hda1 isn't the same as doing chmod -R / > (where /dev/hda1 is mounted as /) is it? It depends on your partitionlayout. Apart from that: tom once i 'rm -rf *' without recognizing i am in the wrong

Re: HELP! can't become root

2007-10-06 Thread John Stumbles
Thilo Six wrote: What you did is: chmod -R /dev 777 as it seems where inside /dev is your whole system ( e.g. /dev/hda1) But surely doing chmod -R /dev/hda1 isn't the same as doing chmod -R / (where /dev/hda1 is mounted as /) is it? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a s

Re: HELP! can't become root

2007-10-05 Thread Mumia W..
On 10/03/2007 02:12 PM, tom arnall wrote: I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed out of it after ~3 min's.) now I can't become root. Some examples: [...] After you get this fixed, I suggest that you create a tar backup of your /dev directory. It's best to do

Re: HELP! can't become root

2007-10-05 Thread tom arnall
On Friday 05 October 2007 11:17, Sven Joachim wrote: > tom arnall <[EMAIL PROTECTED]> writes: > > there is a change in the behavior when i try to log in as root. instead > > of: setgid: Operation not permitted after inputting the password, i get: > > login incorrect right after inputting 'root'.

Re: HELP! can't become root

2007-10-05 Thread Sven Joachim
tom arnall <[EMAIL PROTECTED]> writes: > there is a change in the behavior when i try to log in as root. instead of: > setgid: Operation not permitted after inputting the password, i get: login > incorrect right after inputting 'root'. Do you have an entry for root in /etc/passwd? -- To U

Re: HELP! can't become root

2007-10-05 Thread tom arnall
On Friday 05 October 2007 10:15, Andrew Sackville-West wrote: > On Fri, Oct 05, 2007 at 09:47:04AM -0700, tom arnall wrote: > > On Thursday 04 October 2007 20:30, Rob Mahurin wrote: > > ... > > > > Can you "sudo chmod" to repair your permissions damage? I can send > > > you an output from "find /d

Re: HELP! can't become root

2007-10-05 Thread Andrew Sackville-West
On Fri, Oct 05, 2007 at 09:47:04AM -0700, tom arnall wrote: > On Thursday 04 October 2007 20:30, Rob Mahurin wrote: ... > > Can you "sudo chmod" to repair your permissions damage? I can send > > you an output from "find /dev -ls" if you don't have another machine > > to compare against. ... > > I

Re: HELP! can't become root

2007-10-05 Thread tom arnall
On Wednesday 03 October 2007 12:17, Douglas A. Tutty wrote: > On Wed, Oct 03, 2007 at 12:12:52PM -0700, tom arnall wrote: > > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed > > out of it after ~3 min's.) now I can't become root. Some examples: > > > > [EMAIL PROTECTED

Re: HELP! can't become root

2007-10-05 Thread tom arnall
On Thursday 04 October 2007 20:30, Rob Mahurin wrote: > On Thu, Oct 04, 2007 at 08:06:56PM -0700, tom arnall wrote: > > > > I got impatient with an aumix error and did 'chmod -R /dev' (and > > > > ctl-C'ed out of it after ~3 min's.) now I can't become root. Some > > > > examples: > > [...] > > > I'

Re: HELP! can't become root

2007-10-04 Thread Rob Mahurin
On Thu, Oct 04, 2007 at 08:06:56PM -0700, tom arnall wrote: > > > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed > > > out of it after ~3 min's.) now I can't become root. Some examples: [...] > i've been running the system for the last couple of days. the only visible >

Re: HELP! can't become root

2007-10-04 Thread tom arnall
On Wednesday 03 October 2007 12:38, Andrew Sackville-West wrote: > On Wed, Oct 03, 2007 at 12:12:52PM -0700, tom arnall wrote: > > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed > > out of it after ~3 min's.) now I can't become root. Some examples: > > wow, that's ugly. A

Re: HELP! can't become root

2007-10-03 Thread Andrew Sackville-West
On Wed, Oct 03, 2007 at 01:13:15PM -0700, tom arnall wrote: > > thanks all for being here. downloading the netinst CD now. > > tom, the profoundly embarrassed loose cannon its okay. I once did rm -rf /etc /cups and didn't notice for a while. A signature.asc Description: Digital signature

Re: HELP! can't become root

2007-10-03 Thread tom arnall
On Wednesday 03 October 2007 12:38, Andrew Sackville-West wrote: > On Wed, Oct 03, 2007 at 12:12:52PM -0700, tom arnall wrote: > > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed > > out of it after ~3 min's.) now I can't become root. Some examples: > > wow, that's ugly. A

Re: HELP! can't become root

2007-10-03 Thread Andrew Sackville-West
On Wed, Oct 03, 2007 at 12:12:52PM -0700, tom arnall wrote: > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed out > of it after ~3 min's.) now I can't become root. Some examples: wow, that's ugly. And since it went for ~3mins that's a lot of chown'ed files. I agree with

Re: HELP! can't become root

2007-10-03 Thread Thilo Six
tom arnall wrote the following on 03.10.2007 21:12 > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed out > of it after ~3 min's.) now I can't become root. Some examples: > > [EMAIL PROTECTED]:/bin$ sudo /usr/src/modules/alsa-driver/snddevices > sudo: /etc/sud

Re: HELP! can't become root

2007-10-03 Thread Douglas A. Tutty
On Wed, Oct 03, 2007 at 12:12:52PM -0700, tom arnall wrote: > I got impatient with an aumix error and did 'chmod -R /dev' (and ctl-C'ed out > of it after ~3 min's.) now I can't become root. Some examples: > > [EMAIL PROTECTED]:/bin$ sudo /usr/src/modules/alsa-driver/snddevices > sudo: