hws/hw04.tex
changeset 425 4a0bff167159
parent 413 0f824ca252e4
child 470 6764a249118a
equal deleted inserted replaced
424:b59fba19738f 425:4a0bff167159
    38 help with buffer overflow attacks?
    38 help with buffer overflow attacks?
    39 
    39 
    40 \item What does it mean that the program \texttt{passwd} has the
    40 \item What does it mean that the program \texttt{passwd} has the
    41   \texttt{setuid} bit set? Why is this necessary?
    41   \texttt{setuid} bit set? Why is this necessary?
    42 
    42 
    43 \item Which permissions does the program \texttt{login}
    43 \item Under Unix (for example BSD Unix, MacOSX) the \texttt{login} 
    44 normally have and why is this needed?
    44   programm has the setuid bit set. Why is this needed? In Linux
       
    45   \texttt{login} does \emph{not} have the setuid bit set. What are
       
    46   the consequences of this choice?
    45 
    47 
    46 \item The variable \texttt{PATH} is a shell variable in UNIX which
    48 \item The variable \texttt{PATH} is a shell variable in UNIX which
    47   lists all directories that should be automatically searched for a
    49   lists all directories that should be automatically searched for a
    48   program. For example if \texttt{PATH} contains the directory
    50   program. For example if \texttt{PATH} contains the directory
    49   \texttt{/usr/bin} and the program \texttt{ls} is stored there, then
    51   \texttt{/usr/bin} and the program \texttt{ls} is stored there, then