Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-08-2007, 04:01 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Unhappy reboot "you don't exist" problem on 2.4.21 hard-hat linux

hello to everyone!
My problem is this: I have a 2.4.21 hard-hat linux running on a board, with most of the applications coming from busybox due to the little capacity of the flash memory on the board. I needed to replace a non-busybox-init program and files related because I didn't want to have zombie processes (afaik, in busybox this is still experimental). The problem is: I just cant' succeed in rebooting the system, neither with busybox shutdown, nor with "normal" shutdown application (shutdown -r now).
In the second case, I get the "you don't exist, go away" message on the shell. I searched the internet and looked if that was a /etc/passwd file problem, but in my /etc/passwd file the line


seems to be correct (isn't it?). I log on as root, of course.
Something is strange when I issue "whoami" command, the system answers with

whoami:unknown uid 0

I don't know if this is related or not... anyway, I'm just thinking about anything, because I really need to solve this problem!!!

I'm wondering if you could help me!!! please!!

a desperate
Old 01-08-2007, 04:09 AM   #2
Registered: Sep 2006
Location: Silesia
Distribution: Debian GNU/Linux 4.0, ArchLinux, OpenBSD
Posts: 190
Blog Entries: 2

Rep: Reputation: 31
Maybe you have wrong minimal uid set in /etc/login.defs and it causes your problem. This is just my guess.
Old 01-08-2007, 04:36 AM   #3
Registered: Dec 2006
Location: Tailem Bend. South Australia
Distribution: Mandriva 2006
Posts: 124

Rep: Reputation: 15
You don't exist go away? Who forgot their password? Or somehow your/etc/passwd file has been corrupted, there should be some information on sys users and passwords in that file. At least one would think so.
Hard hat Linux, is not a system I am familiar with, but at the sys level all Linux is pretty much same old, same old. Is the system currently running, and wont shutdown/reboot? How about brute force? Hit the reset, or(shudder) switch of for 10\15 secs and do a hard reboot. How ever, as your system tells you,you don't exist, logging in may pose a problem, on boot up.
My friend, I am sorry, you need more help than I have knowlege of, it appears, you may have rid yourself of more than you thought.

Log in as root of course NOT! Root is admin only. Did you not create a normal user account at install time? I hope you do not log in as root in everday use. To log in as root for everyday use, is to open your system to attack. No worry about virii, but a port scan and root kit attack can intrude, as root user has complete, unfettered access to the entire system. What am I saying. You should know this anyway.

Sorry I can't be more help. Must be some one here knows Hard hat.

Best wishes.

Old 01-08-2007, 05:07 AM   #4
LQ Newbie
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
a mistake in /etc/passwd line

Thank you for your replys!
First of all I just noticed there was a little mistake in /etc/passwd!! it was:
and it should be
Now at least whoami answers correctly... but yet, for my system I don't exist (this sounds a little bit annoying... ^_^)

avallach -> I'm going to investigate on /etc/login.defs as you suggested... thanks!

shorty943 -> of course I can hw reboot the system, but that's not what I need to do... actually in an application I wrote, someone outside the board configures it and soon after this is done my board has to reboot all by itself ^__^.
Concerning root logging problem, don't worry my friend, I'm aware that this should not be done but since I'm sort-of building up the system, this is the only way to go... anyway, it is not on a network or anything-- thank you anyway for the advice!

I wonder if i'll find a solution for my reboot dilemma...
Old 01-08-2007, 05:53 AM   #5
LQ Newbie
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0

no news... maybe i do not really exist!


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
Disabling hardware detection of "reboot" and "power" buttons Sabinou Linux - General 3 08-21-2006 08:03 PM
A decent audio player with a "music library" feature. does it exist for linux? martinr Linux - Software 12 04-17-2006 04:10 PM
Problem in installing java in "Red Hat Enterprise Linux ES release 4" raajesh_ak Linux - Newbie 2 12-27-2005 04:55 AM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 04:28 PM
postgreSQL problem: Relation "pg_user" does not exist Noerr Linux - Software 10 06-03-2002 11:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:25 AM.

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