{"id":724,"date":"2016-07-12T07:50:55","date_gmt":"2016-07-12T02:20:55","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=724"},"modified":"2016-07-12T08:28:11","modified_gmt":"2016-07-12T02:58:11","slug":"create-temporary-user-on-linux-host","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/","title":{"rendered":"Create temporary User on Linux Host"},"content":{"rendered":"<p>The following script will help you to create a temporary user on the host and delete all the content associated with the user after 3 hours. These scenario will be working incase if a user wants to access the hosts for sometime, troubleshoot issues, verify logs, etc., Replace variable with appropriate values. This has been tested on Centos 6 and its working fine. Use at your own risk :P.<\/p>\n<p><strong>Assumption:<\/strong><\/p>\n<ol>\n<li>Centralized box which has access to all production servers.<\/li>\n<li>All the requested python module installed.<\/li>\n<li>User needs to be deleted after 3 hours<\/li>\n<\/ol>\n<p><strong>Work Flow:<\/strong><\/p>\n<ol>\n<li>Passing username and hosts as variables while executing the script.<\/li>\n<li>Create Temporary user on the host with random password<\/li>\n<li>Send Notifications to recipient email address about user creation.<\/li>\n<li>Create a temporary file on the remote host to delete the user from the host.<\/li>\n<li>Add the temporary file to cron to delete the user after 3 hours(in our case)<\/li>\n<li>Delete the cron entry and user after 3 hours<\/li>\n<\/ol>\n<p><code>#!\/usr\/bin\/env python<\/code><br \/>\n<code> #########Fab file to Create Temporary User########<\/code><br \/>\n<code> #Author:Dhanasekaran N<\/code><br \/>\n<code> #Email:support@pheonixsolutions.com<\/code><br \/>\n<code> #Version:0.1<\/code><br \/>\n<code> ##################################################<\/code><br \/>\n<code> from fabric.api import env, run<\/code><br \/>\n<code> from fabric.api import *<\/code><br \/>\n<code> from datetime import datetime, timedelta<\/code><br \/>\n<code> import os,time<\/code><br \/>\n<code> import commands<\/code><br \/>\n<code> import random<\/code><br \/>\n<code> import string<\/code><br \/>\n<code> import pwd<\/code><br \/>\n<code> import smtplib<\/code><br \/>\n<code> import email<\/code><br \/>\n<code> import email.mime.text<\/code><br \/>\n<code> #from validate_email import validate_email<\/code><br \/>\n<code> <strong>env.user='username'; # &lt;- Remove this line if passwordless authentication enabled<\/strong><\/code><br \/>\n<code> <strong>env.password='password';#<strong> &lt;- Remove this line if passwordless authentication enabled<\/strong><\/strong><\/code><br \/>\n<code> def adduser(adduser,recipient):<\/code><\/p>\n<p><code><strong>sender_mail = 'temp_user_creation@domain.tld'\u00a0#&lt;- From address<\/strong><\/code><\/p>\n<p><code><strong>three_hours_from_now=datetime.now() + timedelta(hours=3);<\/strong>\u00a0<strong>#&lt;- Replace this variable with number of hours you want the user to be available on the host.<\/strong><\/code><br \/>\n<code> user=adduser.split('@')[0];<\/code><br \/>\n<code> recipients=['mailbox@domain.tld']\u00a0<strong>#&lt;- Replace with your email address<\/strong><\/code><br \/>\n<code> recipients.append(recipient);<\/code><br \/>\n<code> print \"Creating user \"+user+\"\"<\/code><br \/>\n<code> password = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(8))<\/code><br \/>\n<code> print password<\/code><br \/>\n<code> run(\"useradd -d \/home\/\"+user+ \" -s \/bin\/bash -p $( echo \"+password+ \"| openssl passwd -1 -stdin) \" +user )<\/code><br \/>\n<code> print \"++++++++ Your Access credentials ++++++++\"<\/code><br \/>\n<code> print \"Username:\" +user<\/code><br \/>\n<code> print \"Password:\" +password<\/code><br \/>\n<code> print \"++++++++++++++++++++++++++++++++++++++++++\"<\/code><br \/>\n<code> print \"IMPORTANT: The user will be Automatically deleted after 3 Hours. Don't Store any Data on this Home directory\"<\/code><br \/>\n<code> print \"Creating the required directories on the remote hosts\"<\/code><br \/>\n<code> cron_hour=str(format(three_hours_from_now, '%H'));<\/code><br \/>\n<code> cron_minute=str(format(three_hours_from_now, '%M'));<\/code><br \/>\n<code> find_user_cron='\/opt\/scripts\/delete_user_'+user+'.py'<\/code><br \/>\n<code> add_cron=\"echo \\\"\" +cron_minute+ \" \" +cron_hour+ \" * * * root \" + \"\/usr\/bin\/python \"+find_user_cron +\" \" +user +\"\\\"&gt;&gt;\/etc\/cron.d\/user_remove\"<\/code><\/p>\n<p><code>run(add_cron);<\/code><br \/>\n<code> #Section for delete_user_$user.py<\/code><br \/>\n<code> delete_user_file =\"#!\/usr\/bin\/python\\n\"<\/code><br \/>\n<code> delete_user_file += \"import sys,os,subprocess\\n\"<\/code><br \/>\n<code> delete_user_file += \"import __main__ as main\\n\"<\/code><br \/>\n<code> delete_user_file += \"from datetime import datetime, timedelta\\n\"<\/code><br \/>\n<code> print \"Finding the cron running time.\\n\"<\/code><br \/>\n<code> delete_user_file += \"current_time=datetime.now();\\n\"<\/code><br \/>\n<code> delete_user_file += \"cron_hour=str(format(current_time,'%H'))\\n\"<\/code><br \/>\n<code> delete_user_file += \"cron_minute=str(format(current_time,'%M'))\\n\"<\/code><br \/>\n<code> delete_user_file += \"file=str((main.__file__)).strip('\/opt\/scripts\/delete_user_')\\n\"<\/code><br \/>\n<code> delete_user_file += \"user=file.split('.')[0]\\n\"<\/code><br \/>\n<code> #delete_user_file += \"print delete_user_file;\\n\"<\/code><br \/>\n<code> sed_command=\"sed -i \\\\\\\"\/\\\"+user+ \\\"\/d\\\\\\\" \/etc\/cron.d\/user_remove\"<\/code><br \/>\n<code> delete_user_file += \"os.system(\\\"\"+sed_command+\"\\\")\\n\"<\/code><br \/>\n<code> delete_user_file += \"print \\\"Deleting the user\\\"\\n\"<\/code><br \/>\n<code> delete_user_file += \"deluser=sys.argv[1];\\n\"<\/code><br \/>\n<code> delete_user_file += \"print sys.argv[1];\\n\"<\/code><br \/>\n<code> delete_user_file += \"os.system(\\\"userdel -fr \\\" +deluser);\\n\"<\/code><br \/>\n<code> tmp_script_file=open('\/tmp\/delete_user_'+user+'.py','w');<\/code><br \/>\n<code> tmp_script_file.write(delete_user_file);<\/code><br \/>\n<code> tmp_script_file.close();<\/code><br \/>\n<code> run('mkdir -p \/opt\/scripts\/')<\/code><br \/>\n<code> putfile='\/tmp\/delete_user_'+user+'.py';<\/code><br \/>\n<code> #print putfile;<\/code><br \/>\n<code> put(putfile,'\/opt\/scripts\/');<\/code><br \/>\n<code> #Reloading Cron<\/code><br \/>\n<code> run('\/etc\/init.d\/crond reload');<\/code><br \/>\n<code> table = \"&lt;table style='border: solid #ccc 1px ; border-collapse: collapse; box-shadow: 0 1px 1px #ccc;'&gt;&lt;tr&gt;\"<\/code><br \/>\n<code> th = \"&lt;th style='border: solid #ccc 1px; border-collapse: collapse; padding: 10px; text-align: left; background-color: #c1c1c1;\"<\/code><br \/>\n<code> th += \"border-left: 1px solid #ccc; border-top: 1px solid #ccc;'&gt;\"<\/code><br \/>\n<code> td = \"&lt;td style='border: solid #ccc 1px; border-collapse: collapse; padding: 10px; text-align: left;'&gt;\"<\/code><\/p>\n<p><code>table_rd = \"&lt;table style='border: solid #FF0000 1px ; border-collapse: collapse; box-shadow: 0 1px 1px #FF0000;'&gt;&lt;tr&gt;\"<\/code><br \/>\n<code> th_rd = \"&lt;th style='border: solid #FF0000 1px; border-collapse: collapse; padding: 10px; text-align: left; background-color: #FF0000;\"<\/code><br \/>\n<code> th_rd += \"border-left: 1px solid #FF0000; border-top: 1px solid #FF0000;'&gt;\"<\/code><br \/>\n<code> td_rd = \"&lt;td style='border: solid #FF0000 1px; border-collapse: collapse; padding: 10px; text-align: left;'&gt;\"<\/code><br \/>\n<code> body = \"&lt;html&gt;&lt;head&gt;\"<\/code><br \/>\n<code> body += \"&lt;\/head&gt;&lt;body&gt;\\n\"<\/code><br \/>\n<code> body +=\"Hello &lt;br \/&gt;\"<\/code><br \/>\n<code> body +=\"The following user has been created on the host %s\" %(env.host_string)<\/code><br \/>\n<code> body += table_rd +\"&lt;tr&gt;\"<\/code><br \/>\n<code> body += th_rd + \"Hostname &lt;\/th&gt;\"<\/code><br \/>\n<code> body +=th_rd + \"Username &lt;\/th&gt;\"<\/code><br \/>\n<code> body +=th_rd + \"Creation Time &lt;\/th&gt;\"<\/code><br \/>\n<code> body +=th_rd + \"Deletion Time &lt;\/th&gt;&lt;\/tr&gt;\"<\/code><br \/>\n<code> body +=\"&lt;tr&gt;\" + td_rd + env.host_string + \"&lt;\/td&gt;\"<\/code><br \/>\n<code> body += td_rd + user + \"&lt;\/td&gt;\"<\/code><br \/>\n<code> body += td_rd + str(datetime.now()) + \"&lt;\/td&gt;\"<\/code><br \/>\n<code> body += td_rd + str(three_hours_from_now) + \"&lt;\/td&gt;\"<\/code><br \/>\n<code> body += \"&lt;\/table&gt;\"<\/code><\/p>\n<p><code> body_of_the_message = email.mime.text.MIMEText(body,'html');<\/code><br \/>\n<code> message = email.MIMEMultipart.MIMEMultipart('alternative')<\/code><br \/>\n<code> message['Subject'] =\"User Creation Audit Report\"<\/code><br \/>\n<code> message['From'] = sender_mail<\/code><br \/>\n<code> message['To'] =\", \".join(recipients)<\/code><br \/>\n<code> message.attach(body_of_the_message);<\/code><br \/>\n<code> server = smtplib.SMTP('172.16.1.124')<\/code><br \/>\n<code> server.sendmail(message['From'],recipients,message.as_string())<\/code><br \/>\n<code> server.quit()<\/code><br \/>\n<code> os.system(\"rm -f \" +putfile);<\/code><\/p>\n<p><strong>Usage:<\/strong><\/p>\n<p><em>fab -H IPaddress\u00a0adduser:dhanasekaran,recipient=user@domain.tld<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following script will help you to create a temporary user on the host and delete all the content associated with the user after 3 hours. These scenario will be working incase if a user wants to access the hosts for sometime, troubleshoot issues, verify logs, etc., Replace variable with&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Create temporary User on Linux Host<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[225,259],"tags":[],"class_list":{"0":"post-724","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-linux","7":"category-python","8":"h-entry","10":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"The following script will help you to create a temporary user on the host and delete all the content associated with the user after 3 hours. These scenario will be working incase if a user wants to access the hosts for sometime, troubleshoot issues, verify logs, etc., Replace variable with&hellip; Continue Reading Create temporary User on Linux Host\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-07-12T02:20:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-07-12T02:58:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3837\" \/>\n\t<meta property=\"og:image:height\" content=\"2540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"Create temporary User on Linux Host\",\"datePublished\":\"2016-07-12T02:20:55+00:00\",\"dateModified\":\"2016-07-12T02:58:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/\"},\"wordCount\":175,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"articleSection\":[\"Linux\",\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2016-07-12T02:20:55+00:00\",\"dateModified\":\"2016-07-12T02:58:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/create-temporary-user-on-linux-host\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create temporary User on Linux Host\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"The following script will help you to create a temporary user on the host and delete all the content associated with the user after 3 hours. These scenario will be working incase if a user wants to access the hosts for sometime, troubleshoot issues, verify logs, etc., Replace variable with&hellip; Continue Reading Create temporary User on Linux Host","og_url":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2016-07-12T02:20:55+00:00","article_modified_time":"2016-07-12T02:58:11+00:00","og_image":[{"width":3837,"height":2540,"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"Create temporary User on Linux Host","datePublished":"2016-07-12T02:20:55+00:00","dateModified":"2016-07-12T02:58:11+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/"},"wordCount":175,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"articleSection":["Linux","Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/","url":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"datePublished":"2016-07-12T02:20:55+00:00","dateModified":"2016-07-12T02:58:11+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/create-temporary-user-on-linux-host\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create temporary User on Linux Host"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-bG","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=724"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/724\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}