LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-21-2013, 12:45 AM   #1
jhorton197038
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
XUBUNTU 12.04 -- SHOULD I UPDATE MY KERNEL AND HOW? I can't login as administrator.


I can't login as administrator.
Please? I need help with an anomolous problem logging in to xubuntu 12.04 as administrator probably as a result of a kernel change remotely done by a hacker.

Recently, at a wifi location, I attempted to login to xubuntu 12.04 with administrator username and passphrase... it failed, returned to login screen... only able to login as guest. The terminal screen which flashes for a second (too quick to collect all comments) reads, amongst other things: "... checking battery state" "mountall: Plymouth command fail" and "mountall: disconnected from Plymouth" (what is Plymouth?) on a continual basis.
However, on this first occasion, there were other comment lines during login attempt. I remember the top line read a comment referring to a "... kernel change." Based on this, I believe this to have resulted from a hacker (malicious intrusion) who modified my kernel during a previous session... then I booted on this occasion.

Furthermore... subsequently, I tried to 1. login as guest 2. access administrator Home directory in from the shell. After <ctrl><alt><f2> and login as administrator (which worked) then changed to Home directory, the ls command listed two unrecognized files: 1. "Access-Your-Private-Data.desktop" and 2. README.txt. Nothing familiar was listed -- only these.

From less, the content within the first file read:
[Desktop Entry]
-Name=Access Your Private Data
-Generic = /usr/bin/ecryptfs-mount-private
Terminal = true
Type = Application
Categories = System; Security;
x-Volume-Gettext-Domain=ecryptfs-utils.....

the content within README.txt: "THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA -- From the graphical desktop, click on: "Access Your Private Data" or... From the command line, run: ecryptfs-mount-private"

I ran these instructions. After a prompt to enter username and passphrase... received this error message: "Error: Unwrapping passphrase and inserting into the user session keyring failed [-5].

I wondered, for one, if these two files were anomolous or if it is characteristic of ubuntu linux (and derivatives -- xubuntu) for data protection relative to logging in as guest. It really seems though that in conjunct with malfunction preventing login as administrator, that my Home directory has been locked or something.

Can anyone inform what is happening here and how to fix it?
Would it help to reinstall the kernel? Never encountered such as this before.
 
Old 03-21-2013, 07:22 PM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Making guesses here.
I doubt you are hacked. It is more likely some upgrade went awry. Log in as root from shell and do the usual apt-get update followed by apt-upgrade.
 
1 members found this post helpful.
Old 03-22-2013, 10:10 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,016
Blog Entries: 1

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Moderator Response

Moved: This thread is more suitable in <Ubuntu> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-23-2013, 06:29 AM   #4
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,227

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by jhorton197038 View Post
I can't login as administrator. ...
When you say "login as administrator" do you mean that you enabled the root account???
You need to understand that Ubuntu uses sudo for tasks that require administrator privileges. Enabling the root account in Ubuntu is not recommended: https://help.ubuntu.com/community/RootSudo
I have seen a great many people here on LQ and on ubuntuforums.org who manage to get themselves into all kinds of trouble by enabling the root account on Ubuntu.

Also, you should never login as root (or administrator). Logging in and running the system as root is asking for trouble.
I have been using Ubuntu since the inaugural version 4.10. I have never found any need to enable the root account on Ubuntu.

If you have been logging in and running the system as root, then the most likely explanation here is that you managed to change the permissions on some important system files because you were using the root account.
It can be very difficult to find exactly where the problem lies if this is the cause of your trouble.

Are you able to login using your normal user account? Are you able to perform administrator tasks using sudo??
If so, then continue to use the system as recommended and do not enable then root account again.

Last edited by tommcd; 03-23-2013 at 06:35 AM. Reason: to add more info and to correct typos
 
Old 03-23-2013, 11:46 AM   #5
jhorton197038
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
No... I do not mean as "root." I mean logging with one's main username which has administrator privileges, not as root. I do not... HAVE NEVER run as root. Instead, I am only able to login as "guest." I am familiar with the sudo command in shell.

"Are you able to login using your normal user account? Are you able to perform administrator tasks using sudo??"
Answer... no. That is my problem. Not user error stemming from running as root.

Thanx for the input.

Last edited by jhorton197038; 03-23-2013 at 11:50 AM.
 
Old 03-24-2013, 03:04 AM   #6
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,227

Rep: Reputation: 286Reputation: 286Reputation: 286
It is good that you are not running the system as root.
Quote:
Originally Posted by jhorton197038 View Post
I can't login as administrator. ...
After <ctrl><alt><f2> and login as administrator (which worked) ...
Since you can login using the terminal from ctrl + alt + F2, try renaming your ~/.Xauthority file to ~/.Xauthority.bak. That is:
Code:
cd ~
mv .Xauthority .Xauthority.bak
See the first answer here:
http://askubuntu.com/questions/14613...login-as-guest
When you rename the .Xauthority file, a new and pristine .Xauthority file will be created when you reboot the system. You can reboot from the terminal at
ctrl + alt + F2 simply by running sudo reboot.
Hopefully, this should fix things.

Also, see this about changing the permissions of ~/.Xauthority as an alternative solution:
http://www.codewhirl.com/2012/03/ubu...cise-pangolin/
I would just rename the file as described above rather than messing with the permissions. This should fix things if this is
the cause of your trouble.

If you have problems using sudo after you manage to login successfully, see this:
http://www.psychocats.net/ubuntu/fixsudo

Last edited by tommcd; 03-24-2013 at 03:14 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] notify the administrator for every remote login attempt kabazzi Linux - General 11 02-09-2013 09:15 AM
Easiest way to login as another user on domain using an Administrator account? CrewXp Linux - Newbie 3 05-09-2011 02:56 PM
[SOLVED] kongoni gnu/linux login as administrator help applecheeks Linux - Newbie 1 04-11-2011 07:05 PM
secure administrator login only - https/ssl - help plz Joshwaaa Linux - Server 3 07-21-2010 05:02 AM
root login lost after kernel update yesterday ramaswamyps Suse/Novell 4 03-10-2006 12:41 PM


All times are GMT -5. The time now is 05:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration