Re: Editing /etc/passwd as a non-root user
Sorry to say at this time you have two options 1 using su to run the
script.
Second using roots cron to fire off the script whichj will run it under
roots permissions
Dave Blomberg
Systems Engineer
Japan
On Wed, 2002-11-06 at 16:19, Haresh Motwani wrote:
> I need to read and edit /etc/passwd file thru a script which is running as
> a user.
>
> Can suEXEC do it? is there any other way of doing it.
>
>
> -- Attached file included as plaintext by Ecartis --
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.385 / Virus Database: 217 - Release Date: 9/4/02
>
>
> ------------------------------------------------------------------------
> To unsubscribe email security-discuss-request@linuxsecurity.com
> with "unsubscribe" in the subject of the message.
>
------------------------------------------------------------------------
To unsubscribe email security-discuss-request@linuxsecurity.com
with "unsubscribe" in the subject of the message.
[Fedora Announce]
[Linux Crypto]
[Kernel]
[Netfilter]
[Video for Linux]
[Bugtraq]
[USB]
[Fedora Security]