LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2016, 10:21 AM   #1
zillur
Member
 
Registered: Apr 2015
Posts: 217

Rep: Reputation: Disabled
User can't login locally but can login using ssh


Hi there,
I have a CentOS 7 workstation with few users. One of my users wanted to login locally but it always shows "An unknown problem". But the same user can login using ssh and can do stuffs he need to do. What should I do now?

Thanks in advance.

Best Regards
Zillur
 
Old 10-17-2016, 11:00 AM   #2
linuxonbute
Member
 
Registered: May 2005
Location: North lincolnshire
Distribution: Mint 18 Cinnamon
Posts: 47

Rep: Reputation: 19
When your user logs in via ssh does he need to enter a password or has public/private rsa key pair been set up?
 
Old 10-17-2016, 11:04 AM   #3
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Thank you very much for your reply. The user need to use password to login.

Best Regards
Zillur
 
Old 10-17-2016, 01:13 PM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,333
Blog Entries: 3

Rep: Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729
What do the authentication logs say about the failed logins?
 
Old 10-17-2016, 01:34 PM   #5
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Thank you very much. Here is my authentication log: (User "edgardo" has the problem to login locally)
Code:
[zillur@genomics zillur]$ last
luis     pts/8        172.56.5.254     Sat Oct 15 16:58 - 17:02  (00:03)    
edgardo  pts/8        136.145.188.41   Fri Oct 14 15:43 - 15:43  (00:00)    
edgardo  :1           :1               Fri Oct 14 15:42 - 15:42  (00:00)    
edgardo  pts/8        136.145.188.41   Fri Oct 14 15:40 - 15:40  (00:00)    
(unknown :1           :1               Fri Oct 14 15:40 - 15:42  (00:02)    
edgardo  :1           :1               Fri Oct 14 15:39 - 15:40  (00:00)    
(unknown :1           :1               Fri Oct 14 15:39 - 15:39  (00:00)    
edgardo  :1           :1               Fri Oct 14 12:20 - 12:21  (00:01)    
(unknown :1           :1               Fri Oct 14 12:20 - 12:20  (00:00)    
edgardo  :1           :1               Fri Oct 14 12:20 - 12:20  (00:00)    
(unknown :1           :1               Fri Oct 14 12:19 - 12:20  (00:00)    
zillur   pts/7        :0               Thu Oct 13 20:27   still logged in   
zillur   pts/6        :0               Thu Oct 13 15:15   still logged in   
luis     pts/7        136.145.182.28   Thu Oct 13 01:24 - 03:35  (02:11)    
luis     pts/7        136.145.182.28   Thu Oct 13 01:00 - 01:23  (00:23)    
luis     pts/7        136.145.182.28   Thu Oct 13 00:00 - 00:19  (00:19)    
zillur   pts/6        :0               Tue Oct 11 19:56 - 14:41 (1+18:44)   
zillur   pts/5        :0               Tue Oct 11 14:39   still logged in   
zillur   pts/4        :0               Tue Oct 11 14:20   still logged in   
zillur   pts/3        :0               Tue Oct 11 14:08   still logged in   
zillur   pts/2        :0               Mon Oct 10 13:58   still logged in   
zillur   pts/1        :0               Mon Oct 10 13:47   still logged in   
zillur   pts/0        :0               Fri Oct  7 18:57   still logged in   
zillur   :0           :0               Fri Oct  7 18:56   still logged in   
(unknown :0           :0               Fri Oct  7 18:56 - 18:56  (00:00)    
reboot   system boot  3.10.0-327.el7.x Fri Oct  7 18:55 - 14:31 (9+19:35)   
reboot   system boot  3.10.0-327.36.1. Fri Oct  7 18:50 - 14:31 (9+19:40)   
luis     pts/15       172.56.5.220     Thu Oct  6 20:55 - 23:27  (02:32)    
luis     pts/14       172.56.5.220     Thu Oct  6 20:47 - 23:00  (02:13)    
luis     pts/13       172.56.5.220     Thu Oct  6 20:39 - 22:52  (02:12)    
luis     pts/12       172.56.5.220     Thu Oct  6 19:35 - 22:44  (03:09)    
luis     pts/15       172.56.4.125     Thu Oct  6 02:22 - 04:51  (02:28)    
luis     pts/14       172.56.4.125     Thu Oct  6 02:11 - 04:26  (02:15)    
luis     pts/13       172.56.4.125     Thu Oct  6 01:55 - 04:07  (02:12)    
luis     pts/12       172.56.4.125     Thu Oct  6 01:34 - 03:56  (02:22)    
zillur   pts/11       :0               Tue Oct  4 19:37 - 17:08 (2+21:30)   
zillur   pts/10       :0               Tue Oct  4 19:36 - 17:08 (2+21:31)   
zillur   pts/9        :0               Tue Oct  4 18:44 - 17:07 (2+22:23)   
zillur   pts/8        :0               Tue Oct  4 13:55 - 17:08 (3+03:12)   
zillur   pts/7        :0               Tue Oct  4 13:31 - 17:08 (3+03:36)   
zillur   pts/6        :0               Tue Oct  4 13:08 - 17:08 (3+03:59)   
zillur   pts/5        :0               Mon Oct  3 18:26 - 17:08 (3+22:41)   
zillur   pts/4        :0               Mon Oct  3 16:37 - 17:08 (4+00:31)   
luis     pts/6        172.56.4.115     Mon Oct  3 01:38 - 04:02  (02:24)    
luis     pts/5        172.56.4.115     Mon Oct  3 01:26 - 03:49  (02:23)    
luis     pts/5        172.56.4.115     Mon Oct  3 01:13 - 01:15  (00:02)    
luis     pts/4        172.56.4.115     Mon Oct  3 01:00 - 03:12  (02:11)    
zillur   pts/3        :0               Thu Sep 29 15:18 - 17:08 (8+01:49)   
zillur   pts/2        :0               Thu Sep 29 13:21 - 17:08 (8+03:46)   
zillur   pts/1        :0               Thu Sep 29 12:50 - 17:08 (8+04:17)   
zillur   pts/0        :0               Thu Sep 29 12:48 - 17:08 (8+04:19)   
zillur   :0           :0               Thu Sep 29 12:47 - 17:08 (8+04:20)   
(unknown :0           :0               Thu Sep 29 12:41 - 12:47  (00:06)    
reboot   system boot  3.10.0-327.36.1. Thu Sep 29 12:40 - 17:08 (8+04:27)   
luis     pts/13       172.56.5.69      Tue Sep 27 21:28 - 21:32  (00:04)    
edgardo  pts/13       66-87-141-1.pool Tue Sep 27 17:23 - 17:23  (00:00)    
zillur   pts/12       :0               Tue Sep 27 14:57 - crash (1+21:42)   
zillur   pts/11       :0               Tue Sep 27 14:38 - crash (1+22:01)   
zillur   pts/10       :0               Tue Sep 27 13:51 - crash (1+22:48)   
zillur   pts/9        :0               Tue Sep 27 12:14 - crash (2+00:26)   
luis     pts/9        136.145.182.28   Tue Sep 27 01:08 - 03:52  (02:44)    
zillur   pts/8        :0               Mon Sep 26 19:35 - crash (2+17:05)   
zillur   pts/7        :0               Mon Sep 26 18:47 - crash (2+17:52)   
zillur   pts/6        :0               Mon Sep 26 18:21 - crash (2+18:18)   
zillur   pts/5        :0               Mon Sep 26 14:14 - crash (2+22:25)   
zillur   pts/4        :0               Mon Sep 26 14:13 - crash (2+22:26)   
zillur   pts/0        :0               Mon Sep 26 14:10 - crash (2+22:30)   
zillur   pts/1        :0               Mon Sep 26 13:41 - crash (2+22:59)   
zillur   pts/4        :0               Mon Sep 26 13:40 - 13:41  (00:00)    
zillur   pts/0        :0               Mon Sep 26 13:40 - 13:40  (00:00)    
zillur   pts/3        :0               Mon Sep 26 12:42 - crash (2+23:57)   
luis     pts/3        172.56.4.231     Mon Sep 26 11:19 - 11:22  (00:03)    
zillur   pts/2        :0               Mon Sep 26 11:13 - crash (3+01:26)   
zillur   pts/1        :0               Mon Sep 26 11:09 - 13:39  (02:30)    
luis     pts/0        172.56.4.231     Mon Sep 26 10:38 - 13:25  (02:46)    
zillur   :0           :0               Sat Sep 24 15:04 - crash (4+21:36)   
(unknown :0           :0               Sat Sep 24 15:03 - 15:04  (00:01)    
reboot   system boot  3.10.0-327.36.1. Sat Sep 24 15:02 - 17:08 (13+02:05)  
zillur   :0           :0               Fri Sep 23 12:32 - crash (1+02:30)   
(unknown :0           :0               Fri Sep 23 12:31 - 12:32  (00:00)    
reboot   system boot  3.10.0-327.36.1. Fri Sep 23 12:31 - 17:08 (14+04:36)  
zillur   pts/2        :0               Tue Sep 20 14:12 - crash (2+22:18)   
zillur   pts/3        :0               Tue Sep 20 12:15 - crash (3+00:15)   
luis     pts/2        mcb2c36d0.tmodns Tue Sep 20 11:47 - 14:07  (02:19)    
zillur   pts/1        :0               Tue Sep 20 11:19 - crash (3+01:11)   
luis     pts/2        136.145.182.28   Tue Sep 20 01:13 - 05:55  (04:42)    
luis     pts/2        136.145.182.28   Tue Sep 20 01:01 - 01:13  (00:11)    
zillur   pts/4        :pts/3:S.0       Tue Sep 20 00:51 - 03:09  (02:18)    
zillur   pts/3        136.145.182.28   Tue Sep 20 00:50 - 03:09  (02:18)    
luis     pts/2        136.145.182.28   Tue Sep 20 00:45 - 01:01  (00:16)    
luis     pts/2        136.145.182.28   Tue Sep 20 00:43 - 00:45  (00:02)    
luis     pts/2        136.145.182.28   Tue Sep 20 00:19 - 00:43  (00:23)    
zillur   pts/1        136.145.182.28   Tue Sep 20 00:19 - 03:08  (02:49)    
zillur   pts/0        :0               Tue Sep 20 00:01 - crash (3+12:29)   
zillur   :0           :0               Mon Sep 19 23:58 - crash (3+12:32)   
(unknown :0           :0               Mon Sep 19 23:57 - 23:58  (00:00)    
reboot   system boot  3.10.0-327.36.1. Mon Sep 19 23:57 - 17:08 (17+17:11)  
zillur   pts/5        :0               Mon Sep 19 21:49 - 23:53  (02:04)    
zillur   pts/5        :0               Mon Sep 19 21:24 - 21:31  (00:06)    
zillur   pts/4        :0               Mon Sep 19 21:21 - 23:53  (02:31)    
zillur   pts/3        :0               Mon Sep 19 21:07 - 23:53  (02:45)    
zillur   pts/2        :0               Mon Sep 19 21:06 - 23:53  (02:47)    
zillur   pts/1        :0               Mon Sep 19 17:36 - 23:53  (06:17)    
zillur   pts/0        :0               Mon Sep 19 17:33 - 23:53  (06:20)    
zillur   :0           :0               Mon Sep 19 17:32 - 23:53  (06:21)    
(unknown :0           :0               Mon Sep 19 17:31 - 17:32  (00:00)    
reboot   system boot  3.10.0-327.28.3. Mon Sep 19 17:31 - 23:53  (06:22)    
reboot   system boot  3.10.0-327.el7.x Mon Sep 19 17:22 - 23:53  (06:30)    
zillur   pts/19       :0               Thu Sep 15 13:26 - crash (4+03:56)   
zillur   pts/18       :0               Thu Sep 15 13:21 - crash (4+04:01)   
zillur   pts/17       :0               Thu Sep 15 12:44 - crash (4+04:38)   
zillur   pts/3        :0               Thu Sep 15 12:33 - crash (4+04:49)   
zillur   pts/1        :0               Thu Sep 15 11:52 - crash (4+05:29)   
zillur   pts/3        136.145.181.173  Mon Sep 12 14:58 - 17:57  (02:59)    
edgardo  pts/3        66.87.140.152    Sun Sep 11 21:34 - 21:37  (00:03)    
zillur   pts/3        136.145.182.28   Sun Sep 11 15:35 - 18:45  (03:10)    
zillur   pts/3        136.145.182.28   Sat Sep 10 17:39 - 21:55  (04:15)    
luis     pts/3        136.145.182.28   Wed Sep  7 17:51 - 20:12  (02:21)    
luis     pts/3        edgardosmacbook. Wed Sep  7 15:27 - 17:28  (02:00)    
luis     pts/18       edgardosmacbook. Wed Sep  7 15:09 - 17:15  (02:06)    
edgardo  pts/19       edgardosmacbook. Wed Sep  7 14:18 - 14:18  (00:00)    
luis     pts/18       edgardosmacbook. Wed Sep  7 14:12 - 15:05  (00:53)    
luis     pts/17       136.145.182.28   Wed Sep  7 13:49 - 16:08  (02:19)    
luis     pts/17       136.145.182.28   Wed Sep  7 13:41 - 13:49  (00:08)    
luis     pts/3        172.56.5.26      Wed Sep  7 13:05 - 15:19  (02:14)    
luis     pts/25       172.56.4.59      Wed Sep  7 03:26 - 05:37  (02:11)    
luis     pts/24       172.56.4.59      Wed Sep  7 03:18 - 05:32  (02:14)    
luis     pts/23       172.56.4.59      Wed Sep  7 02:38 - 05:03  (02:24)    
luis     pts/22       172.56.4.59      Wed Sep  7 02:26 - 05:21  (02:55)    
luis     pts/21       172.56.4.59      Wed Sep  7 02:25 - 04:47  (02:21)    
luis     pts/20       172.56.4.59      Wed Sep  7 02:17 - 04:37  (02:19)    
luis     pts/19       172.56.4.59      Wed Sep  7 02:12 - 04:36  (02:23)    
luis     pts/18       172.56.4.59      Wed Sep  7 01:35 - 04:08  (02:33)    
luis     pts/17       172.56.4.59      Wed Sep  7 01:28 - 04:09  (02:41)    
edgardo  pts/9        136.145.231.40   Tue Sep  6 20:19 - crash (12+21:03)  
edgardo  pts/3        136.145.187.180  Tue Sep  6 14:18 - 10:09  (19:51)    
luis     pts/3        136.145.182.28   Tue Sep  6 01:27 - 04:16  (02:48)    
luis     pts/17       136.145.182.28   Tue Sep  6 00:25 - 00:31  (00:06)    
luis     pts/3        136.145.182.28   Tue Sep  6 00:03 - 00:44  (00:40)    
luis     pts/3        136.145.182.28   Tue Sep  6 00:00 - 00:03  (00:02)    
luis     pts/3        136.145.182.28   Mon Sep  5 23:48 - 00:00  (00:11)    
luis     pts/3        136.145.182.28   Mon Sep  5 19:57 - 22:14  (02:17)    
luis     pts/3        136.145.182.28   Mon Sep  5 13:41 - 16:41  (03:00)    
luis     pts/3        136.145.182.28   Mon Sep  5 12:23 - 13:26  (01:02)    
luis     pts/3        24.41.139.238    Sun Sep  4 00:10 - 02:25  (02:14)    
luis     pts/3        24.41.139.238    Sat Sep  3 21:20 - 23:55  (02:35)    
zillur   pts/16       :0               Fri Sep  2 15:13 - crash (17+02:09)  
zillur   pts/15       :0               Fri Sep  2 11:53 - crash (17+05:29)  
zillur   pts/14       :0               Fri Sep  2 10:59 - crash (17+06:23)  
zillur   pts/13       :0               Thu Sep  1 17:45 - crash (17+23:37)  
zillur   pts/12       :0               Thu Sep  1 13:39 - crash (18+03:43)  
zillur   pts/11       :0               Wed Aug 31 12:30 - crash (19+04:52)  
zillur   pts/1        :0               Wed Aug 31 12:29 - 20:55 (12+08:25)  
edgardo  pts/11       66-87-141-171.po Tue Aug 30 21:08 - 21:12  (00:04)    
zillur   pts/10       :0               Tue Aug 30 18:51 - crash (19+22:31)  
edgardo  pts/9        136.145.231.40   Tue Aug 30 17:34 - 20:19 (7+02:45)   
edgardo  pts/8        136.145.231.40   Tue Aug 30 17:11 - crash (20+00:11)  
zillur   pts/7        :0               Tue Aug 30 15:59 - 11:52 (15+19:52)  
zillur   pts/6        :0               Tue Aug 30 15:55 - crash (20+01:27)  
zillur   pts/5        :0               Tue Aug 30 14:32 - crash (20+02:50)  
zillur   pts/4        :0               Tue Aug 30 14:19 - crash (20+03:03)  
(unknown :2           :2               Tue Aug 30 14:13 - crash (20+03:09)  
luis     :1           :1               Tue Aug 30 14:13 - crash (20+03:09)  
(unknown :1           :1               Tue Aug 30 14:13 - 14:13  (00:00)    
luis     pts/3        136.145.188.41   Tue Aug 30 14:11 - 12:30 (3+22:18)   
zillur   pts/3        136.145.188.41   Tue Aug 30 14:10 - 14:11  (00:01)    
zillur   pts/2        :0               Tue Aug 30 13:53 - crash (20+03:29)  
zillur   pts/1        136.145.187.50   Tue Aug 30 13:37 - 21:48  (08:11)    
zillur   pts/0        :0               Tue Aug 30 13:35 - crash (20+03:47)  
zillur   :0           :0               Tue Aug 30 13:34 - crash (20+03:48)  
(unknown :0           :0               Tue Aug 30 13:34 - 13:34  (00:00)    
reboot   system boot  3.10.0-327.el7.x Tue Aug 30 13:33 - 23:53 (20+10:20)  
zillur   pts/10       136.145.182.28   Fri Aug 26 22:20 - 22:22  (00:01)    
zillur   pts/10       136.145.182.28   Fri Aug 26 20:53 - 22:10  (01:16)    
edgardo  pts/10       66-87-141-185.po Fri Aug 26 20:37 - 20:38  (00:00)    
zillur   pts/8        136.145.188.41   Fri Aug 26 14:29 - crash (3+23:03)   
zillur   pts/3        :0               Fri Aug 26 13:44 - crash (3+23:48)   
edgardo  pts/3        66-87-140-158.po Fri Aug 26 08:37 - 08:39  (00:01)    
edgardo  pts/3        66-87-141-171.po Thu Aug 25 21:35 - 21:37  (00:01)    
edgardo  pts/3        66-87-141-171.po Thu Aug 25 21:28 - 21:29  (00:01)    
zillur   pts/2        :0               Thu Aug 25 18:15 - crash (4+19:18)   
dieunel  pts/8        136.145.182.28   Thu Aug 25 16:32 - 16:32  (00:00)    
dieunel  pts/8        136.145.182.28   Thu Aug 25 16:28 - 16:32  (00:03)    
dieunel  pts/2        136.145.182.28   Thu Aug 25 16:16 - 16:33  (00:16)    
dieunel  pts/2        136.145.182.28   Thu Aug 25 16:00 - 16:16  (00:15)    
derilus  pts/2        136.145.182.28   Thu Aug 25 14:48 - 16:00  (01:11)    
derilus  pts/2        136.145.182.28   Thu Aug 25 14:39 - 14:48  (00:08)    
dieunel  pts/2        136.145.182.28   Thu Aug 25 14:38 - 14:39  (00:00)    
dieunel  pts/8        dieunelilussmbp. Thu Aug 25 14:33 - 14:41  (00:08)    
edgardo  pts/10       edgardosmacbook. Thu Aug 25 14:25 - 14:26  (00:00)    
dieunel  pts/8        dieunelilussmbp. Thu Aug 25 14:00 - 14:32  (00:32)    
dieunel  pts/8        dieunelilussmbp. Thu Aug 25 13:54 - 14:00  (00:05)    
zillur   pts/9        :0               Thu Aug 25 13:50 - crash (4+23:43)   
dieunel  pts/8        dieunelilussmbp. Thu Aug 25 13:45 - 13:54  (00:09)    
zillur   pts/7        :0               Thu Aug 25 13:42 - crash (4+23:50)   
edgardo  pts/6        edgardosmacbook. Thu Aug 25 13:17 - crash (5+00:16)   
humayun  pts/5        :pts/3:S.0       Thu Aug 25 13:09 - 18:15  (05:05)    
zillur   pts/4        :pts/3:S.0       Thu Aug 25 13:08 - 13:08  (00:00)    
zillur   pts/3        :0               Thu Aug 25 13:08 - 18:15  (05:07)    
zillur   pts/0        :0               Thu Aug 25 13:03 - crash (5+00:30)   
zillur   pts/2        136.145.182.28   Thu Aug 25 12:50 - 14:37  (01:46)    
zillur   pts/1        :0               Thu Aug 25 12:38 - 13:03  (00:24)    
zillur   pts/0        :0               Thu Aug 25 12:38 - 13:03  (00:24)    
zillur   :0           :0               Thu Aug 25 12:38 - crash (5+00:55)   
(unknown :0           :0               Thu Aug 25 12:37 - 12:38  (00:00)    
reboot   system boot  3.10.0-327.el7.x Thu Aug 25 12:36 - 23:53 (25+11:17)  
edgardo  pts/3        66-87-141-56.poo Wed Aug 24 13:42 - 13:46  (00:04)    
edgardo  pts/14       wgt624.rrp.campu Wed Aug 24 10:56 - 13:07  (02:11)    
edgardo  pts/14       wgt624.rrp.campu Wed Aug 24 10:54 - 10:54  (00:00)    
edgardo  pts/13       wgt624.rrp.campu Wed Aug 24 10:50 - 13:02  (02:11)    
edgardo  pts/13       66-87-141-133.po Wed Aug 24 02:00 - 02:01  (00:01)    
edgardo  pts/11       136.145.178.90   Wed Aug 24 01:41 - 16:54  (15:13)    
edgardo  pts/13       66-87-140-133.po Tue Aug 23 21:00 - 21:01  (00:00)    
(unknown :4           :4               Tue Aug 23 19:53 - 16:54  (21:01)    
dieunel  pts/12       :3               Tue Aug 23 19:36 - 16:54  (21:18)    
dieunel  :3           :3               Tue Aug 23 19:35 - 16:54  (21:18)    
(unknown :3           :3               Tue Aug 23 19:35 - 19:35  (00:00)    
dieunel  pts/3        136.145.188.41   Tue Aug 23 19:34 - 11:21  (15:46)    
zillur   pts/11       136.145.182.28   Tue Aug 23 19:32 - 21:45  (02:13)    
dieunel  pts/3        136.145.188.41   Tue Aug 23 19:26 - 19:32  (00:06)    
zillur   pts/10       :0               Tue Aug 23 18:41 - 16:54  (22:13)    
zillur   pts/10       :0               Tue Aug 23 18:40 - 18:41  (00:01)    
zillur   pts/10       :0               Tue Aug 23 18:25 - 18:39  (00:14)    
zillur   pts/9        :0               Tue Aug 23 18:14 - 16:54  (22:40)    
zillur   pts/8        :0               Tue Aug 23 17:54 - 16:54  (23:00)    
zillur   pts/7        :0               Tue Aug 23 13:50 - 16:54 (1+03:04)   
zillur   pts/6        :0               Tue Aug 23 13:11 - 16:54 (1+03:42)   
zillur   pts/5        :0               Tue Aug 23 12:47 - 16:54 (1+04:06)   
zillur   pts/5        :0               Tue Aug 23 12:42 - 12:47  (00:04)    
zillur   pts/4        :0               Tue Aug 23 12:22 - 16:54 (1+04:32)   
zillur   pts/2        :0               Tue Aug 23 11:36 - 16:54 (1+05:18)   
(unknown :2           :2               Mon Aug 22 18:19 - 16:54 (1+22:34)   
zillur   pts/2        136.145.181.137  Mon Aug 22 14:55 - 15:51  (00:56)    
zillur   pts/4        136.145.187.50   Mon Aug 22 12:21 - 12:27  (00:05)    
dieunel  pts/3        136.145.188.41   Mon Aug 22 11:32 - 19:25 (1+07:53)   
edgardo  pts/3        66-87-140-216.po Mon Aug 22 10:17 - 10:17  (00:00)    
zillur   pts/2        136.145.182.28   Mon Aug 22 10:09 - 13:41  (03:32)    
(unknown :1           :1               Mon Aug 22 01:43 - 16:54 (2+15:11)   
zillur   pts/3        login4.stampede. Sun Aug 21 20:36 - 23:31  (02:55)    
zillur   pts/2        login2.stampede. Sun Aug 21 19:19 - 23:34  (04:15)    
zillur   pts/3        login3.stampede. Sun Aug 21 16:27 - 17:31  (01:03)    
zillur   pts/2        login3.stampede. Sun Aug 21 16:09 - 18:30  (02:21)    
zillur   pts/1        :0               Sat Aug 20 19:57 - 16:54 (3+20:57)   
zillur   pts/1        :0               Sat Aug 20 19:55 - 19:57  (00:02)    
zillur   pts/1        :0               Fri Aug 19 17:57 - 19:54 (1+01:56)   
zillur   pts/0        :0               Fri Aug 19 17:54 - 16:54 (4+22:59)   
zillur   pts/2        :0               Fri Aug 19 17:54 - 17:54  (00:00)    
zillur   pts/1        :0               Fri Aug 19 17:50 - 17:54  (00:04)    
zillur   pts/0        :0               Thu Aug 18 20:11 - 17:54  (21:42)    
zillur   :0           :0               Thu Aug 18 20:11 - 16:54 (5+20:43)   
(unknown :0           :0               Thu Aug 18 20:11 - 20:11  (00:00)    
reboot   system boot  3.10.0-327.el7.x Thu Aug 18 20:04 - 16:54 (5+20:50)
Best regards
Zillur

Last edited by zillur; 10-17-2016 at 01:36 PM.
 
Old 10-18-2016, 12:20 PM   #6
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Any help about this matter??
Code:
[zillur@genomics New]$ last | grep 'edgardo'
edgardo  pts/8        136.145.188.41   Fri Oct 14 15:43 - 15:43  (00:00)    
edgardo  :1           :1               Fri Oct 14 15:42 - 15:42  (00:00)    
edgardo  pts/8        136.145.188.41   Fri Oct 14 15:40 - 15:40  (00:00)    
edgardo  :1           :1               Fri Oct 14 15:39 - 15:40  (00:00)    
edgardo  :1           :1               Fri Oct 14 12:20 - 12:21  (00:01)    
edgardo  :1           :1               Fri Oct 14 12:20 - 12:20  (00:00)    
edgardo  pts/13       66-87-141-1.pool Tue Sep 27 17:23 - 17:23  (00:00)    
edgardo  pts/3        66.87.140.152    Sun Sep 11 21:34 - 21:37  (00:03)    
luis     pts/3        edgardosmacbook. Wed Sep  7 15:27 - 17:28  (02:00)    
luis     pts/18       edgardosmacbook. Wed Sep  7 15:09 - 17:15  (02:06)    
edgardo  pts/19       edgardosmacbook. Wed Sep  7 14:18 - 14:18  (00:00)    
luis     pts/18       edgardosmacbook. Wed Sep  7 14:12 - 15:05  (00:53)    
edgardo  pts/9        136.145.231.40   Tue Sep  6 20:19 - crash (12+21:03)  
edgardo  pts/3        136.145.187.180  Tue Sep  6 14:18 - 10:09  (19:51)    
edgardo  pts/11       66-87-141-171.po Tue Aug 30 21:08 - 21:12  (00:04)    
edgardo  pts/9        136.145.231.40   Tue Aug 30 17:34 - 20:19 (7+02:45)   
edgardo  pts/8        136.145.231.40   Tue Aug 30 17:11 - crash (20+00:11)  
edgardo  pts/10       66-87-141-185.po Fri Aug 26 20:37 - 20:38  (00:00)    
edgardo  pts/3        66-87-140-158.po Fri Aug 26 08:37 - 08:39  (00:01)    
edgardo  pts/3        66-87-141-171.po Thu Aug 25 21:35 - 21:37  (00:01)    
edgardo  pts/3        66-87-141-171.po Thu Aug 25 21:28 - 21:29  (00:01)    
edgardo  pts/10       edgardosmacbook. Thu Aug 25 14:25 - 14:26  (00:00)    
edgardo  pts/6        edgardosmacbook. Thu Aug 25 13:17 - crash (5+00:16)   
edgardo  pts/3        66-87-141-56.poo Wed Aug 24 13:42 - 13:46  (00:04)    
edgardo  pts/14       wgt624.rrp.campu Wed Aug 24 10:56 - 13:07  (02:11)    
edgardo  pts/14       wgt624.rrp.campu Wed Aug 24 10:54 - 10:54  (00:00)    
edgardo  pts/13       wgt624.rrp.campu Wed Aug 24 10:50 - 13:02  (02:11)    
edgardo  pts/13       66-87-141-133.po Wed Aug 24 02:00 - 02:01  (00:01)    
edgardo  pts/11       136.145.178.90   Wed Aug 24 01:41 - 16:54  (15:13)    
edgardo  pts/13       66-87-140-133.po Tue Aug 23 21:00 - 21:01  (00:00)    
edgardo  pts/3        66-87-140-216.po Mon Aug 22 10:17 - 10:17  (00:00)
Thank you all.

Best Regards
Zillur
 
Old 10-19-2016, 11:58 AM   #7
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Any idea about this matter?
 
Old 10-19-2016, 12:07 PM   #8
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,333
Blog Entries: 3

Rep: Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729
The "last" utility shows the successful logins. What you want would be somewhere in /var/log/secure if your server is on CentOS. Don't post it here though, that would give too much information. The entries to look for would probably be from "sshd" so the interesting lines would be in the fifth column and start with sshd[ It should be viewable like this, using "awk" to extract and "less" to page the results, if you don't have too many entries:

Code:
awk '$5 ~ /^sshd/' /var/log/secure | less
Edit: that should show the successful logins. Try just less /var/log/secure to see all. Maybe there will be something in there to with the failed logins. What is the exact error message?

Last edited by Turbocapitalist; 10-19-2016 at 12:09 PM.
 
Old 10-19-2016, 01:02 PM   #9
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Thank you very much for your comments. Does it sufficient:
Code:
[zillur@genomics Results_Sep26]$ awk '$5 ~ /^sshd/' /var/log/secure | less | grep 'edgardo'
Oct 18 15:15:10 genomics sshd[23550]: Accepted password for edgardo from 136.145.188.41 port 51120 ssh2
Oct 18 15:15:10 genomics sshd[23550]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 15:26:16 genomics sshd[24317]: Accepted password for edgardo from 136.145.188.41 port 51560 ssh2
Oct 18 15:26:16 genomics sshd[24317]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 15:26:16 genomics sshd[24317]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 15:28:13 genomics sshd[24622]: Accepted password for edgardo from 136.145.188.41 port 51656 ssh2
Oct 18 15:28:13 genomics sshd[24622]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 15:28:14 genomics sshd[24622]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 18:02:50 genomics sshd[30717]: Accepted password for edgardo from 136.145.188.41 port 55781 ssh2
Oct 18 18:02:50 genomics sshd[30717]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 18:02:52 genomics sshd[30717]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 18:19:13 genomics sshd[31655]: Accepted password for edgardo from 136.145.188.41 port 56312 ssh2
Oct 18 18:19:13 genomics sshd[31655]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 18:19:13 genomics sshd[31655]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 19:33:01 genomics sshd[1782]: Accepted password for edgardo from 136.145.188.41 port 57750 ssh2
Oct 18 19:33:01 genomics sshd[1782]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 19:33:01 genomics sshd[1782]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 22:07:53 genomics sshd[23550]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 22:13:04 genomics sshd[9296]: Accepted password for edgardo from 136.145.188.41 port 61770 ssh2
Oct 18 22:13:04 genomics sshd[9296]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 22:23:22 genomics sshd[9843]: Accepted password for edgardo from 136.145.188.41 port 62150 ssh2
Oct 18 22:23:22 genomics sshd[9843]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 22:24:46 genomics sshd[9992]: Accepted password for edgardo from 136.145.188.41 port 62189 ssh2
Oct 18 22:24:46 genomics sshd[9992]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 22:53:37 genomics sshd[9992]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 22:53:37 genomics sshd[9843]: pam_unix(sshd:session): session closed for user edgardo
Oct 19 00:33:23 genomics sshd[9296]: pam_unix(sshd:session): session closed for user edgardo
Code:
[zillur@genomics Results_Sep26]$ less /var/log/secure
[zillur@genomics Results_Sep26]$ less /var/log/secure | grep 'edgardo'
Oct 18 15:15:10 genomics sshd[23550]: Accepted password for edgardo from 136.145.188.41 port 51120 ssh2
Oct 18 15:15:10 genomics sshd[23550]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 15:26:16 genomics sshd[24317]: Accepted password for edgardo from 136.145.188.41 port 51560 ssh2
Oct 18 15:26:16 genomics sshd[24317]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 15:26:16 genomics sshd[24317]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 15:28:13 genomics sshd[24622]: Accepted password for edgardo from 136.145.188.41 port 51656 ssh2
Oct 18 15:28:13 genomics sshd[24622]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 15:28:14 genomics sshd[24622]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 18:02:50 genomics sshd[30717]: Accepted password for edgardo from 136.145.188.41 port 55781 ssh2
Oct 18 18:02:50 genomics sshd[30717]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 18:02:52 genomics sshd[30717]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 18:19:13 genomics sshd[31655]: Accepted password for edgardo from 136.145.188.41 port 56312 ssh2
Oct 18 18:19:13 genomics sshd[31655]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 18:19:13 genomics sshd[31655]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 19:33:01 genomics sshd[1782]: Accepted password for edgardo from 136.145.188.41 port 57750 ssh2
Oct 18 19:33:01 genomics sshd[1782]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 19:33:01 genomics sshd[1782]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 22:07:53 genomics sshd[23550]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 22:10:14 genomics gdm-password]: pam_unix(gdm-password:session): session opened for user edgardo by (unknown)(uid=0)
Oct 18 22:10:29 genomics gdm-password]: pam_unix(gdm-password:session): session closed for user edgardo
Oct 18 22:13:04 genomics sshd[9296]: Accepted password for edgardo from 136.145.188.41 port 61770 ssh2
Oct 18 22:13:04 genomics sshd[9296]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 22:23:22 genomics sshd[9843]: Accepted password for edgardo from 136.145.188.41 port 62150 ssh2
Oct 18 22:23:22 genomics sshd[9843]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 22:24:46 genomics sshd[9992]: Accepted password for edgardo from 136.145.188.41 port 62189 ssh2
Oct 18 22:24:46 genomics sshd[9992]: pam_unix(sshd:session): session opened for user edgardo by (uid=0)
Oct 18 22:53:37 genomics sshd[9992]: pam_unix(sshd:session): session closed for user edgardo
Oct 18 22:53:37 genomics sshd[9843]: pam_unix(sshd:session): session closed for user edgardo
Oct 19 00:33:23 genomics sshd[9296]: pam_unix(sshd:session): session closed for user edgardo
Best Regards
Zillur
 
Old 10-19-2016, 01:21 PM   #10
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,333
Blog Entries: 3

Rep: Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729
Ok. The ssh logins are ok, but as mentioned above, it may not be so good to post the raw logs here.

You have the right idea with "grep" and "less" The more efficient way is to pipe "grep" into "less" rather than vice versa. grep something /var/log/messages | less

The next place to look would be /var/log/messages but without the error message, there is not much to go on.

You mention an error message. What is it? (Don't post the raw logs though)
 
Old 10-19-2016, 01:35 PM   #11
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Thank you very much. The error message is attached:
Best regards
Zillur
Attached Thumbnails
Click image for larger version

Name:	14555660_10210361488218204_1078402525_n.jpg
Views:	36
Size:	13.1 KB
ID:	23321  
 
Old 10-19-2016, 01:39 PM   #12
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,333
Blog Entries: 3

Rep: Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729Reputation: 3729
Since you are physically at the machine with the error, maybe you can see if the console gives more information. You can try pressing ctrl-alt-f1 and that should give you a plain text console with a login prompt see if you can get in with that and if it gives an error. To get back to the graphical interface press ctrl-alt-f7 or ctrl-alt-f6 or one of the other function keys.
 
Old 10-19-2016, 06:08 PM   #13
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Thank you very much. Here is the log:
Code:
zillur@genomics Results_Sep26]$ grep 'edgardo' /var/log/messages
Oct 18 15:15:10 genomics systemd-logind: New session 1867 of user edgardo.
Oct 18 15:15:10 genomics systemd: Started Session 1867 of user edgardo.
Oct 18 15:15:10 genomics systemd: Starting Session 1867 of user edgardo.
Oct 18 15:26:16 genomics systemd-logind: New session 1870 of user edgardo.
Oct 18 15:26:16 genomics systemd: Started Session 1870 of user edgardo.
Oct 18 15:26:16 genomics systemd: Starting Session 1870 of user edgardo.
Oct 18 15:28:13 genomics systemd-logind: New session 1871 of user edgardo.
Oct 18 15:28:13 genomics systemd: Started Session 1871 of user edgardo.
Oct 18 15:28:13 genomics systemd: Starting Session 1871 of user edgardo.
Oct 18 18:02:50 genomics systemd-logind: New session 1891 of user edgardo.
Oct 18 18:02:50 genomics systemd: Started Session 1891 of user edgardo.
Oct 18 18:02:50 genomics systemd: Starting Session 1891 of user edgardo.
Oct 18 18:19:13 genomics systemd-logind: New session 1893 of user edgardo.
Oct 18 18:19:13 genomics systemd: Started Session 1893 of user edgardo.
Oct 18 18:19:13 genomics systemd: Starting Session 1893 of user edgardo.
Oct 18 19:33:01 genomics systemd-logind: New session 1903 of user edgardo.
Oct 18 19:33:01 genomics systemd: Started Session 1903 of user edgardo.
Oct 18 19:33:01 genomics systemd: Starting Session 1903 of user edgardo.
Oct 18 22:10:14 genomics systemd-logind: New session 1923 of user edgardo.
Oct 18 22:10:14 genomics systemd: Started Session 1923 of user edgardo.
Oct 18 22:10:14 genomics systemd: Starting Session 1923 of user edgardo.
Oct 18 22:13:04 genomics systemd-logind: New session 1924 of user edgardo.
Oct 18 22:13:04 genomics systemd: Started Session 1924 of user edgardo.
Oct 18 22:13:04 genomics systemd: Starting Session 1924 of user edgardo.
Oct 18 22:23:22 genomics systemd-logind: New session 1926 of user edgardo.
Oct 18 22:23:22 genomics systemd: Started Session 1926 of user edgardo.
Oct 18 22:23:22 genomics systemd: Starting Session 1926 of user edgardo.
Oct 18 22:24:46 genomics systemd-logind: New session 1927 of user edgardo.
Oct 18 22:24:46 genomics systemd: Started Session 1927 of user edgardo.
Oct 18 22:24:46 genomics systemd: Starting Session 1927 of user edgardo.
Oct 19 14:25:34 genomics systemd-logind: New session 2043 of user edgardo.
Oct 19 14:25:34 genomics systemd: Started Session 2043 of user edgardo.
Oct 19 14:25:34 genomics systemd: Starting Session 2043 of user edgardo.
Oct 19 14:26:18 genomics systemd-logind: New session 2044 of user edgardo.
Oct 19 14:26:18 genomics systemd: Started Session 2044 of user edgardo.
Oct 19 14:26:18 genomics systemd: Starting Session 2044 of user edgardo.
Oct 19 16:02:42 genomics systemd-logind: New session 2057 of user edgardo.
Oct 19 16:02:42 genomics systemd: Started Session 2057 of user edgardo.
Oct 19 16:02:42 genomics systemd: Starting Session 2057 of user edgardo.
Oct 19 16:25:16 genomics systemd-logind: New session 2060 of user edgardo.
Oct 19 16:25:16 genomics systemd: Started Session 2060 of user edgardo.
Oct 19 16:25:16 genomics systemd: Starting Session 2060 of user edgardo.
Oct 19 16:43:39 genomics systemd-logind: New session 2063 of user edgardo.
Oct 19 16:43:39 genomics systemd: Started Session 2063 of user edgardo.
Oct 19 16:43:39 genomics systemd: Starting Session 2063 of user edgardo.
Oct 19 16:55:28 genomics systemd-logind: New session 2065 of user edgardo.
Oct 19 16:55:28 genomics systemd: Started Session 2065 of user edgardo.
Oct 19 16:55:28 genomics systemd: Starting Session 2065 of user edgardo.
Oct 19 18:04:16 genomics systemd-logind: New session 2075 of user edgardo.
Oct 19 18:04:16 genomics systemd: Started Session 2075 of user edgardo.
Oct 19 18:04:16 genomics systemd: Starting Session 2075 of user edgardo.
Oct 19 18:04:40 genomics systemd-logind: New session 2076 of user edgardo.
Oct 19 18:04:40 genomics systemd: Started Session 2076 of user edgardo.
Oct 19 18:04:40 genomics systemd: Starting Session 2076 of user edgardo.
Oct 19 18:48:32 genomics systemd-logind: New session 2081 of user edgardo.
Oct 19 18:48:32 genomics systemd: Started Session 2081 of user edgardo.
Oct 19 18:48:32 genomics systemd: Starting Session 2081 of user edgardo.
ctrl-alt-f1 is not working (would you please to explain a little bit more).

Best Regards
Zillur
 
Old 10-19-2016, 06:23 PM   #14
pressman57
Member
 
Registered: Feb 2005
Location: Escondido Ca.
Distribution: Arch
Posts: 118

Rep: Reputation: 29
I'm not really versed in gnome but I think there's an failsafe option you can use in gdm. It looks like your hardware might not be playing nicely with gnome.
 
Old 10-19-2016, 06:32 PM   #15
zillur
Member
 
Registered: Apr 2015
Posts: 217

Original Poster
Rep: Reputation: Disabled
Thank you very much for your reply.
Quote:
but I think there's an failsafe option you can use in gdm
How can I do this?

Best regards
Zillur
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Fast login via ssh / Slow login via login manager with machine in AD-domain c01d Linux - Server 2 03-01-2016 01:52 AM
Different Post-login greeting messages:(1)when login locally;(2)connecting remotely Ashley_ Linux - Server 5 09-12-2014 06:45 PM
cant login locally keep getting login prompt over and over on redhat linux 5.4 sankarm72 Linux - Newbie 8 04-03-2012 12:06 AM
[SOLVED] Need user account which can connect by ssh but not login locally nor run shell taylorkh Linux - General 11 07-05-2011 07:49 AM
vsftpd login locally, but not remotely. get a login prompt though! ajkett Linux - Server 0 02-22-2007 04:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration