Jiju Thomas Mathew forced the electrons to say:
> login: jijutm
> Password:
> Last login: Thu Feb 10 08:10:28 from digitel
> [: too many arguments
> [jijutm@ws1] ~$

The error is in the stock /etc/profile supplied by redhat. For reasons
unknown to me, at times, the lines in /etc/profile,

if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
        umask 002
else
        umask 022
fi

choke.

The solution is of course, to remove them altogether, or, to put
quotes, like this:

if [ "`id -gn`" = "`id -un`" -a "`id -u`" -gt 14 ]; then

I think some version of id (or maybe for some login ids) the -n switch
does not work with id, and it prints nothing - not even an error
message.

Binand

--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.

Reply via email to