Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* superuser access
@ 2001-05-18 15:48 Danesh Sheikh
  2001-05-18 17:12 ` Andrew Duane USG
  2001-05-18 17:22 ` Ann Majeske
  0 siblings, 2 replies; 3+ messages in thread
From: Danesh Sheikh @ 2001-05-18 15:48 UTC (permalink / raw)


Does anybody know how to setup superuser access for a non-privilege
user?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: superuser access
  2001-05-18 15:48 superuser access Danesh Sheikh
@ 2001-05-18 17:12 ` Andrew Duane USG
  2001-05-18 17:22 ` Ann Majeske
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Duane USG @ 2001-05-18 17:12 UTC (permalink / raw)


In article <3B05444A.56BC766F@mdx.ac.uk> Danesh Sheikh <danesh1@mdx.ac.uk> writes:
>Does anybody know how to setup superuser access for a non-privilege
>user?

Make sure the user is in group "system" (0) in /etc/group,
then give him/her the root password.

--

Andrew L. Duane (JOT-7)			duane@zk3.dec.com
Compaq Computer Corporation		(603)-884-1294
110 Spit Brook Road
M/S ZKO3-3/U14
Nashua, NH    03062-2698




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: superuser access
  2001-05-18 15:48 superuser access Danesh Sheikh
  2001-05-18 17:12 ` Andrew Duane USG
@ 2001-05-18 17:22 ` Ann Majeske
  1 sibling, 0 replies; 3+ messages in thread
From: Ann Majeske @ 2001-05-18 17:22 UTC (permalink / raw)


> 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).


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-05-18 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-18 15:48 superuser access Danesh Sheikh
2001-05-18 17:12 ` Andrew Duane USG
2001-05-18 17:22 ` Ann Majeske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox