ls -A

John F. Haugh II jfh at rpp386.cactus.org
Tue Oct 10 03:36:35 AEST 1989


In article <6470 at ficc.uu.net> peter at ficc.uu.net (Peter da Silva) writes:
>In article <602 at buster.irby.com> rli at buster.irby.com (Buster Irby) writes:
>>Sorry Peter, but you just flunked your Unix Wizards Test!

...

>Yes, I know that. But in practical terms '.??* *' is good enough, and a
>lot easier to type. I can't recall ever seeing a file that would match
>'.?'.

The most common name for a command to give a user quick and easy
password free access to root is '.s'.  I've seen this same scheme,
a '.', followed by a single character, used to name all manner of
files people aren't supposed to see.

% ls -l /usr/jfh/src/c/.s.c
-rw-r--r--   1 jfh      root         142 Oct  3 13:43 /usr/jfh/src/c/.s.c

Compiled this becomes '.s'.

% ls -la /mnt
total 36
drwxrwxrwx   2 root     root          64 Oct  3 13:38 .
drwxr-xr-x  13 root     root         512 Oct  9 08:48 ..
-rwsrwxrwx   1 root     root       13719 Oct  3 13:44 .s
-rw-r--r--   1 jfh      root          59 Oct  3 13:38 .s.c

Hmmm.  You flunked -really- bad this time.
-- 
John F. Haugh II                        +-Things you didn't want to know:------
VoiceNet: (512) 832-8832   Data: -8835  | The real meaning of MACH is ...
InterNet: jfh at rpp386.cactus.org         |    ... Messages Are Crufty Hacks.
UUCPNet:  {texbell|bigtex}!rpp386!jfh   +--------------------------------------



More information about the Comp.unix.wizards mailing list