jamulix-homepage/app/403/page.tsx

35 lines
1.2 KiB
TypeScript
Raw Permalink Normal View History

import { ErrorPage, Cmd, Out, Err } from '@/components/error-page'
import { RequestedPath } from '@/components/requested-path'
export const metadata = {
title: '403 – Zugriff verweigert | Jamulix',
description: 'Hier gilt chmod 000.',
robots: { index: false, follow: false },
}
export default function Forbidden() {
return (
<ErrorPage
code={403}
label="Zugriff verweigert"
title="Hier gilt chmod 000."
terminal={
<>
<Cmd>ls -l <RequestedPath /></Cmd>
<Err>ls: Zugriff auf &apos;<RequestedPath />&apos; nicht möglich: Keine Berechtigung</Err>
<Cmd>chmod 777 <RequestedPath /></Cmd>
<Err>chmod: Ändern der Zugriffsrechte nicht möglich: Operation nicht erlaubt</Err>
<Cmd>sudo chmod 777 <RequestedPath /></Cmd>
<Err>gast ist nicht in der sudoers-Datei. Dieser Vorfall wird gemeldet.</Err>
<Cmd>whoami</Cmd>
<Out>gast</Out>
</>
}
tip={<>Tipp: Auch root war einmal <span className="text-accent">gast</span>.</>}
>
Die Seite gibt es – nur eben nicht für dich. Manche Verzeichnisse
bleiben aus gutem Grund verschlossen, selbst nach 50 Jahren
Unix-Erfahrung und mit freundlichem Fragen.
</ErrorPage>
)
}