Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > How to remove dependency of input giving "root" after kernel bootu

Forgot Password?
 Other Distributions   Post questions about distributions that do not have their own forums in here

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 10-12-2009   #1 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 10
How to remove dependency of input giving "root" after kernel bootu

Hi,
I am working on embedded platform.
I have TI's OMAP processor board and using angstrom 2.6.28-omap1 Linux distribution.
At the end of booting Linux distro, I need to type "root" from the Teraterm ( serial connection ) to enter into root mode on the board. Then it goes to root like
"root (at the rate) Board:" is displayed. Now I can load my application and execute the program.

But I would like to remove this dependency of giving input from the user.
Could you please tell me how should I remove this dependency ?

Someone suggested to look at /etc/inittab and change
id:5:initdefault: to id:1:initdefault:

But it is not worked out.

For reference I copied the file /etc/inittab attached
Your help is appreciated.

TIA
Attached Files
File Type: txt inittab.txt (1.0 KB, 2 views)
emperor410 is offline  


Reply With Quote
Old 10-12-2009   #2 (permalink)
Linux User
 
hazel's Avatar
 
Join Date: May 2004
Location: Harrow, UK
Posts: 493
Try using sulogin in your rc.local file.
__________________
"I'm just a little old lady; don't try to dazzle me with jargon!"
hazel is offline   Reply With Quote
Old 10-13-2009   #3 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 10
Hazel,
The distribution does not have the rc.local file.
Could you pleae suggest me what to do?

I am new to linux.

Thanks
emperor410 is offline   Reply With Quote
Old 10-13-2009   #4 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,199
Should be located at /etc/rc.d/rc.local

Last file listed here:
The Slackware Linux Project: Configuration Help
reed9 is offline   Reply With Quote
Old 10-13-2009   #5 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 10
No.
It is not having /etc/rc.d/
But it has /etc/rc5.d/ and no rc.local file in this also.

in /etc/inittab I have set id:5:initdefault:

Pls help
emperor410 is offline   Reply With Quote
Old 10-13-2009   #6 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,199
Whoops. Sorry about that. For some reason I thought I saw something about slackware in your post. Might of been thinking of a different post.

I've never heard of Ångström linux before. I would check with their discussion board or IRC channel.
Discussions - Beagle Board | Google Groups
HowToJoinBeagleChatGroup - beagleboard - A cookbook on getting a Windows IM/Chat Client running and connected with the Beagleboard chat group. - Project Hosting on Google Code

But according to their manual, it is a debian-like distro and Debian doesn't have an rc.local by default. You can make one.
Destiney's Reality :: Blog Entry :: Debian rc.local howto
reed9 is offline   Reply With Quote
Old 10-14-2009   #7 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 10
I used mingetty command instaed of getty at

Old Line :

S:2345:respawn:/sbin/getty 115200 ttyS2

New Line:

S:2345:respawn:/sbin/mingetty --noclear --autologin root ttyS2

Thank you all for your great support...
emperor410 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:44 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2