Linux Create a User for Apache KodeKloud

 

Question:

For some security reasons xFusionCorp Industries security team has decided to use custom Apache users for each web application hosted there rather than its default user. Since this is going to be the Apache user so it shouldn’t use the default home directory. Create the user as per requirements given below:

a. Create a user named ravi on the App server 1 in Stratos Datacenter.

b. Set UID to 1264 and its home directory to /var/www/ravi

 

Solution: 

Login to appserver

Then add user

Finally Check user


 

Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

3 comments:

  1. Hi Sir,
    It is asking password if i give ssh tony@strapp01
    Pls let me know the solution.

    Thanks

    ReplyDelete
  2. You can get all the credentials from option Wiki.


    ReplyDelete
  3. Are you supposed to create the directory first?

    ReplyDelete