On 2022-09-29 at 10:09, David wrote:

> I have loaded Debian 8 on to a 64 bit pc.

Why? The current release is Debian 11, and Debian 8 is old enough that
I'd be surprised if it were getting any support at all. Is there some
specific purpose for which you specifically need to install/run an
outdated version of Debian, with all the associated outdated software?

> Everything went well until I came to configure it, the local screen
> is blank,

That suggests a video-driver problem. If you get display at the GRUB
menu, there are kernel command-line options you might try, but the exact
ones you'd need may vary depending on the video hardware you're using.

> but if I SSH into the box it works. But I can only logon as a user.

That's a security feature; by default (there's a config-file option to
change this), the SSH daemon won't accept remote login attempts for root.

> I need to be able to logon as root to make changes. I've tried sudu, 
> but as the sudo program has not been loaded I cant.
> 
> Can any body suggest how to logon as root.

At first blush:

Log in as a non-root user.

Run the command 'su -'.

Enter the root password.


If you don't know the root password, then unless you can get into that
hard drive and set the password by another means (attach it to another
computer, boot to another *nix install, become root, chroot into the
hard drive, and run 'passwd'? or do a rescue-environment live-media boot
without moving the drive between computers, and chroot in the same
way?), you're probably SOL and will need to reinstall, making different
choices so that sudo is present and enabled.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to