From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,658d882cdbb4471a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-05-18 10:24:02 PST Path: archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!not-for-mail Message-ID: <3B055A70.9A762418@Compaq.com> From: Ann Majeske X-Mailer: Mozilla 4.77 [en] (X11; U; OSF1 X5.1 alpha) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Re: superuser access References: <3B05444A.56BC766F@mdx.ac.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 18 May 2001 13:22:56 -0400 NNTP-Posting-Host: 16.140.128.94 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 990206641 16.140.128.94 (Fri, 18 May 2001 10:24:01 PDT) NNTP-Posting-Date: Fri, 18 May 2001 10:24:01 PDT Organization: Compaq Computer Corporation Xref: archiver1.sj.google.com comp.unix.tru64:2248 > Does anybody know how to setup superuser access for a non-privilege > user? Depends on what you want to do. If you want a user to have full superuser access, but be able to track what they're doing with audit, you could set up a second account with uid 0, have them su to this account for superuser access. If you want a user to be able to do one thing that requires root access, you could write a program that executes this thing, make it setuid root, and set it to be executable only by the given user. If you want some users to be able to do some things that require root access, you should look into "dop" (available on the system, starting with V5.0 or thereabouts) or "sudo" (freeware).