Koozali.org: home of the SME Server

Login via shell loops!

Offline anders-s

  • 4
  • +0/-0
Login via shell loops!
« on: October 11, 2009, 11:38:50 AM »
I have problems login into the Linux part of the server (SME-Server 7,4)
I can see the connection data for a split second it flicks and loops back to the login again.
What to do pls help. Log data as follows.
Server-manager works but somtimes I have to chmod som files and i can´t


Oct 11 10:03:48 sna-2 login(pam_unix)[4609]: session opened for user ingrid by LOGIN(uid=0)
Oct 11 10:03:48 sna-2  -- ingrid[4609]: LOGIN ON tty1 BY ingrid
Oct 11 10:03:48 sna-2 rssh[26264]: setting log facility to LOG_USER
Oct 11 10:03:48 sna-2 rssh[26264]: setting umask to 022
Oct 11 10:03:48 sna-2 rssh[26264]: line 15: configuring user ingrid
Oct 11 10:03:48 sna-2 rssh[26264]: setting ingrid's umask to 022
Oct 11 10:03:48 sna-2 rssh[26264]: allowing scp to user ingrid
Oct 11 10:03:48 sna-2 rssh[26264]: allowing sftp to user ingrid
Oct 11 10:03:48 sna-2 rssh[26264]: allowing cvs to user ingrid
Oct 11 10:03:48 sna-2 rssh[26264]: allowing rdist to user ingrid
Oct 11 10:03:48 sna-2 rssh[26264]: allowing rsync to user ingrid
Oct 11 10:03:48 sna-2 rssh[26264]: user ingrid attempted to log in with a shell
Oct 11 10:03:48 sna-2 login(pam_unix)[4609]: session closed for user ingrid
 :sad:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Login via shell loops!
« Reply #1 on: October 11, 2009, 12:05:11 PM »
please post the result of
Code: [Select]
db accounts show ingrid

Offline anders-s

  • 4
  • +0/-0
Re: Login via shell loops!
« Reply #2 on: October 11, 2009, 02:49:53 PM »
Hi! Thanks! But how di i do that without logging in. Can’t log in with any user.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Login via shell loops!
« Reply #3 on: October 11, 2009, 03:04:29 PM »
Hi! Thanks! But how di i do that without logging in. Can’t log in with any user.

any? can't you log in as root?

what did you do/modify?

Offline anders-s

  • 4
  • +0/-0
Re: Login via shell loops!
« Reply #4 on: October 11, 2009, 03:17:03 PM »
No not even root. only admin into server manager web-gui

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Login via shell loops!
« Reply #5 on: October 11, 2009, 03:22:22 PM »
No not even root. only admin into server manager web-gui

ok.. so, again, what did you install/modify?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Login via shell loops!
« Reply #6 on: October 11, 2009, 03:51:11 PM »
anders-s

Boot up to the sme 7.4 CD and type
sme rescue
Then at the bash prompt type
chroot /mnt/sysimage

Then you have access via command prompt and can fix your problem ie undo whatever inappropriate changes you have already made, exit, remove CD & reboot.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline anders-s

  • 4
  • +0/-0
Re: Login via shell loops!
« Reply #7 on: October 11, 2009, 06:06:22 PM »
Thank´s I did a long forgotten safety update should not affect the server but it may have ben in a vulnerable state for a long time. Server works perfectly and ticks on fine as it is . But I will try your rescue ops. next weekend. Thanks for your Help! :smile: