On Tue, 19 Apr 2005 12:46:18 +0530 Ankush Grover <ankush174@xxxxxxxxx> wrote > On 4/19/05, Steffen Kluge <kluge@xxxxxxxxxxxxxx> wrote: > > On Tue, 2005-04-19 at 10:55 +0530, Ankush Grover wrote: > > > I want that whoever tries to use either su - for any user and anybody > > > tring to use root password has to enter that password twice. > > > > What do you expect this to gain you? I mean, nobody enters a correct > > password accidentally, at least not if it is of non-trivial length and > > contains a good mix of characters. And if it is trivial, one can > > probably recall what one just typed. > > Hey, > > Question is not that whether somebody mistakenly enters the correct > password or not,the question is whether the thing I am thinking is > possible or not.I may not use it but I am interested in knowing > whether this is possible or not. The source to su is available. Linux has a compiler and the tools to overwrite the system version of su with a custom version (assuming you have such privileges) or use other methods to accomplish this sort of thing. But, since I assume you really don't want to just add repeats of the same hoop, I can suggest you look at sudo and /etc/sudoers instead. -- Joel Rees <rees@xxxxxxxxxxx> digitcom, inc. 株式会社デジコム Kobe, Japan +81-78-672-8800 ** <http://www.ddcom.co.jp> **