Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
serielle Console ohne Login - wie? [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Mon Nov 29, 2010 10:10 pm    Post subject: serielle Console ohne Login - wie? [solved] Reply with quote

Ich möchte auf einem Rechner eine serielle Console einrichten, soweit kein Problem über /etc/inittab.

Wie stell ichs aber an wenn ich auf der seriellen Konsole keinen Login haben möchte, sondern direkt den Prompt eines bestimmten Users (oder auch root). So wie bei einer Live-CD.


Last edited by slick on Tue Nov 30, 2010 10:29 am; edited 1 time in total
Back to top
View user's profile Send private message
slick
Bodhisattva
Bodhisattva


Joined: 20 Apr 2003
Posts: 3495

PostPosted: Tue Nov 30, 2010 10:29 am    Post subject: Reply with quote

Habe es hinbekommen:

Auszug /etc/init.d/inittab:
Code:
s0:12345:respawn:/sbin/agetty -n -l /sbin/mylogin 57600 ttyS0 vt100


/sbin/mylogin
Code:
#!/bin/bash
echo ""
uname -a
echo "*** press <ENTER> to open the shell"
echo
read line
cd /root
/bin/bash -login
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum