{"id":5019,"date":"2016-07-22T21:29:51","date_gmt":"2016-07-22T19:29:51","guid":{"rendered":"https:\/\/speefak.spdns.de\/oss_lifestyle\/?p=5019"},"modified":"2024-06-02T13:30:32","modified_gmt":"2024-06-02T11:30:32","slug":"sailfish-os-ssh-zugang-und-sudo-aktivieren","status":"publish","type":"post","link":"https:\/\/speefak.spdns.de\/oss_lifestyle\/sailfish-os-ssh-zugang-und-sudo-aktivieren\/","title":{"rendered":"Sailfish OS &#8211; SSH Zugang und sudo aktivieren"},"content":{"rendered":"<p>Sailfish OS l\u00e4sst sich mit wenigen Handgriffen wie ein natives Linux-System einrichten.<\/p>\n<ol>\n<li>Entwicklermodus aktivieren\n<pre class=\"theme:dark-terminal lang:sh decode:true\">Einstellungen -&gt; Entwicklerwerkzeuge -&gt; Entwicklermodus aktivieren<\/pre>\n<\/li>\n<li>SSH Aktivieren und Passwort erstellen\n<pre class=\"theme:dark-terminal lang:sh decode:true \">Einstellungen -&gt; Entwicklerwerkzeuge -&gt; Remoteverbindung aktivieren<\/pre>\n<\/li>\n<li>Root Zugang via sudo :<br \/>\nRootterminal \u00f6ffnen ( wird bei Aktivierung des Entwicklermodus automatisch installiert )<\/p>\n<pre class=\"theme:dark-terminal lang:sh decode:true \">devel-su\r\nssu ar mer-tools\r\npkcon update\r\npkcon install -y sudo \r\necho \"nemo ALL=(ALL) ALL\" &gt;&gt; \/etc\/sudoers<\/pre>\n<p>* Der sudo Befehl f\u00fcr den den User nemo ( ab SFOS 3.3 defaultuser ) erfordert einen Eintrag in der \/etc\/sudoers : &#8220;nemo ALL=(ALL) ALL&#8221; bzw. &#8220;defaultuser defaultuser&#8221;\u00a0 :<\/p>\n<pre class=\"lang:sh decode:true\">## sudoers file.\r\n##\r\n## This file MUST be edited with the 'visudo' command as root.\r\n## Failure to use 'visudo' may result in syntax or file permission errors\r\n## that prevent sudo from running.\r\n##\r\n## See the sudoers man page for the details on how to write a sudoers file.\r\n##\r\n\r\n##\r\n## Host alias specification\r\n##\r\n## Groups of machines. These may include host names (optionally with wildcards),\r\n## IP addresses, network numbers or netgroups.\r\n# Host_Alias WEBSERVERS = www1, www2, www3\r\n\r\n##\r\n## User alias specification\r\n##\r\n## Groups of users. These may consist of user names, uids, Unix groups,\r\n## or netgroups.\r\n# User_Alias ADMINS = millert, dowdy, mikef\r\n\r\n##\r\n## Cmnd alias specification\r\n##\r\n## Groups of commands. Often used to group related commands together.\r\n# Cmnd_Alias PROCESSES = \/usr\/bin\/nice, \/bin\/kill, \/usr\/bin\/renice, \\\r\n# \/usr\/bin\/pkill, \/usr\/bin\/top\r\n\r\n##\r\n## Defaults specification\r\n##\r\n## You may wish to keep some of the following environment variables\r\n## when running commands via sudo.\r\n##\r\n## Locale settings\r\n# Defaults env_keep += \"LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET\"\r\n##\r\n## Run X applications through sudo; HOME is used to find the\r\n## .Xauthority file. Note that other programs use HOME to find \r\n## configuration files and this may lead to privilege escalation!\r\n# Defaults env_keep += \"HOME\"\r\n##\r\n## X11 resource path settings\r\n# Defaults env_keep += \"XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH\"\r\n##\r\n## Desktop path settings\r\n# Defaults env_keep += \"QTDIR KDEDIR\"\r\n##\r\n## Allow sudo-run commands to inherit the callers' ConsoleKit session\r\n# Defaults env_keep += \"XDG_SESSION_COOKIE\"\r\n##\r\n## Uncomment to enable special input methods. Care should be taken as\r\n## this may allow users to subvert the command being run via sudo.\r\n# Defaults env_keep += \"XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER\"\r\n##\r\n## Uncomment to enable logging of a command's output, except for\r\n## sudoreplay and reboot. Use sudoreplay to play back logged sessions.\r\n# Defaults log_output\r\n# Defaults!\/usr\/bin\/sudoreplay !log_output\r\n# Defaults!\/usr\/local\/bin\/sudoreplay !log_output\r\n# Defaults!\/sbin\/reboot !log_output\r\n\r\n##\r\n## Runas alias specification\r\n##\r\n\r\n##\r\n## User privilege specification\r\n##\r\nroot ALL=(ALL) ALL\r\nnemo ALL=(ALL) ALL\r\n\r\n## Uncomment to allow members of group wheel to execute any command\r\n# %wheel ALL=(ALL) ALL\r\n\r\n## Same thing without a password\r\n# %wheel ALL=(ALL) NOPASSWD: ALL\r\n\r\n## Uncomment to allow members of group sudo to execute any command\r\n# %sudo ALL=(ALL) ALL\r\n\r\n## Uncomment to allow any user to run sudo if they know the password\r\n## of the user they are running the command as (root by default).\r\n# Defaults targetpw # Ask for the password of the target user\r\n# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'\r\n\r\n## Read drop-in files from \/etc\/sudoers.d\r\n## (the '#' here does not indicate a comment)\r\n#includedir \/etc\/sudoers.d<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5077\" src=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-content\/uploads\/2019\/07\/blank_pixel.png\" alt=\"\" width=\"1\" height=\"1\" \/><\/pre>\n<\/li>\n<\/ol>\n<hr \/>\n<p><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-2821 alignleft\" src=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-content\/uploads\/2014\/08\/CC_BY_NC_SA.png\" alt=\"CC_BY_NC_SA\" width=\"65\" height=\"23\" \/><span style=\"font-size: 8pt;\"><span style=\"font-size: 10pt;\">by Speefak<\/span><br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sailfish OS l\u00e4sst sich mit wenigen Handgriffen wie ein natives Linux-System einrichten. Entwicklermodus aktivieren Einstellungen -&gt; Entwicklerwerkzeuge -&gt; Entwicklermodus aktivieren SSH Aktivieren und Passwort erstellen Einstellungen -&gt; Entwicklerwerkzeuge -&gt; Remoteverbindung aktivieren Root Zugang via sudo : Rootterminal \u00f6ffnen ( wird bei Aktivierung des Entwicklermodus automatisch installiert ) devel-su ssu ar mer-tools pkcon update pkcon install [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,37],"tags":[],"class_list":["post-5019","post","type-post","status-publish","format-standard","hentry","category-anleitungen","category-sailfish-os"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"speefak","author_link":"https:\/\/speefak.spdns.de\/oss_lifestyle\/author\/speefak_oss\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/category\/anleitungen\/\" rel=\"category tag\">Anleitungen<\/a> <a href=\"https:\/\/speefak.spdns.de\/oss_lifestyle\/category\/sailfish-os\/\" rel=\"category tag\">Sailfish OS<\/a>","rttpg_excerpt":"Sailfish OS l\u00e4sst sich mit wenigen Handgriffen wie ein natives Linux-System einrichten. Entwicklermodus aktivieren Einstellungen -&gt; Entwicklerwerkzeuge -&gt; Entwicklermodus aktivieren SSH Aktivieren und Passwort erstellen Einstellungen -&gt; Entwicklerwerkzeuge -&gt; Remoteverbindung aktivieren Root Zugang via sudo : Rootterminal \u00f6ffnen ( wird bei Aktivierung des Entwicklermodus automatisch installiert ) devel-su ssu ar mer-tools pkcon update pkcon install&hellip;","_links":{"self":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/posts\/5019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/comments?post=5019"}],"version-history":[{"count":0,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/posts\/5019\/revisions"}],"wp:attachment":[{"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/media?parent=5019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/categories?post=5019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/speefak.spdns.de\/oss_lifestyle\/wp-json\/wp\/v2\/tags?post=5019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}