LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-05-2011, 12:07 PM   #1
stevedownes
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
username disappeared from cursor + gdm3 hosed


Trying to get samba working on my server (& not yet succeeded) I had the following faults occur, sd far as I am aware, simultaneaously.

1) my cursor changed from "steve@server" to "I have no name!@server" It still works, puts me in my home dir etc. Other users are OK

2) gdm3 will not start but keeps trying & won't let me open a terminal with, say ctrl-alt-F1 until I shut down.

I have checked /etc/passwd against the backup & replaced .bashrc from backup & can see no problems of change.

Ideas or pointers anyone please?

Steve
 
Old 08-05-2011, 05:23 PM   #2
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
What flavour of linux are you using, eg: Debian Squeeze? Was your server connected to the internet? Have you checked your logs eg: firewall and rkhunter logs?
 
Old 08-06-2011, 05:00 AM   #3
stevedownes
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0
1) deb squeeze
2) connected to internet via incoming blocking router
3) checked firewall log & seems OK. no RK hunter as had not heard of it. have now & will look into it later.
4) the problem seemed to occur when I first tried my new samba configuration (which didn't work) from the only windows machine on the system. I have since shut down samba till I have this sorted.

I can start X as root from startx but when I try as any normal user I get "SELinux disabled on system not enabled in x server." Enabling or disabling makes no difference & I don't know if this error message was there before.

The "I have no name!" name applies only to me, not to root other users & the system still knows who I am & allows me into my files which look OK. Just gdm3 & x problems discovered so far.

Thanks for your help so far.

Steve
 
Old 08-13-2011, 01:07 AM   #4
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
To be honest, just guessing. Have you setup /etc/hosts on both Windows and linux boxes? Maybe easiest thing in long run is to rm -r * or format drives and replace with the backup you have that worked. I haven't encountered the 'ihavenoname' problem, but my first instinct is to suspect hacking, especially with the selinux problem. But I am a bit paranoid now about security and it may mean nothing.
rkhunter and chkrootkit are essential security programs and are used for detecting rootkits, which are truly evil.

http://www.linux-tutorial.info/modul...=122&view=next may help
 
Old 08-15-2011, 04:00 PM   #5
stevedownes
LQ Newbie
 
Registered: Mar 2011
Posts: 3

Original Poster
Rep: Reputation: 0
Time moved on & I needed it working so I re-installed the OS & it is now working OK. I take your point about root kits & am looking into it. I didn't get anywhere with the username or SELinux & didn't really research the GDM3 issues.

I was worried that having re-installed the OS (on a separate disk) the corruption/attack the problem could be on the homes disk but it appears to be working OK.

Many thanks for your help, sorry not to follow it through.

Steve
 
Old 08-15-2011, 06:54 PM   #6
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Linux Mint - Tara
Posts: 497

Rep: Reputation: 35
Not a problem, glad it is working.
 
  


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
LXer: GDM3Setup: GUI To Change GDM3 Wallpaper, Theme, Logo And More LXer Syndicated Linux News 0 07-11-2011 10:21 PM
Bypass password question in gdm3 KlaasJan Linux - Security 2 05-16-2011 11:49 AM
[SOLVED] How to get gdm3 to respect a new .desktop file? bgoodr Linux - Desktop 4 01-01-2011 09:49 PM
Caps/Num lock GDM/GDM3 on Squeeze goumba Linux - Software 3 08-29-2010 10:00 AM
mouse cursor disappeared tayal Linux - General 5 03-31-2004 01:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:56 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