On Tue, 3 Jan 2006 22:46:50 +0100, Hannah Schroeter <[EMAIL PROTECTED]> wrote:
>Hello! > >On Tue, Jan 03, 2006 at 11:15:46AM -0800, patrick ~ wrote: >>> The first thing I did was add a "flag file" to my dad's home directory >>> and made sure he cant modify or delete it. > >>> # touch /home/dad/.xshutdown >>> # chown root:wheel /home/dad/.xshutdown >>> # chmod 400 /home/dad/.xshutdown > >>login: dad >>password: ******** >>dadsbox $ ls -l .xshutdown >>-r-------- 1 root wheel 0 Jan 3 11:11 .xshutdown >>dadsbox $ mv .xshutdown /tmp >>dadsbox $ echo ":-)" >>:-) > >>Assuming, of course, that /tmp and /home are >>one partition. > >If not, mv .xshutdown .xnoshutdown is enough too. > >But then, chflags schg .xshutdown may be enough. > Yep, I totally forgot to use chflags to make the file immutable. Thanks, jcr

