1/19/2020 Tutorial 4
https://linuxzoo.net/page/sec_tut4.html 1/3
Refresh in: 0:06. Time left: Holding
Minimize User: Paul John (tbc) rahul11mittal1994@gmail.com Account expires in 10 days
Log off Account Links Machine State: RUN Boot progress: complete
control connect stats useful
Home IP: 182.69.138.250 VM IP: 10.0.2.65 Direct: telnet or ssh to linuxzoo.net SSH: linuxzoo.net VM Web: http://host-2-65.linuxzoo.net/ JScript Telnet: Network / Console Java Telnet: Auto JavaScript SSH: SSH JavaScript VNC: VNC URI telnet: linuxzoo.net Connect: Username: root, Password:
secure
prev section up prev page next page
Tutorial 4 Welcome to linuxzoo
Essential Linux Unix Security
Tutorial 4
Permissions
Permissions.
To reset all the check buttons from a previous attempt click here
Question 1: Update demo account If you have just completed all the previous tutorials you need not use this setup button. However, if you have skipped part or all of the previous tutorial questions, or when you ran your virtual machine the demo account was missing, then the button below will create the demo account and create the files which the previous tutorials would have had you create.
By pressing the button below a new account is created called "demo", password is also "demo". Log in using this account and you cannot do any damage. If you mess the account up and want to start again, just press the button again.
Once created, you can log into this account using telnet or ssh, logging into the hostname linuxzoo.net. Remember the username is demo and the password is demo. And remember, you cannot break anything using this account! The account begins with an empty directory, so dont be shocked that "ls" shows nothing...
Update account Tests: Complete Update an account called demo, password demo PASSED
Question 2: Octal Code What is the octal value for the permissions on /home/demo/bigfile?
https://linuxzoo.net/vm/expiry.cgi
http://host-2-65.linuxzoo.net/
https://linuxzoo.net/vm/telnet.cgi
https://linuxzoo.net/vm/javaAps.cgi?mode=jtelnet
https://linuxzoo.net/vm/sshy.cgi
https://linuxzoo.net/jslib/novnc/noVNC-1.0.0-testing.2/vnc.html?host=linuxzoo.net&port=443&2&autoconnect=true&path=/ws/azqdlGm6oprZuJFjvho5KVlyt8hSkXn6/VNC_DIRECT
telnet://linuxzoo.net
https://linuxzoo.net/page/sec_umask.html
https://linuxzoo.net/page/sec.html
https://linuxzoo.net/page/sec_umask.html
https://linuxzoo.net/page/manipulate.html
https://linuxzoo.net/
https://linuxzoo.net/page/intro.html
https://linuxzoo.net/page/sec.html
1/19/2020 Tutorial 4
https://linuxzoo.net/page/sec_tut4.html 2/3
Enter the octal value:
Check octal Tests: Complete Octal value of /home/demo/bigfile PASSED
Question 3: Other Permissions What is the "other" permissions on /home/demo/bigfile?
Only Read
Check Other Tests: Complete Octal value of /home/demo/bigfile PASSED
Question 4: Remove read and execute Take away from the scripts directory read and execute (search) permission for yourself ONLY.
Check Tests: Complete scripts has no self read/execute FAILED
Question 5: Impact of no rx What did removing read and execute do to you ability to look into scripts?
Could not ls the directory
Check Answer Tests: Complete Effect of no read or execute PASSED
Question 6: Add read Add in read access for yourself on the scripts directory.
Check Tests: Complete scripts has no self read/execute FAILED
Question 7: Impact of no x What did restoring read access do to you ability to look into scripts?
Could ls, but not access contents
Check Answer Tests: Complete Effect of no read PASSED
Question 8: Add execute
644
1/19/2020 Tutorial 4
https://linuxzoo.net/page/sec_tut4.html 3/3
Restore the directory scripts to read,write,execute for the owner, and read and execute for both others and group.
Check Tests: Complete restore scripts PASSED
Question 9: umask What umask setting would be required to give, when creating a directory, read/write/execute for yourself, read and execute for group, but only execute for others?
Octal value:
Check Answer Tests: Complete Octal value needed FAILED
Centos 7 intro:
Paths | BasicShell | Search
Linux tutorials: intro1 intro2 wildcard permission pipe vi essential admin net SELinux1 SELinux2 fwall DNS diag Apache1 Apache2 log Mail
Caine 10.0: Essentials | Basic | Search | Acquisition | SysIntro | grep | MBR | GPT | FAT | NTFS | FRMeta | FRTools | Browser | Mock Exam |
CPD: Cygwin | Paths | Files and head/tail | Find and regex | Sort | Log Analysis Kali: 1a | 1b | 1c | 2 | 3 | 4a | 4b | 5 | 6 | 7a | 8a | 8b | 9 | 10 | Useful: Quiz | Forums | Privacy Policy | Terms and Conditions Site Links: XMLZoo ActiveSQL ProgZoo SQLZoo
Linuxzoo created by Gordon Russell. @ Copyright 2004-2018 Edinburgh Napier University
777
https://linuxzoo.net/page/centos_basic1.html
https://linuxzoo.net/page/centos_basic2.html
https://linuxzoo.net/page/centos_basic3.html
https://linuxzoo.net/page/structure_tut1.html
https://linuxzoo.net/page/structure_tut2.html
https://linuxzoo.net/page/wildcards_tut3.html
https://linuxzoo.net/page/sec_tut4.html
https://linuxzoo.net/page/manipulate_tut5.html
https://linuxzoo.net/page/vi_tut.html
https://linuxzoo.net/page/tut_eunix.html
https://linuxzoo.net/page/tut_eadmin.html
https://linuxzoo.net/page/tut_net.html
https://linuxzoo.net/page/tut_selinux1.html
https://linuxzoo.net/page/tut_selinux2.html
https://linuxzoo.net/page/tut_fire.html
https://linuxzoo.net/page/tut_named.html
https://linuxzoo.net/page/tut_diag.html
https://linuxzoo.net/page/tut_eapache.html
https://linuxzoo.net/page/tut_authapache.html
https://linuxzoo.net/page/tut_log.html
https://linuxzoo.net/page/tut_sendmail.html
https://linuxzoo.net/page/caine_wk1.html
https://linuxzoo.net/page/caine_wk2.html
https://linuxzoo.net/page/caine_wk3.html
https://linuxzoo.net/page/lab_caine10.0/Acquisition.html
https://linuxzoo.net/page/caine_wk4.html
https://linuxzoo.net/page/lab_caine10.0/GREP.html
https://linuxzoo.net/page/caine_wk5.html
https://linuxzoo.net/page/lab_caine10.0/GPT.html
https://linuxzoo.net/page/lab_caine10.0/FAT.html
https://linuxzoo.net/page/lab_caine10.0/NTFS.html
https://linuxzoo.net/page/lab_caine10.0/File_Recovery_metadata.html
https://linuxzoo.net/page/lab_caine10.0/File_Recovery_tools.html
https://linuxzoo.net/page/lab_caine10.0/wbforensics.html
https://linuxzoo.net/page/lab_caine10.0/csn11125-MockExam.html
https://linuxzoo.net/page/cpd1.html
https://linuxzoo.net/page/cpd2.html
https://linuxzoo.net/page/cpd3.html
https://linuxzoo.net/page/cpd4.html
https://linuxzoo.net/page/cpd5.html
https://linuxzoo.net/page/cpd6.html
https://linuxzoo.net/page/kali_wk1a.html
https://linuxzoo.net/page/kali_wk1b.html
https://linuxzoo.net/page/kali_wk1c.html
https://linuxzoo.net/page/kali_wk2a.html
https://linuxzoo.net/page/kali_wk3a.html
https://linuxzoo.net/page/kali_wk4a.html
https://linuxzoo.net/page/kali_wk4b.html
https://linuxzoo.net/page/kali_wk5a.html
https://linuxzoo.net/page/kali_wk6a.html
https://linuxzoo.net/page/kali_wk7a.html
https://linuxzoo.net/page/kali_wk8a.html
https://linuxzoo.net/page/kali_wk8b.html
https://linuxzoo.net/page/kali_wk9.html
https://linuxzoo.net/page/kali_wk10.html
https://linuxzoo.net/mc/quiz.cgi
https://linuxzoo.net/forums/
https://linuxzoo.net/page/privacy.html
https://linuxzoo.net/page/terms.html
http://xmlzoo.net/
http://db.grussell.org/
http://progzoo.net/
http://sqlzoo.net/
Applied Sciences
Architecture and Design
Biology
Business & Finance
Chemistry
Computer Science
Geography
Geology
Education
Engineering
English
Environmental science
Spanish
Government
History
Human Resource Management
Information Systems
Law
Literature
Mathematics
Nursing
Physics
Political Science
Psychology
Reading
Science
Social Science
Home
Blog
Archive
Contact
google+twitterfacebook
Copyright © 2019 HomeworkMarket.com