From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,8e67c6f3a35c5b2a,start X-Google-Attributes: gid111c93,public From: Rolf Hemmerling Subject: Parameters for bash in /etc/passwd Date: 1998/02/01 Message-ID: <34D42F04.AC152AD5@geocities.com>#1/1 X-Deja-AN: 321036368 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Organization: Hemmerling Mime-Version: 1.0 Reply-To: hemmerling@geocities.com Newsgroups: comp.os.linux.alpha With my very-old Linux 1.2X, with /etc/passwd, I was able to say node3:x:511:100:node3:/home/node3:/bin/bash --posix --------------------------------------------^^^^ With my new LINUX 2.0.32, *any* parameter behind bash is rejected if I try to login by the message "cannot execute/bin/bash --posix": No such file or directory Especially, even a single space behind /bin/bash typed in by using EMACS caused the same error message. The administration tool of S.U.S.E Linux even did not allow me to enter a space behind the path of the login shell (but there must be a space between the executable file and the first parameter!) It does not help to put this into an executable batch file /bin/bash_posix because this is rejected if I try to login by the message "Cannot execute /bin/bash_posix: Exec format error" The attributes are o.k., if I log in with the bash shell without parameters, I may execute both bash --posix or bash_posix. My system: S.U.S.E. Linux 5.1 of Nov 1997 (Linux 2.0.32), shadow password system shadow.rpm is version 961025-6 from the S.U.S.E. CD set. Don�t tell me about .profile or so, I need the command line parameter --posix for use with non-VT100 terminals (else ls uses VT100 escape sequences for the directory display) !!!! Neither the file /etc/DIR_COLORS has no effect on that, nor the bash environment variable COLORTERM !!!! Please answer to the newsgroups and to me *personally* by E-Mail, too, in german or english language ! Any help ? Sincerely Rolf -- / / / Alone on the data highway... / / like on an allee in Hannover-Herrenhausen / / / Rolf Hemmerling, Germany / / http://home.pages.de/~rolf.hemmerling/