Week 3 notes

Concepts

Daemons - Unix can run many processes at once. Daemons are typically programs that run and do things without asking for that session. Usually daemons can be identified in the process table by the trailing d in their name like sshd, ftpd, syslogd, etc...

SUID - In addition to the read, write and execute permissions, you can tell a program to run the person who owns the file.

Commands

More on permisions

To change a file to SUID or other special permisions you can use a special bitmask with chmod. For instance chmod 4555 filename will allow ANYONE to run that file as the other user.

Talking to your terminal

Some simple applications Printing What is this machine doing? Working with text, winding up to write a script Does your brain hurt yet?