On Fri, 12 Sep 2003, Paul Davies wrote:
> Question 1) I can telnet to the machine - but I do not seem to be able
> to telnet to it and log in as root. Is it not possible to telnet to a
> machine as root?
Is is possible, but it's not possible by default on most distributions,
and it's really, really NOT advisable.
Telnet is a completely insecure protocol which has a LOT of known exploits
against it, and allowing the root user to telnet makes it one step easier
for hackers to get into your machine.
If you absolutely _must_ do stuff as root remotely, I suggest you do the
following.
Use a current version of SSH if at all possible. While it's still not 100%
secure, it's a hell of a lot better than telnet!
Connect to the machine as a normal user {for example, create a user called
"paul" and login as him
Issue the command
su -
and enter the root password.
This will effectively have you connected and doing stuff as root, with
root's environment {that's what the - does}.
You should really, really use SSH if you possibly can, however.
> Question 2) Once I have telnetted to a machine I would like to be able
> do something with a file. I can copy and delete files
> etc no problem. I cannot however seem to open up a file on a remote
> computer and view it on the local computer with gedit
> for example. Could someone point me in the right direction on going
> about achieving this.
Do you get any error messages? If so, what are they?
DaZZa
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug