{"id":140,"date":"2008-12-01T01:13:25","date_gmt":"2008-12-01T06:13:25","guid":{"rendered":"http:\/\/yourlinuxguy.com\/?p=140"},"modified":"2008-11-19T11:54:55","modified_gmt":"2008-11-19T16:54:55","slug":"how-do-i-add-ncp-trustee-assignements-at-a-command-promt","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=140","title":{"rendered":"How do I add NCP trustee assignments at a command prompt?"},"content":{"rendered":"<p>Ever since my <a title=\"http:\/\/yourlinuxguy.com\/?p=75\" href=\"http:\/\/yourlinuxguy.com\/?p=75\" target=\"_blank\">post about backing up and restoring NCP trustee assignments<\/a>, I&#8217;ve had quite a few hits on this blog from Internet searches about similar topics. Many times people seem to find this site while searching about managing trustee assignments at the command line (shell prompt).<\/p>\n<p>So, since that <a title=\"http:\/\/yourlinuxguy.com\/?p=75\" href=\"http:\/\/yourlinuxguy.com\/?p=75\" target=\"_blank\">afore-mentioned post<\/a> was&#8230; well, shall we say&#8230; voluminous in nature&#8230; I decided I&#8217;d make a quick post that gets right to the point. So here are two general things you need to know when using a bash shell to enter (or manage) NCP trustee assignments on Suse OES \/ SLES server at the command line (there, I hope I hit all the searchable terms).<\/p>\n<p><strong>Standard Rights Command<\/strong><br \/>\nHere are some examples of standard rights commands. These are for illustation only, but I tried to include a good cross-section of syntax and option use:<\/p>\n<pre><code><span style=\"font-size: xx-small;\">ncpcon rights view \"\/localncpvol\/ITdept\"\r\nncpcon rights add \"VOL2:\" Siteadmin.Site.CORP RWCEMFA\r\nncpcon rights add \"VOL2:\/Users\/jdoe\" jdoe.SALES.CORP RWCEMF\r\nncpcon rights add VOL2:\/Apps CORP RF\r\nncpcon rights add \"VOL2:\/Apps\/Sales\" Sales.SALES.CORP RWCEMF\r\nncpcon rights add \/localncpvol\/Apps Hiredguy.IT.CORP RCMFA\r\nncpcon rights rem \"\/localncpvol\" Firedguy.IT.CORP\r\n<\/span><\/code><\/pre>\n<p>&#8230;and if you don&#8217;t mind, I&#8217;ll spare you the lesson on what the rights &#8220;RWCEMFA&#8221; are. If you&#8217;re here, you probably already know. If not, drop me an email or comment below and I&#8217;ll help out. But please note, no leading dot for eDir usernames&#8230; that tripped me up in the beginning&#8230;<\/p>\n<p><strong>Inherited Rights Mask Command<\/strong><br \/>\nOh yes, we need to set the mask! Especially when rebuilding a volume. The examples below are a couple sets of rights that you may find on your volume already as a standard part of a volume. Again, just for illustration only:<\/p>\n<pre><code><span style=\"font-size: xx-small;\">ncpcon irm set \"VOL2:\/._NETWARE\" S\r\nncpcon irm set \"VOL2:\" S\r\n<\/span><\/code><\/pre>\n<p>I hope that helps&#8230; And I&#8217;ll try to keep monitoring your search terms out there, but feel free to drop me a line or post a comment if you need something clarified!<\/p>\n<p>Enjoy!<\/p>\n<p>\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever since my post about backing up and restoring NCP trustee assignments, I&#8217;ve had quite a few hits on this blog from Internet searches about similar topics. Many times people seem to find this site while searching about managing trustee&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=140\">Read more<\/a><\/p>\n","protected":false},"author":5,"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":[10,57,13],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-introductory","category-ncpcon","category-oeslinux"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-2g","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":11,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions\/143"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}