{"id":181,"date":"2011-07-26T00:36:59","date_gmt":"2011-07-25T20:36:59","guid":{"rendered":"http:\/\/elemc.wordpress.com\/?p=181"},"modified":"2013-01-22T22:08:11","modified_gmt":"2013-01-22T18:08:11","slug":"mount-local-disk-without-root-pwd","status":"publish","type":"post","link":"https:\/\/elemc.name\/?p=181","title":{"rendered":"\u041c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0432 Fedora \u0431\u0435\u0437 \u043f\u0430\u0440\u043e\u043b\u044f root"},"content":{"rendered":"<p>\u041d\u0435 \u0441\u0435\u043a\u0440\u0435\u0442, \u0447\u0442\u043e \u0432 Fedora 14 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0444\u0438\u0447\u0430\/bug, \u043f\u0440\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438\u0437 Nautilus \u0438\u043b\u0438 Dolphin &#8212; \u0432\u044b\u0441\u043a\u0430\u043a\u0438\u0432\u0430\u0435\u0442 \u0434\u0438\u0430\u043b\u043e\u0433 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0438 \u0431\u0435\u0437 \u043f\u0430\u0440\u043e\u043b\u044f root&#8217;\u0430 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0434\u0430\u0451\u0442. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0432 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u0440\u0435\u0448\u0438\u043b \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b, \u0447\u0438\u0442\u0430\u0435\u043c&#8230; <!--more--><\/p>\n<p><strong>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u0414\u043b\u044f Fedora 18 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0434\u0440\u0443\u0433\u0430\u044f, \u0438 \u043e\u043d\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f <a href=\"http:\/\/elemc.name\/wordpress\/?p=695\">\u0442\u0443\u0442<\/a>.<\/strong><\/p>\n<h3>Fedora 14<\/h3>\n<p>\u0412 Fedora 14 \u044d\u0442\u043e \u0441\u043a\u043e\u0440\u0435\u0435 bug, \u0447\u0435\u043c \u0444\u0438\u0447\u0430, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u0445 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0433\u0440\u0443\u043f\u043f\u0430 desktop_admin_r, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0432\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u0435\u0441\u0442\u044c (\u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">getent group | grep desktop<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>), \u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u043c:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">gpasswd -a \u0438\u043c\u044f-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f desktop_admin_r<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0438\u043b\u0438<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">usermod -aG desktop_admin_r \u0438\u043c\u044f-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u043a\u043e\u043c\u0443, \u0447\u0442\u043e \u043d\u0440\u0430\u0432\u0438\u0442\u0441\u044f.<\/p>\n<p>\u041d\u043e \u0432\u043e\u0442 \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0432\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043d\u0435\u0442, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0442\u044c, \u043d\u043e \u044d\u0442\u043e \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 &#171;\u043a\u043e\u0448\u0435\u0440\u043d\u043e&#187;, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434. \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<h4>\u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u0444\u0430\u0439\u043b<\/h4>\n<p>\u0414\u0430\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b <em>sergem<\/em> \u0441 jabber-\u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 <em>fedora@conference.jabber.ru<\/em>, \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u043d \u0432 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430<br \/>\n<strong>\/etc\/polkit-1\/localauthority\/50-local.d\/10-mount-internal-drives.pkla<\/strong> \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<p style=\"background-color:lightgray;\">\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/><\/div><\/td><td><div class=\"text codecolorer\">[mount local fs]<br \/>\nIdentity=unix-user:&lt;strong&gt;\u0438\u043c\u044f-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f-\u0432-\u0441\u0438\u0441\u0442\u0435\u043c\u0435&lt;\/strong&gt;<br \/>\nAction=org.freedesktop.udisks.filesystem-mount-system-internal<br \/>\nResultAny=no<br \/>\nResultInactive=no<br \/>\nResultActive=yes<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/p>\n<h4>\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0444\u0430\u0439\u043b \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430<\/h4>\n<p>\u042d\u0442\u043e \u043c\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0444\u0430\u0439\u043b<br \/>\n<strong>\/etc\/polkit-1\/localauthority\/50-local.d\/40-wheel-desktop-admin.conf<\/strong> \u0441\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c:<\/p>\n<p style=\"background-color:lightgray;\">\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/><\/div><\/td><td><div class=\"text codecolorer\"># Content of this file stolen from Fedora 15<br \/>\n# This allows users in the wheel group to authenticate as the<br \/>\n# administrator.<br \/>\n[Configuration]<br \/>\nAdminIdentities=unix-group:wheel<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<\/p>\n<p>\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0441\u0435\u0431\u044f (\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b[\u044f|\u0435\u0439]) \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 wheel:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">gpasswd -a \u0438\u043c\u044f-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f wheel<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0438\u043b\u0438<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">usermod -aG wheel \u0438\u043c\u044f-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u042d\u0442\u043e\u0442 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u043c, \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0433\u043e, \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0432\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 Fedora 15, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0444\u0430\u0439\u043b\u0438\u043a \u043e\u0442\u0442\u0443\u0434\u0430 \u0438 &#171;\u0432\u044b\u043a\u0440\u0430\u0434\u0435\u043d&#187;.<\/p>\n<h3>Fedora 15<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0442\u044b \u043f\u0440\u043e\u0447\u0435\u043b \u0442\u043e, \u0447\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u044b\u0448\u0435, \u0442\u043e \u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0432 15-\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0443\u0436\u0435 \u043d\u0435 \u0441\u043b\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, \u043d\u0430\u0434\u043e \u043b\u0438\u0448\u044c \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0441\u0435\u0431\u044f (\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b[\u044f|\u0435\u0439]) \u0432 \u0433\u0440\u0443\u043f\u043f\u0443 wheel:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">gpasswd -a \u0438\u043c\u044f-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f wheel<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>\u0438\u043b\u0438<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:560px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"text codecolorer\">usermod -aG wheel \u0438\u043c\u044f-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p><strong>\u0412\u0430\u0436\u043d\u043e!<\/strong> \u0420\u0435\u0431\u044f\u0442\u0430, \u043f\u043e\u0441\u043b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0441 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 \u043d\u0430\u0434\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u044b\u0439\u0442\u0438 (logoff) \u0438 \u0441\u043d\u043e\u0432\u0430 \u0437\u0430\u0439\u0442\u0438 (login) \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u044d\u0442\u043e \u0432\u0430\u0436\u043d\u043e, \u043c\u043d\u043e\u0433\u0438\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0442 \u0441\u0435\u0431\u044f \u0432 \u0433\u0440\u0443\u043f\u043f\u044b \u0438 \u0443\u0434\u0438\u0432\u043b\u044f\u044e\u0442\u0441\u044f, \u043f\u043e\u0447\u0435\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u0414\u0430 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0435\u0430\u043d\u0441\u0430 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0435\u0449\u0435 \u043d\u0435 \u043f\u0440\u0438\u043d\u0430\u043b\u0434\u0435\u0436\u0438\u0442 \u0442\u0435\u043c \u0433\u0440\u0443\u043f\u043f\u0430\u043c, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d.<\/p>\n<p>\u0412\u043e\u0442, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438 \u0432\u0441\u0435.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0435 \u0441\u0435\u043a\u0440\u0435\u0442, \u0447\u0442\u043e \u0432 Fedora 14 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0444\u0438\u0447\u0430\/bug, \u043f\u0440\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438\u0437 Nautilus \u0438\u043b\u0438 Dolphin &#8212; \u0432\u044b\u0441\u043a\u0430\u043a\u0438\u0432\u0430\u0435\u0442 \u0434\u0438\u0430\u043b\u043e\u0433 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0438 \u0431\u0435\u0437 \u043f\u0430\u0440\u043e\u043b\u044f root&#8217;\u0430 \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0434\u0430\u0451\u0442. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0432 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e, \u0440\u0435\u0448\u0438\u043b \u0432\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b, \u0447\u0438\u0442\u0430\u0435\u043c&#8230;<\/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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[25,36,42,53],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-fedora","tag-drives","tag-internal","tag-mount","tag-root"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1TKY7-2V","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elemc.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181"}],"version-history":[{"count":2,"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":700,"href":"https:\/\/elemc.name\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions\/700"}],"wp:attachment":[{"href":"https:\/\/elemc.name\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elemc.name\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elemc.name\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}