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

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

 



Haresh Motwani wrote:

>Actually, I need to edit /etc/passwd file thru a gui. The user will be 
>asked to enter his username and current pwd along with the new pwd. On 
>submit the script will validate the current pwd and then change it. For 
>this I need to run a script which will be able to edit my /etc/passwd file. 
>Obviously in this case the script would be running as user.
>
>  
>
>>
>>On Wed, Nov 06, 2002 at 12:49:43PM +0530, 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.
>>>
>>>      
>>>

Hi,
    I am not usre what dist you are using, but on my RH box I have 2 gui 
password programs, userhelper and tkpasswd.

Hope that helps,
Jeff



-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9yW2b8Ub+t0iGyLARAqzbAKCVRlaphWm7gtQe+q5ASFJuiWLV5QCgyl4L
ogTt0wm/n/mlmAXFLK2HoDo=
=dldc
-----END PGP SIGNATURE-----


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