- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
How can cancel the login and password when uclinux start up!Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The first program kernel starts is /sbin/init. If you put your shell there with that name, you'll bypass the rc, inittab stuff.
Or, you can let agetty starts up your shell directly, not the dummy login, by modifying the agetty.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you add "single" to the kernel command line, init should exec /bin/sh without executing the
startup script (/etc/rc). This will allow you to bypass the getty/login without changing the filesystem. When init starts in single mode you should see something like this from the console: Booting to single user mode. Unfortunately, the current microtronix linux port does not support command lines passed by a boot loader. Also, u-boot does not pass "bootargs" to the kernel yet either. So you'll have to rebuild the kernel. I'll update u-boot and submit a kernel patch to support boot loader command lines -- once I find some time 8-( Regards, --Scott- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by wentao@Oct 18 2004, 07:50 AM the first program kernel starts is /sbin/init. if you put your shell there with that name, you'll bypass the rc, inittab stuff.
or, you can let agetty starts up your shell directly, not the dummy login, by modifying the agetty. --- Quote End --- I can not find the source code of the agetty.exe.Tell me how to correct it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check this directory,
altera\kits\nios2\examples\software\linux\apps Regards, wentao
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page