A word about set-uid
- setuid, a puzzle
- effective, user and saved set-user id, more puzzle
- find /bin /usr/bin /sbin /usr/sbin -perm /6000 -exec ls -l {} \;
- Try sudo first. It keeps a log of the mistakes you make.
- Always insist that your sub-admins use sudo
Find your system and create some data!
Either connect to your virtual system or connect to your Pi. Here is my Pi chart.
atyas-pi IN A 152.18.69.50 kazantsev-pi IN A 152.18.69.51 andrae-pi IN CNAME uncacsci-pi-i el-khouri-pi IN CNAME uncacsci-pi-a hayes-pi IN CNAME uncacsci-pi-e henderson-pi IN CNAME uncacsci-pi-c matney-pi IN CNAME uncacsci-pi-w mccallen-pi IN CNAME uncacsci-pi-n mcdaniel-pi IN CNAME uncacsci-pi-s nowak-pi IN CNAME uncacsci-pi-k sarkisov-pi IN CNAME uncacsci-pi-j schroeder-pi IN CNAME uncacsci-pi-y staley-pi IN CNAME uncacsci-pi-v
Create a new partition and format it for the ext4 file system. Be careful about this. If you mess up you will not be able to boot your system!
Now make a copy of the class web page directory, /home/brock/csci372, into your new file system.
At this point, you can stop. You are ready for an upcoming homework assignment.
Terms
- Character and block devices
- Public and private keys and passphrases
- Certificates
Privacy and encryption
Take a look at the Gnu Privacy Guard (GnuPG) Mini Howto (English).
Warning: Expect an upcoming homework like Homework 5 in the Spring 2013 CSCI 331.
My big FAT Geek Wading
It’s useful to have a little information about forensics of file system. It’s most useful if the information is about a widely used file system, like NTFS; but we will little for the good ole FAT system which, after all, is used in every digital camera and almost all USB sticks.
Here are a few useful references about he FAT file system.
- Microsoft’s speciation
- The FAT File System, a very nice description written by Igor Kholodov for a A+ certification course at Bristol (Massachusetts) Community College
- FAT and the forensics Wiki
- Wikipeida
On your Pi, look for the file /boot/cmdline.txt. We are going to find this the hard way in class!
You will need to take notes because my notes are nothing more than a script file of my latest attempt. (I hope I didn’t delete anything important when I got rid of all my bad commands.)
Warning: Expect an upcoming homework like Homework 7 in the Spring 2013 CSCI 331.