LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 11-03-2010, 10:50 PM   #1
cre84j
Member
 
Registered: Oct 2010
Posts: 40

Rep: Reputation: 3
(process:280): GLib-WARNING **:getpwuid_r():failed due to unknown userid(0)


At boot this message came up and my system would not boot and also when i tried to boot through the grub in another safe mode option i could not log in and got the message wrong password or password not valid something like that.

Have i been hacked?
I opened up a txt file yesterday from my windows particion and it had a exe file embeded so that could be the source am wondering what to do about it.

What should i do?

thanks for your help i am a bit of a newbie at this just a few weeks now and need your help.
 
Old 11-04-2010, 02:30 AM   #2
cre84j
Member
 
Registered: Oct 2010
Posts: 40

Original Poster
Rep: Reputation: 3
just to add
as i was just now thinking about the situation i remembered that yesterday when i opened the .txt file from my windows partition

I did this because i am writing a script or working on a script that opens up any file and luanches it into it's apropriate application for the purpose of editing the file. I used a windows file because i want to be able to edit any file that can be worked with on this system.

Quote:
the system is ubuntu easy peasy 10.04
and it's on an Eee pc
what happened when i opened up this file is that it imediately started to print out 2 words per line it was going really fast like a constant stream of just a really short line whice was creating a very long page onscreen in an extremely short period of time. It was not that easy to see or remember what the words were but looked to be

Quote:
something password
or
PHP Code:
get password
I stopped the file and moved it to trash.

th
 
Old 11-04-2010, 02:53 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,267

Rep: Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568Reputation: 3568
GLib-WARNING ** : These Glib / Gtk warnings are "normal".
Probably a lot of other applications will do the same.

A warning is information, not an error.

When you also get an error : Please provide some information about
the used application(s) :
I do not see any information in your posts, that can provide a solution.
..
 
Old 11-04-2010, 06:58 AM   #4
cre84j
Member
 
Registered: Oct 2010
Posts: 40

Original Poster
Rep: Reputation: 3
OK
You seem to be saying that there is not a problem which is reassuring

This time on boot everything went as normal and my password was accepted nothing irregular at all.

So there is only a problem if the message is about an error: this message was telling me that me that there has been a request for my password which had been rejected. Is that right?

I use the terminal a lot
and gedit to make aliases in .bash_aliases with the sudo gedit .bash_aliases but it is with an alias that puts the command through as i am setting up this system only just new to Linux.

I use scite and nano and mutt just installed haven't set up mutt yet. Also quick just intalled all through synaptic. Just started with the bash terminal but using it more and more all the time.

I don't know what to write apart from that. the only abnormal thing was what went wrong when opening up the txt file I think in nano as i am working on a launcher file so i can speed things up as it is all about speed and flow and the less i use the mouse the better so am aiming to set things up on this system to get things working properly and how i like it so i can duplicate it on a better machine.

I also have been using gconf-editor quite a bit to set up keybindings through metacity. Well i don't know what to say about the apps i use apart from that. I aim to use a lot of apps for all sorts of multimedia and scripting ruby on rails and so forth as i learn to code more and more. so far it is all about setting up and not so much about work flow in practice but just in setting the system up for the last 2 or 3 weeks.

thanks for any feedback you can give as I really am a newbie at all this at present but inthusiastic to learn and try and do anything that will help for a better experience and to contribute if and whenever I can.
 
Old 11-04-2010, 07:50 PM   #5
cre84j
Member
 
Registered: Oct 2010
Posts: 40

Original Poster
Rep: Reputation: 3
Well i can't enter that this has been solved yet as my questions have not really been answered. There has been nothing told me here in this thread that informs me about this particular warning and the sort of things that trigger it which is what i need to know before i can add to this post any details that might help me get this information or research it in more detail.

I am left with the questions like: did my flatmate try and get my password when i was not around and my computer was on. Or did that txt file trigger it that i had mentioned in the first post at the top of this thread.

knudfl
Quote:
A warning is information, not an error.
knudfl
why was i given this information if nothing happened?

can anybody tell me a little more?
 
Old 11-05-2010, 04:38 AM   #6
cre84j
Member
 
Registered: Oct 2010
Posts: 40

Original Poster
Rep: Reputation: 3
knudfl
I don't know what you mean by normal

You said:
Quote:
GLib-WARNING ** : These Glib / Gtk warnings are "normal".
Probably a lot of other applications will do the same.
I don't get what you mean by normal and what you said about these applications because i was not operating an application when this happened but was booting my netbook. Do you mean that grub is an application?

Is it some sort of a bug that Grub is inducing with systems?
I need a bit more of a detailed explanation is all. That reason you gave is a bit vague. Though the message in that warning is very specific but still am not sure why it came up. If there is some sort of list i can get a hold of that would induce this message would be good. Or a source of information about these warnings. I know it is not an error message and never thought it was. What i need is information about this warning or a source of information on these warnings or that particular one. Firstly i need to know it is not a bug. Does anyone know if it is a bug or not?

thanks very much to anyone that can help.
 
Old 11-05-2010, 05:47 AM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,409
Blog Entries: 55

Rep: Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582
Quote:
Originally Posted by cre84j View Post
Have i been hacked?
(..)
Quote:
Originally Posted by cre84j View Post
did my flatmate try and get my password when i was not around and my computer was on.
While a healthy dose of paranoia can be a Good Thing a warning like this does not automagically imply your machine was breached. So unless you're already suspicious of your flatmate because of earlier situations I would suggest you investigate and exhaust the purely technical side of things first.


Quote:
Originally Posted by cre84j View Post
At boot this message came up and my system would not boot and also when i tried to boot through the grub in another safe mode option i could not log in and got the message wrong password or password not valid something like that.
Only exact error messages are useful. Jot it down, take a screen shot or use a (or your phone?) cam. In short: be verbose and be specific. Also putting it like that it seems you system does boot further at times and this has not happened before you started "editing" your system from a different OS?


Quote:
Originally Posted by cre84j View Post
I opened up a txt file yesterday
What text file? Be verbose and be specific as "that txt file" can point to anything from "/etc/passwd" to "/home/cre84j/script.sh". The first one may cause trouble if lines are edited or removed or saved with the wrong line-endings and the latter should not harm the system in a way it won't boot unless you execute it with elevated privileges.

If you search the 'net for this "GLib-WARNING **:getpwuid_r():failed due to unknown userid(0)" warning you will find several bugs related to Ubuntu. [531027|572279|532984]. It does not seem to be hardware-related, for some people the system boots and for other it doesn't, it seems to be tied to the 10.x releases (some having no problem with the previous 9.x release), upgrading from 10.04 to 10.10 does not seem to work for some, some EeePC users report that rebooting helps to make it boot again and some unconfirmed reports suggest that 'upgrade grub2' (or checking "UUID=" lines in GRUB configuration) or 'sudo fsck -a' or 'sudo apt-get remove plymouth' helps. I'd say these bug reports hold enough leads for you to try. Else you could try booting another Linux distribution (Live CD?) and see if that works for you.

Last edited by unSpawn; 11-05-2010 at 05:49 AM. Reason: //More *is* more
 
1 members found this post helpful.
Old 11-05-2010, 06:42 PM   #8
cre84j
Member
 
Registered: Oct 2010
Posts: 40

Original Poster
Rep: Reputation: 3
thank you unSpawn

unSpawn
that was just what i needed and have done some searches
thanks for the information I really apreciate it.
 
  


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
Kubuntu 10.04 (64-bit) fails to boot: getpwuid_r(): failed due to unknown user id (0) javaunixsolaris Ubuntu 5 09-27-2011 06:14 PM
ubuntu 10.04 Glib-Warning **:getpwuid_r(): failed due to unknow user id (0) wertum Ubuntu 1 08-09-2010 05:41 PM
[SOLVED] Apache 2 Warning: Unknown: failed to open stream: Permission denied madsovenielsen Linux - Server 2 06-14-2010 11:04 AM
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 migabriel.84 Linux - Server 1 11-25-2009 03:36 PM
getpwuid_r(): failed nixel Linux - General 0 05-07-2004 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration