Screen instead of a getty
Tsabros Leonidas
ltsampros at upnet.gr
Thu Jun 17 15:53:29 EEST 2004
Giorgos Keramidas wrote:
> On 2004-06-17 13:55, Tsabros Leonidas <ltsampros at upnet.gr> wrote:
>> Loipon anakalipsa ena apo ta xrisimotera programmata poy iparxoyn to
>> screen. Basika einai toso boliko poy varieme kathe fora poy kanw login na
>> prepei na grapsw screen [Return]. Tespa psaxnw edw kai kana 3oro an
>> iparxei tropos na anigei to screen aftomata me to poy tha kanw login.
>> Mipos borei na voithisei kaneis?
>
> Δε χρειάζεται να αντικαταστήσεις τη getty. Απλά το login shell σου!
einai hdh egatestimenh h agetty....
>
> Βάλε για login shell σου το `screen -a -D -RR'. Αν στο password file
> δεν μπορεί να μπει κάποιο login shell με command line options (δεν
> θυμάμαι γιατί νομίζω πως έτσι είναι), φτιάξε ένα shell script, π.χ. το
> /usr/local/bin/myshell και προσθεσέ το στο /etc/shells:
Afto einai mia lisi poy skeftika ke ego alla iparxoyn dyo problimata
to eksis ena:
o allos tha bori na kanei detach ena session kai meta apo 5
meres na kanei ena login kai na dei ta apotelesmata toy wget
--recursive www.theINTERNET.org...tespa afto gia ena personal workstation
na pw kai thn alitheia einai mia xara fovero kai gamato...giati emeina
malakas xthes pu nomizontas oti exo klinontas to ssh connection
exo kopsei kai to screen kai ta pedia toy kai vrika to proi ena klono moy
na kanei idling olo to to vrady sto irc.
>
> #!/bin/sh
> [ -x /usr/local/bin/screen ] && exec screen -a -D -RR
> exec /sbin/nologin
Tespa psaxnw sto internet mipos iparxei kapoia kaliteri lisi ektos apo
afto...tespa kali idea einai kai to bash_profile alla varieme tora kai na
grafw kai na psaxnw......exo odontiatro se ligo kai h skepsi toy troxoy den
me afinei na kano to otidipote..
> Έτοιμος.
More information about the Linux-greek-users
mailing list