ho riprovato, ma il client ssh non richiama i files .bashrc o .bash_profile
il client chiama solo .ssh/rc
----- Original Message -----
From: "Giancarlo Martini" <[EMAIL PROTECTED]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Thursday, March 30, 2006 5:19 PM
Subject: Re: startup script
Salvatore Celsomino ha scritto:
con ssh mi funziona il file .ssh/rc e non il .bashrc
ho inserito nel file in questione un semplice menĂ¹ creato con dialog che
viene richiamato quando l'utente si collega over ssh.
mi manca settare l'opzione che faccia uscire l'utente completamente dalla
shell.
ho provato con exit, ma mi ritorna alla shell.
Avevo lo stesso problema, se non ricordo male, l'ho risolto facendo
partire lo script in ... o .bashrc o .bash_profile e sotto alla linea che
richiama lo script ho messo l'exit.
Se non risolvi scrivimi che vado a vedere.
Ciao
--
Giancarlo Martini
(Replace 'AAA' with @)
mailto:giancarlomartiniAAAkatamail.com
Registered Linux user number 367542
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 29/03/2006
--
Per REVOCARE l'iscrizione alla lista, inviare un email a
[EMAIL PROTECTED] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [EMAIL PROTECTED]
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]