[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-security] strange file
- Subject: [cobalt-security] strange file
- From: Theodore Jones <theoj@xxxxxxxxxxxxx>
- Date: Sun, 22 Oct 2000 23:27:13 -0700
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
Hello All,
I have a user who has telnet/shell access to my machine. On a routine
tour of things I found this in his user directory, in a folder called
"bin" in his users directory. It was named "dir" and inside it was
this:
if [ $1 ]
then
if [ -d $1 -a ! -n "$2" ]
then
( echo -e "*** $1 ***\n"; /bin/ls -aFlh $* ) | /usr/bin/less
-EimX
else
( echo -e "*** `pwd` ***\n"; /bin/ls -adFlh $* ) | /usr/bin/less
-EimX
fi
else
( echo -e "*** `pwd` ***\n"; /bin/ls -adFlh .* * ) |
/usr/bin/less -EimX
fi
Can anyone explain to me what this is for and what this guy is intending
with this? Does it represent a security concern?
Thanks much,
~ Theo