Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: anders-s on October 11, 2009, 11:38:50 AM

Title: Login via shell loops!
Post by: anders-s 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:
Title: Re: Login via shell loops!
Post by: Stefano on October 11, 2009, 12:05:11 PM
please post the result of
Code: [Select]
db accounts show ingrid
Title: Re: Login via shell loops!
Post by: anders-s 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.
Title: Re: Login via shell loops!
Post by: Stefano 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?
Title: Re: Login via shell loops!
Post by: anders-s on October 11, 2009, 03:17:03 PM
No not even root. only admin into server manager web-gui
Title: Re: Login via shell loops!
Post by: Stefano 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?
Title: Re: Login via shell loops!
Post by: janet 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.
Title: Re: Login via shell loops!
Post by: anders-s 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: