Koozali.org: home of the SME Server

help ?? ssh

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Selecting Console Login mode as Login has no Effect.
« Reply #15 on: September 26, 2006, 05:07:00 PM »
mgb & william_syd

Once you get the command prompt, it may be wise to run
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

At least that will ensure any config changes inadvertantly made have been applied.

Then i fnecessary go troubleshooting
/sbin/e-smith/db configuration show |more
etc etc
...

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
help ?? ssh
« Reply #16 on: September 27, 2006, 02:32:25 AM »
Thanks Ray.

Cntl - X at the logo then
SMEServer-up single

This problem seems to me more than the Consolemode value in the DB.

--byte-- got me curious so I setup a test SME6 set to auto login to the server console.

At the local console, it did that no questions asked. When I ssh'd, I got a login prompt and I could login as root and stay in a shell.

With mgb, I ssh'd over the 'net and loged in as root. There was a brief flash of text and then it went into the server-console.

I'm thinking that the root shell has been changed to /sbin/e-smith/console or that command is running as soon as you log in.
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
help ?? ssh
« Reply #17 on: September 27, 2006, 05:43:41 AM »
mgb, try this

At computer

Reboot

At yellow/blue splash screen press Control X

type SMEServer-up single

type chsh -s /bin/bash

type chsh -s /sbin/e-smith/console admin

type init 7        or     reboot
Regards,
William

IF I give advise.. It's only if it was me....

Offline mgb

  • ****
  • 558
  • +0/-0
help ?? ssh
« Reply #18 on: September 27, 2006, 01:05:33 PM »
Quote from: "william_syd"
mgb, try this

At computer

Reboot

At yellow/blue splash screen press Control X

type SMEServer-up single

type chsh -s /bin/bash

type chsh -s /sbin/e-smith/console admin

type init 7        or     reboot



HELLO William ,
ןI want to thank you for all the technical support you have given me.  I am heopeful that I will gain better understanding of the material in the near future
however, presently I am still baffled. I pressed Control C and got a Boot: and I am not sure what I need to write now. If I enter, it comes up regular.  If I press Lilo, it doesn't recognize and then I press Tab to see what I can press. Now what?    I think that I will reboot the CD and try it again on the server. If you have somnething else I need to do before \hand, I will be very happy to get that information ASAP.  You also asked me what caused this problem and I although I tried to install Clumsquid, it didn't work and the service stopped working.  This was written by Karen the English teacher, Karen. How is it in Australia?  Looking forward to hearing from you soon. Bye, Yossi
Thanks all for helping
Skype yosii2009

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
help ?? ssh
« Reply #19 on: September 27, 2006, 01:38:57 PM »
Let me do this with some pictures...

At the splash screen


Press Control x and you get


Type SMEServer-up single


Press enter and you get..


Now type chsh -s /bin/bash


Press enter and you get..


And for admin...


And then reboot..
Regards,
William

IF I give advise.. It's only if it was me....

Offline mgb

  • ****
  • 558
  • +0/-0
help ?? ssh
« Reply #20 on: September 27, 2006, 01:42:51 PM »
Quote from: "mgb"
Quote from: "william_syd"
mgb, try this

At computer

Reboot

At yellow/blue splash screen press Control X

type SMEServer-up single

type chsh -s /bin/bash

type chsh -s /sbin/e-smith/console admin

type init 7        or     reboot



HELLO William ,
ןI want to thank you for all the technical support you have given me.  I am heopeful that I will gain better understanding of the material in the near future
however, presently I am still baffled. I pressed Control x and got a Boot: and I am not sure what I need to write now. If I enter, it comes up regular.  If I press Lilo, it doesn't recognize and then I press Tab to see what I can press. Now what?    I think that I will reboot the CD and try it again on the server. If you have somnething else I need to do before \hand, I will be very happy to get that information ASAP.  You also asked me what caused this problem and I although I tried to install Clumsquid, it didn't work and the service stopped working.  This was written by Karen the English teacher, Karen. How is it in Australia?  Looking forward to hearing from you soon. Bye, Yossi



the ctrl L
type chsh -s /bin/bash
IS OK
SHELL  CHANGED  
TYPE chsh -s /sbin/e-smith/console admin
 SHELL NOT CHANGED
Thanks all for helping
Skype yosii2009

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
help ?? ssh
« Reply #21 on: September 27, 2006, 01:57:18 PM »
Thats ok if admin shell don't change. I made an error in my picture thats why it changed for me. (EDIT: I changed my picture.)
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
help ?? ssh
« Reply #22 on: September 27, 2006, 02:09:26 PM »
Quote from: "mgb"
 This was written by Karen the English teacher, Karen. How is it in Australia?  Looking forward to hearing from you soon. Bye, Yossi


Hello Karen and Yossi,

Australia is good. Nearly summer so no more cold in Sydney.
Regards,
William

IF I give advise.. It's only if it was me....

Offline mgb

  • ****
  • 558
  • +0/-0
help ?? ssh
« Reply #23 on: September 27, 2006, 02:30:47 PM »
Quote from: "william_syd"
Quote from: "mgb"
 This was written by Karen the English teacher, Karen. How is it in Australia?  Looking forward to hearing from you soon. Bye, Yossi


Hello Karen and Yossi,

Australia is good. Nearly summer so no more cold in Sydney.



OK
type chsh -s /bin/bash admin
ok
type chsh -s /sbin/e-smith/console admin
ok
Thanks all for helping
Skype yosii2009

Offline mgb

  • ****
  • 558
  • +0/-0
help ?? ssh
« Reply #24 on: September 27, 2006, 02:32:30 PM »
Quote from: "william_syd"
Thats ok if admin shell don't change. I made an error in my picture thats why it changed for me. (EDIT: I changed my picture.)




is ok i get command
Thanks all for helping
Skype yosii2009

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
help ?? ssh
« Reply #25 on: September 27, 2006, 02:36:53 PM »
Quote from: "mgb"
Quote from: "william_syd"
Thats ok if admin shell don't change. I made an error in my picture thats why it changed for me. (EDIT: I changed my picture.)




is ok i get command


Now you can ssh.

Quote from: "mgb"
i open ssl to server sme 6.1**
i get login to Server console
ssh 192.168.0.1 login admin Server console
ssh 192.168.0.1 lingin root Server console
i do not get command
the server work good at i


and 'su admin' to get to the server console when logged in as root.
Regards,
William

IF I give advise.. It's only if it was me....

Offline mgb

  • ****
  • 558
  • +0/-0
to install SquidClamAV ?
« Reply #26 on: September 27, 2006, 03:06:39 PM »
Thanks all for helping
Skype yosii2009

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: to install SquidClamAV ?
« Reply #27 on: September 27, 2006, 03:21:42 PM »
Quote from: "mgb"
to get virus in the network  


http://www.jackal-net.at/tiki-read_article.php?articleId=1


You have a totally new subject so you should start a new thread.

I don't use SME6 anymore. Try here for a anti virus howto.
Regards,
William

IF I give advise.. It's only if it was me....

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Selecting Console Login mode as Login has no Effect.
« Reply #28 on: October 03, 2006, 06:07:28 PM »
Quote from: "william_syd"
mgb allowed me to SSH into his SME6 and I confirmed that he has 'Login' selected but a login as root still goes to the Server Console.


If that is the case, then he or someone else has modified that system.