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
adhocLinux:-> Permission
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
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
if i run this command :- yes "anything" >a.txt &
ReplyDeletetill when terminal would be updating file "a.txt"?
and also can we terminate this command by terminating terminal ?
its an infinite situation where file have innumerable "yes"
Deleteyou 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
This comment has been removed by the author.
ReplyDeletehow 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
ReplyDeletepip3 install mpg321
Deleteor
pip3 install https://sourceforge.net/projects/mpg321/files/mpg321/0.3.1/mpg321-0.3.1.tar.gz
both these commands failed
DeleteThere must be some other issue. In my case, they worked...
DeleteTask1--Completed--(https://github.com/Abhinaay/Adhoc-Redhat-Tasks/blob/master/Task1)
ReplyDeleteProblem1:https://github.com/Smriti5/Linux/blob/master/System%20must%20not%20be%20able%20to%20install%20software
ReplyDeletetask(2)
ReplyDeletehttps://github.com/harshbhardwaj5/docker/blob/master/create_docker_image.txt
problem 1 done https://github.com/parth025sharma/None-coder
ReplyDeleteProblem 1 and 2 Done:
ReplyDeletehttps://github.com/hvijaycse/Summer_training_adhoc/tree/master/Noncode
adhocLinuxYUM1:https://github.com/darkdraiden14/NON_Coder/blob/master/adhocLinuxYUM1.sh
ReplyDeleteproblem1: done
ReplyDeletehttps://github.com/archit-55/linux-tasks
adhocLinuxYUM1 :---->https://github.com/sk4201/noncoder/blob/master/linux-1.txt
ReplyDeletehttps://github.com/gsiddharthgoyal67/non-coder/blob/master/linuxp1.sh
ReplyDeleteadhocLinuxYUM1 :
ReplyDeletehttps://github.com/Laveenajethani/Linux-base-question/tree-save/mast20baseer/linux%%20question%20answer.txt
Thanks you For Sharing!!!!
ReplyDeleteAWS Training
AWS certification training