linux the hard way

adhocLinux:-> Yum

Do the following  settings in your redhat 7.5

i)  your system must not be able install a software telnet using yum
ii) your yum url have that telnet package it must not be install


adhocLinuxu:->User Management 

  •  create a user name adhoc1 with password  "Redhat1"
  •  this user must not be accessible via ssh from any where
  •  you can only login this user locally in between 6PM to 10PM 
  •  During password authentication if you fail to type the correct password it must wait for 20 seconds for next password
  • create users named user1 user2 user3 user4 using for loop all users must be able to login graphically without password 
  • create a user name ashutoshh with password  "helloadhoc" and this user must not be able to login from anywhere (not even locally)
  • create a user named onetime with no password and whenever you login graphically it only give you gedit text editor (no other programs are allowed to user by this user)
  • set password policy to user root so that root password length always be minimum 8 chars not less that.  (test it by changing root password)

adhocLinux:-> Permission 

  •  create a user jack  without any password  then login to that user using su command and create one file jack.txt and directory  hellojack
  •  create a user harry without any password  then login to that user using su command and create one file harry.txt and directory  helloharry
  •  copy  jack.txt to harry's home directory and harry.txt to jack's home directory (you are not allowed to use root user for this task)
  • set permission to date command so that only  jack user can run this command  (make sure root user also can not run this command)




Adhocdocker1:

i)   create your own docker image
ii)  it must use 80 port
iii)  host  a php  based sample web page
iv)   container must be running  on top of aws cloud


 



 

Comments

  1. if i run this command :- yes "anything" >a.txt &
    till when terminal would be updating file "a.txt"?
    and also can we terminate this command by terminating terminal ?

    ReplyDelete
    Replies
    1. its an infinite situation where file have innumerable "yes"
      you do remember the time when ujjwal sir explained yes command with a file having 1.3gb space for making a tar file and a zip file
      and you should try the terminal closing part you'll get the answer
      please try it for at least 3-5 seconds

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. how to install mpg321. I tried yum install mpg321 but it shows no package available. Also tried with {rpm -ivh link_address} command but it shows failed dependencies

    ReplyDelete
    Replies
    1. pip3 install mpg321
      or
      pip3 install https://sourceforge.net/projects/mpg321/files/mpg321/0.3.1/mpg321-0.3.1.tar.gz

      Delete
    2. both these commands failed

      Delete
    3. There must be some other issue. In my case, they worked...

      Delete
  4. Task1--Completed--(https://github.com/Abhinaay/Adhoc-Redhat-Tasks/blob/master/Task1)

    ReplyDelete
  5. Problem1:https://github.com/Smriti5/Linux/blob/master/System%20must%20not%20be%20able%20to%20install%20software

    ReplyDelete
  6. task(2)
    https://github.com/harshbhardwaj5/docker/blob/master/create_docker_image.txt

    ReplyDelete
  7. problem 1 done https://github.com/parth025sharma/None-coder

    ReplyDelete
  8. Problem 1 and 2 Done:

    https://github.com/hvijaycse/Summer_training_adhoc/tree/master/Noncode

    ReplyDelete
  9. adhocLinuxYUM1:https://github.com/darkdraiden14/NON_Coder/blob/master/adhocLinuxYUM1.sh

    ReplyDelete
  10. problem1: done

    https://github.com/archit-55/linux-tasks

    ReplyDelete
  11. adhocLinuxYUM1 :---->https://github.com/sk4201/noncoder/blob/master/linux-1.txt

    ReplyDelete
  12. https://github.com/gsiddharthgoyal67/non-coder/blob/master/linuxp1.sh

    ReplyDelete
  13. adhocLinuxYUM1 :
    https://github.com/Laveenajethani/Linux-base-question/tree-save/mast20baseer/linux%%20question%20answer.txt

    ReplyDelete

Post a Comment

Have a wonderful coding life.
Stay cool and do more code !!!

Popular posts from this blog

python3 challanges

AI the Super Future

Reboot your brain :2.0 Linux Basic tasks