RE: Editing /etc/passwd as a non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




You can use the sudo command.
and add your user in the /etc/sudoers config file.
see "man 8 sudo".

Christophe


>|-----Original Message-----
>|From: Haresh Motwani [mailto:haresh@w-o-i.com]
>|Sent: Wednesday, November 06, 2002 8:20 AM
>|To: security-discuss@linuxsecurity.com
>|Subject: Editing /etc/passwd as a non-root user
>|
>|
>|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.


[Index of Archives]     [Fedora Announce]     [Linux Crypto]     [Kernel]     [Netfilter]     [Bugtraq]     [USB]     [Fedora Security]

  Powered by Linux