From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Cohen, Andy" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY:ACL usage Date: Wed, 10 Sep 2003 16:57:48 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <9D592DB37A92234AB635C5585D2D08196AA4B7@cobra.pc.cognex.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: sea.gmane.org 1063227509 1555 80.91.224.253 (10 Sep 2003 20:58:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2003 20:58:29 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Sep 10 22:58:27 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19xC2l-0006JE-00 for ; Wed, 10 Sep 2003 22:58:27 +0200 Original-Received: (qmail 19632 invoked by uid 5); 10 Sep 2003 20:58:18 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 19623 invoked by uid 49493); 10 Sep 2003 20:58:18 -0000 Original-Received: from Andy.Cohen@cognex.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 1.212177 secs); 10 Sep 2003 20:58:18 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 10 Sep 2003 20:58:17 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HL000HIPNL1FK@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 10 Sep 2003 16:58:15 -0400 (EDT) Original-Received: from cambridge1-smrly1.gtei.net (cambridge1-smrly1.gtei.net [199.94.215.245]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HL000H6QNKOU4@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 10 Sep 2003 16:58:01 -0400 (EDT) Original-Received: from cognex.cognex.com (cognex-cp.cognex.com [198.232.30.75]) by cambridge1-smrly1.gtei.net (Postfix) with ESMTP id DE97779D1 for ; Wed, 10 Sep 2003 20:58:01 +0000 (GMT) Original-To: "Tru64-Unix-Managers \(E-mail\)" X-MIMEOLE: urn:content-classes:message X-Mailer: Internet Mail Service (5.5.2653.19) content-class: urn:content-classes:message x-scanned-by: urn:content-classes:message x-spam-score: urn:content-classes:message x-canitpro-stream: urn:content-classes:message Xref: main.gmane.org gmane.os.tru64.managers:5314 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5314 Thanks to everybody who replied. Basically this setting can be changed without rebooting: sysconfig -r sec acl_mode=enable did the trick. A. Majeske went on to suggest: To make sure that ACLs are enabled after reboots create a stanza file, e.g. acl.stanza containing: sec: acl_mode=enable Then use sysconfigdb to add it to the /etc/sysconfigtab file: #sysconfigdb -m -f acl.stanza sec Note: There's lots of information on setting up and using ACLs in the Security manual, or Security Administration manual for V5.1B That worked perfectly as well. D. Byrd had some additional helpful information: If you look at the output from "sysconfig -Q sec", check the OP field for an 'R'. It Would allow for changing the variable in a 'Running' kernel. If the OP field only has CQ, then you must reboot after you modify the variable in /etc/sysconfigtab. OP is the 'operation' field. The 'C' means it is 'configurable' at boot time from the /etc/sysconfigtab file. The 'Q'' means you can 'query' the variable (i.e. look at it). All the variables have 'C' in the OP field. The 'R' means you could do the command "sysconfig -r acl_mode=enable sec" to change the variable in the 'running (live active' kernel without rebooting. You would still want to put it into /etc/sysconfigtab to make the change permanent for each future boot. Thanks to Dan Byrd, Kris Smith, Ann Majeske, Chris Medaglia, Brian Staab, and Martin Moore. Andy ORIGINAL QUESTION ================= Hi, I need to implement some ACLs. When I issue: setacl -u user:{username}:rwx * I get: setacl: Warning: ACL processing is disabled for file: If I issue: root@thor==> sysconfig -q sec I get: sec: acl_mode = disable Is this why I'm getting the warning message? Do I just change /etc/sysconfigtab and reboot? Is there a way to make the change take affect without rebooting? Thanks, Andy Andy Cohen Database Systems Administrator Cognex Corporation 1 Vision Drive Natick, MA 01760