-
problems with automatic login
Hi!
As maintainer of a small distibution called mulimidix i discovered a problem in the shell enviroment. I used automatic login the same way knoppix does, using /bin/bash -login in /etc/inittab. First it seemed that everything was all right but i wondered about a strange behaviour of the more-command: after one page the output stopps. At first i thought this was due to a bad compilation and so i rebuilded the whole distri. But the problem was the same. Comparing the auto-login enviroment with a normal-login enviroment i discovered,that in auto-enviroment the $HOME-variable values / , but /etc/passwd says it should be /root. searching the web i discovered some alternate ways to auto-login after bootup, but all these methods required patching programms or install some non-standard login-progs. Is there a way to emulate the "normal" shell behaviour without patching programms or install special login-progs?
i have no clue to solve this problem in an elegant way, so i ask you the knoppix community. To solve the problem would make knoppix even better than now.
i hope you have some hints about my problem.
Thanks,
Dieter Springer
-
Senior Member
registered user
Re: problems with automatic login
--I know it's not a solution to the login problem (I encountered the same thing running a passwordless login) but have you tried using 'less' instead of more?
--Also, here's a snip from my inittab that seems to get around the problem:
8:5:respawn:/usr/bin/open -f -c 8 -w -- /bin/login -f dave
--In runlevel 5, it auto-logins user "dave" on console F8 without asking for password. However, if you logout it will respawn with "-bash: no job control in this shell" message.
--Hope this helps.

Originally Posted by
Dieter Springer
Hi!
As maintainer of a small distibution called mulimidix i discovered a problem in the shell enviroment. I used automatic login the same way knoppix does, using /bin/bash -login in /etc/inittab. First it seemed that everything was all right but i wondered about a strange behaviour of the more-command: after one page the output stopps. At first i thought this was due to a bad compilation and so i rebuilded the whole distri. But the problem was the same. Comparing the auto-login enviroment with a normal-login enviroment i discovered,that in auto-enviroment the $HOME-variable values / , but /etc/passwd says it should be /root. searching the web i discovered some alternate ways to auto-login after bootup, but all these methods required patching programms or install some non-standard login-progs. Is there a way to emulate the "normal" shell behaviour without patching programms or install special login-progs?
i have no clue to solve this problem in an elegant way, so i ask you the knoppix community. To solve the problem would make knoppix even better than now.
i hope you have some hints about my problem.
Thanks,
Dieter Springer
-
Senior Member
registered user
Re: problems with automatic login
--I found this snippet in /etc/login.defs as well:
Code:
# If defined, either full pathname of a file containing device names or
# a ":" delimited list of device names. No password is required to log in
# as a non-root user on these devices.
#
#NO_PASSWORD_CONSOLE tty1:tty2:tty3:tty4:tty5:tty6

Originally Posted by
Dave_Bechtel
--I know it's not a solution to the login problem (I encountered the same thing running a passwordless login) but have you tried using 'less' instead of more?
--Also, here's a snip from my inittab that seems to get around the problem:
8:5:respawn:/usr/bin/open -f -c 8 -w -- /bin/login -f dave
--In runlevel 5, it auto-logins user "dave" on console F8 without asking for password. However, if you logout it will respawn with "-bash: no job control in this shell" message.
--Hope this helps.

Originally Posted by
Dieter Springer
Hi!
As maintainer of a small distibution called mulimidix i discovered a problem in the shell enviroment. I used automatic login the same way knoppix does, using /bin/bash -login in /etc/inittab. First it seemed that everything was all right but i wondered about a strange behaviour of the more-command: after one page the output stopps. At first i thought this was due to a bad compilation and so i rebuilded the whole distri. But the problem was the same. Comparing the auto-login enviroment with a normal-login enviroment i discovered,that in auto-enviroment the $HOME-variable values / , but /etc/passwd says it should be /root. searching the web i discovered some alternate ways to auto-login after bootup, but all these methods required patching programms or install some non-standard login-progs. Is there a way to emulate the "normal" shell behaviour without patching programms or install special login-progs?
i have no clue to solve this problem in an elegant way, so i ask you the knoppix community. To solve the problem would make knoppix even better than now.
i hope you have some hints about my problem.
Thanks,
Dieter Springer
Similar Threads
-
By JockVSJock in forum General Support
Replies: 6
Last Post: 02-01-2005, 10:58 PM
-
By Jameson in forum General Support
Replies: 2
Last Post: 01-19-2005, 05:27 AM
-
By draggin in forum General Support
Replies: 5
Last Post: 11-08-2004, 03:37 PM
-
By knoppix-noob in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-21-2004, 03:45 AM
-
By bendman in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 03-08-2004, 03:10 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW
$13.89

LEVOIT Cordless Vacuum Cleaner, Stick Vac with Tangle-Resistant Design, Up to...
$162.04

Cordless Air Duster & Vacuum Cleaner for Keyboard & PC Cleaning - 110000RPM Powe
$53.99

2-in-1 Compressed Air Duster & Vacuum, Brushless Motor, 320000RPM
$37.99

US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits
$13.89

Compressed Air Duster Rechargeable Computer Vacuum Cleaner for PC Keyboard Toys
$16.99

Mini Cordless Electric Keyboard Car Vacuum Cleaner Cleaning Duster Rechargeable
$9.97

2 in 1 Compressed Air Duster Air Blower & Vacuum Cleaner Cordless Duster Blower
$16.99

Cordless Handheld Vacuum Cleaner Compatible with DeWalt 20V Battery
$107.67

V3 Robot Vacuum and Mop Combo,Self-Charging,5000pa Strong Suction,WiFi/Alexa NIB
$82.00