Re: HELP! can't become root



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 /dev -ls" if you don't have another machine
to compare against.

...

Indeed I have no machine to check my /dev perm's. If you could send me
the output I'd be much obliged. If you want to send it direct:
kloro2006@xxxxxxxxxx

I got my fonts back by giving the correct permissions to my home
directory and to .dmrc. Now the only clear problem is being able to log
in as root.

the problem is that three minutes of chmod'ing down into /dev is going
to change permissions on all sorts of stuff in the system. You now
probably have significant numbers of binaries that are 777 and
shouldn't be, for example. If you really want to fix it, you'll have
to look at a whole system tree.

Or reinstall a bunch of packages in hopes that it fixes up the
perms. Find one that you know is wrong and do an

aptitude reinstall <package>

and see what happens. If it fixes the perms, then I'd follow it up
with

dpkg -l | awk '/^ii/ {print $2}' | xargs aptitude reinstall

untested.

The perms of /dev should fix themselves up automatically on reboot as
udev should be recreating the devices on the fly.

A


other than the fact that the system becomes vulnerable to attacks via my
internet connection, what is the problem with binaries with incorrect
permissions?

is there any simple way to enable 'su' for root?

tom


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: When I try to save html pages, nothing happens
    ... what are the perms of /var itself and its subdirs? ... /var permissions for potential problems. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • chmod equivalent to find commands
    ... can be summed up in one chmod command: ... it fixes my permissions ... ... To unsubscribe, ...
    (freebsd-questions)
  • Re: Using .Connect to relink fails! Really need help with this!
    ... When you say the front end grants all users all permissions on all "tables", ... had on the linked-to tables. ... > Backend has all table perms revoked for all but admin users. ... > The first error must indicate that the one all perms ok table link ...
    (microsoft.public.access.security)
  • Re: IE screwed up after 9 windows updates today
    ... (I hate telephones!) ... the 'fixes' from KB909444 resolved the issue. ... While the VMRC wasn't listed in the KB article, and the permissions appeared ... > torgeir, Microsoft MVP Scripting, Porsgrunn Norway ...
    (microsoft.public.windowsupdate)
  • Re: LD_ASSUME_KERNEL support for feisty
    ... Yes, I have the permissions. ... can you execute ?>ldd executable_file and send it to us? ... Modify settings or unsubscribe at: ...
    (Ubuntu)