From a1c3f33f393b671b846a40af6538a1887b8ed13b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 30 Sep 2013 05:48:09 +0200 Subject: separate username reading and logging in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/gates-of-tartaros.texinfo | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'info') diff --git a/info/gates-of-tartaros.texinfo b/info/gates-of-tartaros.texinfo index f7773e1..f6b3e9b 100644 --- a/info/gates-of-tartaros.texinfo +++ b/info/gates-of-tartaros.texinfo @@ -151,16 +151,18 @@ the file @file{@value{ETC}/@value{GOT}rc} if it exists. @file{@value{ETC}/@value{GOT}rc} can change the behaviour of Gates of Tartaros or source other files that does so. -Gates of Tartaros as two functions is calls directly after +Gates of Tartaros as three functions is calls directly after each other: @code{_display} for printing everying you see, -and then @code{_login} to ask for username and start a +@code{_read} to accept username input and stores it in the +variable @code{user}, and then @code{_login} to start a login. Password checking is handled by external programs -@command{@value{SSH}} and @command{login} that are used doing -the actual user login. You either redefine these functions, -or change the variables @code{display_function} or -@code{login_function} to contain the name of the functions -you want to be called instead. The latter option can be -used to extend rather then replace the predefined functions. +@command{@value{SSH}} and @command{login} that are used +doing the actual user login. You either redefine these +functions, or change the variables @code{display_function}, +@code{read_function} or @code{login_function} to contain the +name of the functions you want to be called instead. The +latter option can be used to extend rather then replace the +predefined functions. The file @file{@value{ETC}/os-release} will have been sources before the extensions and @code{NAME} and @code{ANSI_COLOR} -- cgit v1.2.3-70-g09d2