{"id":40,"date":"2020-11-07T11:35:48","date_gmt":"2020-11-07T11:35:48","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=40"},"modified":"2023-08-30T10:35:14","modified_gmt":"2023-08-30T10:35:14","slug":"how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/pt\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/","title":{"rendered":"Como criar novos arquivos como usu\u00e1rio root a partir do Raspberry Pi OS Desktop"},"content":{"rendered":"<p>\u00c0s vezes, voc\u00ea quer ser capaz de editar e criar arquivos de sistema no sistema operacional Raspberry Pi OS. Vou te mostrar como fazer isso usando pcmanfm, o navegador do sistema de arquivos que voc\u00ea j\u00e1 conhece no Raspberry Pi.<\/p>\n\n\n\n<p>Primeiro, voc\u00ea precisar\u00e1 abrir o navegador de arquivos em modo super usu\u00e1rio <\/p>\n\n\n\n<p>Clique em Raspberry Pi OS Menu, e aqui clique no comando \"Run ...\": <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"227\" height=\"500\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-3.png\" alt=\"Raspberry Pi OS Menu, mostrando o comando run.\" class=\"wp-image-32\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-3.png 227w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-3-136x300.png 136w\" sizes=\"auto, (max-width: 227px) 100vw, 227px\" \/><figcaption class=\"wp-element-caption\">O Menu do SO Raspberry Pi. O comando Run est\u00e1 perto do fundo<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Execute pcmanfm como raiz (sudo pcmanfm) digitando \"sudo pcmanfm\" (sem as aspas) no di\u00e1logo que se abre, e clicando em OK:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"342\" height=\"168\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-4.png\" alt=\"Executar o di\u00e1logo de comando no SO Raspberry Pi\" class=\"wp-image-33\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-4.png 342w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-4-300x147.png 300w\" sizes=\"auto, (max-width: 342px) 100vw, 342px\" \/><figcaption class=\"wp-element-caption\">O comando run, preparando-se para executar o pcmanfm como raiz<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Uma nova janela se abre, mostrando-lhe o conte\u00fado do diret\u00f3rio \/home\/pi:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"583\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png\" alt=\"imagem de tela do pcmanfm com super direitos de usu\u00e1rio\" class=\"wp-image-34\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png 663w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5-300x264.png 300w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><figcaption class=\"wp-element-caption\">pcmanfm, o gerenciador de arquivos executado como super usu\u00e1rio<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Nota: voc\u00ea deve ver este \u00edcone, logo abaixo do menu \"Arquivo\". Ele indica que voc\u00ea est\u00e1 usando o pcmanfm como usu\u00e1rio root, e portanto deve ser extra cuidadoso (j\u00e1 que root pode editar \/ apagar \/ mover qualquer arquivo! at\u00e9 mesmo arquivos que s\u00e3o cr\u00edticos para uma opera\u00e7\u00e3o normal do sistema).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"36\" height=\"37\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-6.png\" alt=\"\" class=\"wp-image-35\"\/><figcaption class=\"wp-element-caption\">Indicador do modo Raiz<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Como exemplo, se voc\u00ea deseja criar um novo <a href=\"\/raspberry-pi\/control-your-raspberry-pi-remotely-using-picontrol\/\">ficheiro de configura\u00e7\u00e3o para PiControl<\/a>voc\u00ea poderia navegar para o seguinte diret\u00f3rio no seu Raspberry Pi:<\/p>\n\n\n\n<p class=\"has-text-align-center\"><em>\/etc\/picockpit-cliente\/apps\/com.picockpit\/picontrol\/m\u00f3dulos<\/em><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-7.png\" alt=\"\" class=\"wp-image-38\" style=\"width:671px;height:465px\" width=\"671\" height=\"465\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-7.png 838w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-7-300x208.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-7-768x532.png 768w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><figcaption class=\"wp-element-caption\">Mostrando o diret\u00f3rio de configura\u00e7\u00e3o do PiCockpit's PiControl. Nota, se voc\u00ea tiver uma nova instala\u00e7\u00e3o do PiCockpit, voc\u00ea ver\u00e1 apenas o core.json. Os outros m\u00f3dulos foram criados por mim para fins de teste e demonstra\u00e7\u00e3o (experimentos com controle remoto).<\/figcaption><\/figure>\n<\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Dica: voc\u00ea tamb\u00e9m pode copiar e colar o caminho que eu dei acima, e pressionar a tecla enter para navegar at\u00e9 o diret\u00f3rio.<\/p>\n<cite>As dicas \u00fateis de Raspi Berry Raspberry Pi<\/cite><\/blockquote>\n\n\n\n<p>clique com o bot\u00e3o direito do mouse na \u00e1rea vazia ao lado dos arquivos existentes, e selecione \"Novo arquivo...\".<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"373\" height=\"415\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-1.png\" alt=\"Criando um novo arquivo com o sistema operacional Raspbian\" class=\"wp-image-29\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-1.png 373w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-1-270x300.png 270w\" sizes=\"auto, (max-width: 373px) 100vw, 373px\" \/><figcaption class=\"wp-element-caption\">Raspberry Pi OS menu para um clique com o bot\u00e3o direito do mouse para criar um novo arquivo<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Por exemplo, se voc\u00ea quiser um novo arquivo \"ssh-server.json\", voc\u00ea vai digitar:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"180\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-2.png\" alt=\"\" class=\"wp-image-30\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-2.png 462w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-2-300x117.png 300w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><figcaption class=\"wp-element-caption\">Um di\u00e1logo pede o nome para o novo arquivo.<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-8.png\" alt=\"criando um novo arquivo como usu\u00e1rio root com o pcmanfm\" class=\"wp-image-39\" style=\"width:580px;height:134px\" width=\"580\" height=\"134\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-8.png 835w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-8-300x70.png 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-8-768x178.png 768w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption class=\"wp-element-caption\">ssh-server.json \u00e9 agora criado nesta pasta.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Usando os menus do pcmanfm voc\u00ea tamb\u00e9m pode apagar arquivos, copi\u00e1-los e mov\u00ea-los. <\/p>\n\n\n\n<p>Pode saber mais sobre o pcmanfm <a href=\"https:\/\/en.wikipedia.org\/wiki\/PCMan_File_Manager\">aqui<\/a>.<\/p>\n\n\n\n<p>Espero que isso ajude novos usu\u00e1rios que precisam editar arquivos do sistema como root no Raspberry Pi \ud83d\ude42<\/p>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fhow-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop%2F&text=How%20to%20create%20new%20files%20as%20root%20user%20from%20the%20Raspberry%20Pi%20OS%20Desktop\" title=\"Compartilhar no X\" aria-label=\"Compartilhar no X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fhow-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop%2F\" title=\"Partilhar no Facebook\" aria-label=\"Partilhar no Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fhow-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop%2F&text=How%20to%20create%20new%20files%20as%20root%20user%20from%20the%20Raspberry%20Pi%20OS%20Desktop\" title=\"Compartilhar no Telegram\" aria-label=\"Compartilhar no Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">partilhar<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fpt%2Fhow-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop%2F\" title=\"Compartilhar no Reddit\" aria-label=\"Compartilhar no Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">partilhar<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>\u00c0s vezes, voc\u00ea quer ser capaz de editar e criar arquivos de sistema no sistema operacional Raspberry Pi OS. Vou te mostrar como fazer isso usando pcmanfm, o navegador do sistema de arquivos que voc\u00ea j\u00e1 conhece no Raspberry Pi. Primeiro, voc\u00ea precisa abrir o navegador de arquivos no modo super usu\u00e1rio Clique em Raspberry Pi OS Menu, e...<\/p>","protected":false},"author":2,"featured_media":34,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[602,606,601,189,486,447,187,600,603,604,605],"class_list":["post-40","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-how-to","tag-desktop","tag-linux","tag-os","tag-pi","tag-project","tag-projects","tag-raspberry-pi","tag-raspbian","tag-root","tag-root-user","tag-sudo"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to create new files as root user from the Raspberry Pi OS Desktop | PiCockpit<\/title>\n<meta name=\"description\" content=\"Sometimes, you want to be able to edit and create system files on Raspberry Pi OS. I&#039;ll show you how to do this in this post.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/pt\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create new files as root user from the Raspberry Pi OS Desktop | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"Sometimes, you want to be able to edit and create system files on Raspberry Pi OS. I&#039;ll show you how to do this in this post.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/pt\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-07T11:35:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-30T10:35:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png\" \/>\n\t<meta property=\"og:image:width\" content=\"663\" \/>\n\t<meta property=\"og:image:height\" content=\"583\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"raspi berry\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"raspi berry\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/\"},\"author\":{\"name\":\"raspi berry\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\"},\"headline\":\"How to create new files as root user from the Raspberry Pi OS Desktop\",\"datePublished\":\"2020-11-07T11:35:48+00:00\",\"dateModified\":\"2023-08-30T10:35:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/\"},\"wordCount\":384,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/image-5.png\",\"keywords\":[\"desktop\",\"linux\",\"OS\",\"Pi\",\"project\",\"Projects\",\"Raspberry Pi\",\"Raspbian\",\"root\",\"root user\",\"sudo\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/\",\"name\":\"How to create new files as root user from the Raspberry Pi OS Desktop | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/image-5.png\",\"datePublished\":\"2020-11-07T11:35:48+00:00\",\"dateModified\":\"2023-08-30T10:35:14+00:00\",\"description\":\"Sometimes, you want to be able to edit and create system files on Raspberry Pi OS. I'll show you how to do this in this post.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/image-5.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/image-5.png\",\"width\":663,\"height\":583},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/raspberry-pi-how-to\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to create new files as root user from the Raspberry Pi OS Desktop\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/7af3a7a8c999bc722029ef9ca9d78eee\",\"name\":\"raspi berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g\",\"caption\":\"raspi berry\"},\"description\":\"I'm here to help you with all your Raspberry Pi related questions &amp; love to share about new project ideas for the Raspberry Pi, and give quick tips. Of course I'll also help you with PiCockpit and how to make your Raspberry Pi even easier to use with this raspberry pi monitoring solution :-)\",\"sameAs\":[\"https:\\\/\\\/picockpit.com\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/pt\\\/author\\\/raspi-berry\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Como criar novos ficheiros como utilizador root a partir do Raspberry Pi OS Desktop | PiCockpit","description":"Por vezes, queremos ser capazes de editar e criar ficheiros de sistema no Raspberry Pi OS. Vou mostrar-vos como fazer isto neste post.","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:\/\/picockpit.com\/raspberry-pi\/pt\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/","og_locale":"pt_PT","og_type":"article","og_title":"How to create new files as root user from the Raspberry Pi OS Desktop | PiCockpit","og_description":"Sometimes, you want to be able to edit and create system files on Raspberry Pi OS. I'll show you how to do this in this post.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/pt\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2020-11-07T11:35:48+00:00","article_modified_time":"2023-08-30T10:35:14+00:00","og_image":[{"width":663,"height":583,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png","type":"image\/png"}],"author":"raspi berry","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"Escrito por":"raspi berry","Tempo estimado de leitura":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/"},"author":{"name":"raspi berry","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee"},"headline":"How to create new files as root user from the Raspberry Pi OS Desktop","datePublished":"2020-11-07T11:35:48+00:00","dateModified":"2023-08-30T10:35:14+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/"},"wordCount":384,"commentCount":0,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png","keywords":["desktop","linux","OS","Pi","project","Projects","Raspberry Pi","Raspbian","root","root user","sudo"],"articleSection":["Tutorials"],"inLanguage":"pt-PT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/","url":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/","name":"Como criar novos ficheiros como utilizador root a partir do Raspberry Pi OS Desktop | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png","datePublished":"2020-11-07T11:35:48+00:00","dateModified":"2023-08-30T10:35:14+00:00","description":"Por vezes, queremos ser capazes de editar e criar ficheiros de sistema no Raspberry Pi OS. Vou mostrar-vos como fazer isto neste post.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2020\/11\/image-5.png","width":663,"height":583},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/how-to-create-new-files-as-root-user-from-the-raspberry-pi-os-desktop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Tutorials","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/raspberry-pi-how-to\/"},{"@type":"ListItem","position":3,"name":"How to create new files as root user from the Raspberry Pi OS Desktop"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"PiCockpit","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/7af3a7a8c999bc722029ef9ca9d78eee","name":"baga de framboesa","image":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c10c423ceeff34163dd54a5472d6da17d71c0e360e0cf8cdb8847006372f216b?s=96&d=blank&r=g","caption":"raspi berry"},"description":"Estou aqui para ajud\u00e1-lo com todas as suas perguntas relacionadas com o Raspberry Pi e adoro compartilhar sobre novas id\u00e9ias de projetos para o Raspberry Pi, e dar dicas r\u00e1pidas. Claro que tamb\u00e9m o ajudarei com o PiCockpit e como tornar o seu Raspberry Pi ainda mais f\u00e1cil de usar com esta solu\u00e7\u00e3o de monitoriza\u00e7\u00e3o do raspberry Pi :-)","sameAs":["https:\/\/picockpit.com"],"url":"https:\/\/picockpit.com\/raspberry-pi\/pt\/author\/raspi-berry\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":3,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":5066,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/posts\/40\/revisions\/5066"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media\/34"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/pt\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}