Thread: Unix question

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Thumbs down Unix question


    Pleas I want answer this question or reference or link website can find answer to
    this question?



    1. We consider that we are running on a UNIX system which uses ACL as a mechanism for file protection. Where is the protection information of the file stored?

    2. In UNIX, each device is represented by a device, give an example of a file representing the hard disk storage device. Give the full listing of this file using the "ls -l" command. What are the protection flags (rwx) for this file and WHY are they like this? What would happen if the protection flags were equal to rw-rw-rw ?

    3. What is the definition of MAC Times for UNIX systems? provide an example about the difference between the M flag and C flag.

    4. A system administrator suspects that there is an attack on his machine; he needs to make a backup of the files to check when they have been modified. For this purpose he uses the "cp r" instruction to copy the root directory. What is the problem with this and what other instruction should the administrator use in order to avoid this problem?

    ------------------------------------------------

    1. What is a "two-factor" authentication?
    2. Provide a full example of two-factor authentication where one factor is a password.
    3. Could we use the mobile phone as part of this two-factor authentication?
    4. Is "google" authentication a two-factor authentication system? What is the main problem with this device?


    -----------------------------------------------
    I am find answer when search on internet but i can't find all "Full Answer "

    Pleas help me............. I need this information
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,295
    Rep Power
    9400
    You should have been paying attention in class.

    1. Inode.
    2. /dev/sda is an example. Also, Windows represents devices using devices too.
    3. Google it.
    4. He'll end up copying the copies; copying devices; copying symlinks; all sorts of problems.

    1. Google it.
    2. Use your imagination, or look for pretty much anywhere that explains the system.
    3. Maybe.
    4. Maybe... but Google is a "device"?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Thumbs up thanks


    Thank you for answer

    But I don't understand what mean
    2. /dev/sda is an example. Also, Windows represents devices using devices too.
    And

    4. He'll end up copying the copies; copying devices; copying symlinks; all sorts of problems.
    Do you know website explanation This point

    Thank you again
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,481
    Rep Power
    1752
    /dev is the common beginning of file device paths that refer to various devices (hardware) attached to the machine. /dev/sda is a common naming standard for the primary disk on a PC.

    Try man cp or just Google 'man cp' to get an idea of what the command does and how it functions.
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc

IMN logo majestic logo threadwatch logo seochat tools logo