Re^2: ulimit
Maarten Litmaath
maart at cs.vu.nl
Tue Apr 25 11:30:32 AEST 1989
jfh at rpp386.Dallas.TX.US (John F. Haugh II) writes:
\> % ls -l /etc/passwd*
\> -rw-r--r-- 1 root 0 Apr 3 10:44 /etc/passwd
\> -rw-r--r-- 1 root 439 Apr 3 10:40 /etc/passwd.old
\> % su
\> password: xxxxxxx
\How'd you do that? In the absence of a password file entry for root
\will su _really_ let you in? [ The answer in SVr[12?] is NO ]
Think 1 step further:
% ls -l /etc/passwd
-rw-r--r-- 1 root 97 Apr 3 23:59 /etc/passwd
This passwd file probably contains an incomplete line, and we all know how
getpwnam() and friends (used to) treat such lines, don't we?
Remember the "Comments in /etc/passwd" discussion?
--
"If it isn't aesthetically pleasing, |Maarten Litmaath @ VU Amsterdam:
it's probably wrong." (jim at bilpin). |maart at cs.vu.nl, mcvax!botter!maart
More information about the Comp.bugs.sys5
mailing list