Koozali.org: home of the SME Server

root access through local network

BilthovenYank

root access through local network
« on: May 14, 2002, 12:45:26 AM »
I have built an e-smith server for the home and have litterally put it up in the attic with no monitor, nor keyboard.  Occasionally I would like to get to the UNIX shell to do some maintenance such as moving large amounts of data between directories.  

Is there any way to access the root shell from the local network via telnet?  If I telnet to the server and log in as admin, I get the Server Console program.  according to the docs, you can press alt-F1 and escape to a shell.  This seems to work only on the console.  Are there any other ways to access the root shell?

Thanks,

Mark

Scott Smith

Re: root access through local network
« Reply #1 on: May 14, 2002, 01:14:13 AM »
/sbin/e-smith/db configuration setprop telnet PermitRootLogin yes
/sbin/e-smith/signal-event remoteaccess-update

BilthovenYank

Re: root access through local network
« Reply #2 on: May 14, 2002, 01:21:57 AM »
Scott,

Sorry but where do these command lines need to be entered?  Is this required at least once from the console?

A bit more detail is appreciated...

Thanks


Dan Brown

Re: root access through local network
« Reply #4 on: May 14, 2002, 01:32:46 AM »
Actually, the solution is much simpler than that: log in as "root", not "admin".  And do use ssh instead of telnet.

Scott Smith

Re: root access through local network
« Reply #5 on: May 14, 2002, 02:28:30 AM »
Yes, once from the console as root.

Urirama

Re: root access through local network
« Reply #6 on: May 14, 2002, 02:48:40 AM »
Like the manual and Dan Brown say: no console access needed - just log in to server manager from the network, tell it to allow SSH access, and you can SSH (or telnet, if you really must) from another computer to the server.

BilthovenYank

Re: root access through local network
« Reply #7 on: May 14, 2002, 03:26:28 AM »
Thanks all.

SSH was the most practical way forward...