On Tue, 01 Feb 2005 13:15:07 +0800, Qiangning Hong <[EMAIL PROTECTED]> wrote:
> I want user1 can change the password of user2, but can not change
> user3's.  How?

You could set up sudo so that the user1 can only issue the passwd
command with the arguement of "user2".

For example, in the sudoers file (edited by visudo), you include something like:

user1 ALL=(ALL) /bin/passwd user2

Check the syntax... I may not be 100% as I haven't played around with
sudo for a while...

...Ric
-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
== Do you, uh... Gentoo? Gentoooo-hooo!! ==

--
[email protected] mailing list

Reply via email to