From: Jimmi Nielsen on
Hello.

i have a small problems with my debian server.
alle files are permission 644/600 or something, so i can't change anything
on it.
how can i change it back with root login.

i have try but it say Permission denied
i try to login with SSH but it say permission denied
how can i change this.
From: Jordon Bedwell on
On 7/26/10 4:35 PM, Jimmi Nielsen wrote:
> Hello.
>
> i have a small problems with my debian server.
> alle files are permission 644/600 or something, so i can't change anything
> on it.
> how can i change it back with root login.
>
> i have try but it say Permission denied
> i try to login with SSH but it say permission denied
> how can i change this.
>

The only way to do this would be trough a console, or some companies
offer the ability to repair permissions [for example server beach has a
utility for this]. As soon as you login to console and repair the
permissions [for SSH first and only ~ at first], make sure you the first
thing you do is block ALL external communications outside of port 80 and
SSH [or all communications outside at all ~ if you're in a console
session, stay in console and just lock all communications] as your
server might have been hacked. Coming from somebody who does security,
this is the first thing I would do, lock down SSH so you can't get in
and fix anything right away. If you can't get to a console, call the
company that hosts it, and ask them if they can repair SSH for you and
verify it's integrity (which they should be willing to do at the least)
and if they can't, I guess you're screwed unless you get physical access.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C4E0C06.6020406(a)envygeeks.com