On Thu, 11 May 2000, Ron Greer wrote:
:~>Two things:
:~>1. How to set an EXECUTABLE to run AS root: Chmod 6755 <executable name>
:~>The 6 sets the Set-UID Flag :)
very bad. This gives everyone the right to run this binary as root.
Better way to go is to use sudo, or at least:
chown root.mygroup <binary>
chmod 6750 <binary>
and add the users you want to use the prog to "mygroup".
:~>2. How to set a USER as SUPERVISOR: Easiest way, edit /etc/passwd change
:~>the
:~><username>:x:<number>:<number>:etc
:~>to
:~><username>:x:0:0:etc
By no means! Please, this will give the user ALL the root permissions ALL
the time! This is EXTREMELY dangerous. A rm -rf / and wuuup - all is gone.
cu
Denis
:~> -=Ron=-
:~>
:~>
:~>-----Original Message-----
:~>From: Denis HAVLIK [mailto:[EMAIL PROTECTED]]
:~>Sent: Thursday, May 11, 2000 10:45 AM
:~>To: [EMAIL PROTECTED]
:~>Subject: Re: [newbie] Root Password
:~>
:~>
:~>use SUDO. And use it sparsly, too .-)
:~>
:~>:~>Anyone know anything about how to set super permissions to a user without
:~>giving them the root password, or the authority to change the root password
:~>once they are granted super user permissions.
:~>:~>Thanks in advance.
:~>:~>Dave
:~>:~>
:~>
:~>
--
-----------------------------------------------------
Dr. Denis Havlik <http://www.ap.univie.ac.at/users/havlik>
Mandrakesoft ||| e-mail: [EMAIL PROTECTED]
Quality Assurance (@ @) (private: [EMAIL PROTECTED])
-------------------oOO--(_)--OOo---------------------