LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-06-2007, 03:41 AM   #1
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Rep: Reputation: 31
Angry Cannot login to X Environment


My computer was running without any problem but this situation is not last long. Someone(ISP provide) has remote access to my pc using ssh and configure my xorg file and i cannot login to GUI mode anymore. I have search the file where the file located but unfortunately cannot find it.

My error message is as below:
Quote:
id:cannot find name for user ID:500
X Error of failed request:Bad value (Integer parameter out)
Major opcode of failed request:109(x_change:HOSTS)
Value in failed request: 0xd
Serial number of failed request: 7
Current serial number in output stream: 9
localuser:500 being added to access control list
id:cannot find name for user ID 500
Loading simple config module...
Creating backend...
Could not get passwd database information fir UID of current process: user "???" unknown or no memory to allocate password entry
Failed to start message bus:Memory allocate failure in messages bus
EOF in dbus launch reading address from bus daemon

My default terminal name is nicholas_tse@dhcppd0 and now change to I have no name!@localhost .

How to change it back to default ?

In the bar at the top is the same but in the terminal there is I have no name!

I hope someone can help me in this problem.

By the way, how to secure my fedora core 6. I have iptables and iptables6. I also have shorewall, squid and snort but i don't know how to configure.

Your help is greatlt appreciated by me and others.

Thanks for our help.
 
Old 04-06-2007, 07:10 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by Peter_APIIT
My computer was running without any problem but this situation is not last long. Someone(ISP provide) has remote access to my pc using ssh and configure my xorg file and i cannot login to GUI mode anymore. I have search the file where the file located but unfortunately cannot find it.

My error message is as below:



My default terminal name is nicholas_tse@dhcppd0 and now change to I have no name!@localhost .

How to change it back to default ?

In the bar at the top is the same but in the terminal there is I have no name!

I hope someone can help me in this problem.

By the way, how to secure my fedora core 6. I have iptables and iptables6. I also have shorewall, squid and snort but i don't know how to configure.

Your help is greatlt appreciated by me and others.

Thanks for our help.
Did that guy take a backup?
The Xorg config file is /etc/X11/xorg.conf.

If not, you can try to let X11 generate a new one:
Xorg -configure

After that you have a config file (do this as root).
Then test with Xorg -config=/location-to-the-new-config

If it works, copy it to /etc/X11/xorg.conf

This works if you use Xorg not XFree.
 
Old 04-07-2007, 10:26 AM   #3
Ryptyde
Member
 
Registered: Jun 2004
Location: Tragic City,Michigan,USA
Distribution: Fedora 23 Fedora 22
Posts: 244

Rep: Reputation: 39
If someone has compromised your system and has control I would think that a reinstall is in order.
If the person is someone you know and trust you may be able to straighten out the mess,if not reinstall.
 
Old 04-07-2007, 09:03 PM   #4
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I have GUI mode but when the screen display the login username. The username i entered is not recognized by the system. The password still the same. Why the X config is related to username and passwd file ? I don't understand. Please for give my stupidness. Thanks for your help. My problem is not about grpahics or display. My problem is the username cannot recognized.

I try to create another user and the result still the same.


I have log in to runlevel 3 and when i login i get this message:

audit(1175944436.492:266):avc:denied {dac_overide} for pid:3296 comm:"pam_console_app" capability=1 scontext=system=system_u:system_ram_console_t:s0_s0:c0.c1023 tcontext=system_u:system_ram_console_t:s0.s0:c0.c1023 tclass-capability

audit(1175944436.492:267):avc:denied {dac_read_search} for pid=3296 comm="pam_console_app" capability=2 scpntext=system_u:system_ram_console_t:s0.s0:c0.c1023 tcontext=system_t:system_r: pam_console_t:s0.s0:c1023 tclass-capability

I have checked the /etc/passwd and /etc/login.defs but seems nothing went wrong.

Below is my /etc/passwd file:

nicholas_tse:x:500:500:unknown:/home/nicholas_tse:/bin/bash

Your help is greatly appreciated by me and others.

Last edited by Peter_APIIT; 04-07-2007 at 10:55 PM.
 
Old 04-08-2007, 03:59 AM   #5
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by Peter_APIIT
I have GUI mode but when the screen display the login username. The username i entered is not recognized by the system. The password still the same. Why the X config is related to username and passwd file ? I don't understand. Please for give my stupidness. Thanks for your help. My problem is not about grpahics or display. My problem is the username cannot recognized.

I try to create another user and the result still the same.


I have log in to runlevel 3 and when i login i get this message:

audit(1175944436.492:266):avc:denied {dac_overide} for pid:3296 comm:"pam_console_app" capability=1 scontext=system=system_u:system_ram_console_t:s0_s0:c0.c1023 tcontext=system_u:system_ram_console_t:s0.s0:c0.c1023 tclass-capability

audit(1175944436.492:267):avc:denied {dac_read_search} for pid=3296 comm="pam_console_app" capability=2 scpntext=system_u:system_ram_console_t:s0.s0:c0.c1023 tcontext=system_t:system_r: pam_console_t:s0.s0:c1023 tclass-capability

I have checked the /etc/passwd and /etc/login.defs but seems nothing went wrong.

Below is my /etc/passwd file:

nicholas_tse:x:500:500:unknown:/home/nicholas_tse:/bin/bash

Your help is greatly appreciated by me and others.
Are the permissions of /etc/passwd and /etc/group as follows?
-rw-r--r-- root root

Maybe you should be searching in the direction of SE Linux.
 
Old 04-09-2007, 12:20 AM   #6
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I will have a check. By the way, i can login in run level 3 but the name of user name have changed to I have no name. My default name is nicholas_tse - "nicholas_tse@dhcppo". I would like to change back to default.

I cannot login in GUI mode.


Thanks for your opinion.
 
Old 04-10-2007, 07:29 AM   #7
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Any other suggestions and recommendations. Please help me. I was suffered without fedora core 6. My life is fated.
 
Old 04-16-2007, 12:26 AM   #8
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I think i should beg for any help.

Thanks for your help.
 
Old 04-21-2007, 07:34 AM   #9
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Help me please.
 
Old 04-21-2007, 07:36 AM   #10
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Cannot login

Help me please.
 
Old 04-22-2007, 03:43 AM   #11
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by Peter_APIIT
Help me please.

As you see there is no one who can help you here.
Or they don't want to help you.

I think you should try asking on IRC. (freenode network)
 
Old 04-22-2007, 06:24 AM   #12
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Rep: Reputation: 249Reputation: 249Reputation: 249
I'm sorry to hear about your problems. It sounds like your box was compromised. You should do a clean install and make sure that you have the firewall up with no open ports.
 
Old 04-23-2007, 12:48 AM   #13
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Thanks for your suggestion.
 
Old 04-23-2007, 01:12 AM   #14
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by stormtracknole
I'm sorry to hear about your problems. It sounds like your box was compromised. You should do a clean install and make sure that you have the firewall up with no open ports.
How do you know his system has been compromised?
I worked alot with systems that had absolutely NO firewall.
Without any problem.

There is probably something else going on.

I strongly suggest you ask on IRC for someone to help you.
 
Old 04-23-2007, 07:37 AM   #15
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,271

Rep: Reputation: 249Reputation: 249Reputation: 249
Quote:
Originally Posted by deadeyes
How do you know his system has been compromised?
I worked alot with systems that had absolutely NO firewall.
Without any problem.

There is probably something else going on.

I strongly suggest you ask on IRC for someone to help you.
Whatever works for you then.
 
  


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
Key repeat on graphical login screen is too fast, Its almost impossible to login. FC5 spacecoyote Fedora 8 05-13-2010 08:53 AM
Direct graphical login to smb-environment? holunde Linux - Server 2 03-27-2007 12:16 AM
Login standalone box within AD environment and yum update zillah Linux - Networking 3 01-28-2007 04:04 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
Login Environment UltraSoul Solaris / OpenSolaris 3 05-10-2005 03:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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