Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On 15 Mar 1999, Perry E. Metzger wrote:

> Bill Studenmund <skippy%macro.Stanford.EDU@localhost> writes:
> > (I personally find both sh & csh repulsive but found csh less repulsive as
> > a root shell, and also liked having toor around).
> 
> Well, you can change the shell for root with a 30 second edit...

So why is my 30 seconds worth less than yours? :-) With root being
/bin/csh, you could change the root shell with a 30 second edit, couldn't
you? :-)

As shells are items with strong personal preferences, I think we should
continue to provide both. We should also fix /etc/security so it doesn't
bitch about this too - something around line 93:

        < $MPBYUID uniq -d -f 1 | awk '{ print $2 }' > $TMP2
        if [ -s $TMP2 ] ; then
                printf "\n$MP has duplicate user id's.\n"
                while read uid; do
                        grep -w $uid $MPBYUID
                done < $TMP2 | column
        fi

I think we just need something to rip toor out of the generation of $TMP2,

like:

        < $MPBYUID grep -v toor |uniq -d -f 1 | awk '{ print $2 }' > $TMP2

That way you still catch duplicate root accounts.

With this change & restoring toor, sh lovers, csh lovers, and new users
all win. Both shells are available, and the default install doesn't
generate security warnings.

Take care,

Bill




Home | Main Index | Thread Index | Old Index