From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Glenn.Morris@hinchingbrooke.nhs.uk Newsgroups: gmane.os.tru64.managers Subject: SUMMARY - password change Date: Wed, 16 Jul 2003 10:56:11 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1058349328 23930 80.91.224.249 (16 Jul 2003 09:55:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2003 09:55:28 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jul 16 11:55:27 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19cj0Q-0006Do-00 for ; Wed, 16 Jul 2003 11:55:27 +0200 Original-Received: (qmail 22104 invoked by uid 5); 16 Jul 2003 09:56:15 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 22095 invoked by uid 49493); 16 Jul 2003 09:56:15 -0000 Original-Received: from Glenn.Morris@hinchingbrooke.nhs.uk by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0.8/5.0):. Processed in 0.442754 secs); 16 Jul 2003 09:56:15 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 16 Jul 2003 09:56:14 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HI400ER83LGXL@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 16 Jul 2003 05:56:14 -0400 (EDT) Original-Received: from mail5.nhs.uk (mail5.nhs.uk [194.72.23.242]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HI400J2J3L6CR@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 16 Jul 2003 05:56:00 -0400 (EDT) Original-Received: from hn-ext by mail5.nhs.uk (Sendmail 8.8.8) with esmtp id 19cj0s-0005vM-00; Wed, 16 Jul 2003 10:55:54 +0100 Original-Received: from relay.nhs.uk (194.62.42.142) by relayint2.nhs.uk (Syntegra-I2 7.0.008) id 3F104814000954BF for tru64-unix-managers@ornl.gov; Wed, 16 Jul 2003 10:55:53 +0100 Original-Received: from Mailserver1.hinchingbrooke.nhs.uk (194.227.84.14) by relay.nhs.uk (Syntegra-2 7.0.008) (authenticated as hinchingbrooke_nhs_uk@es2002.nhs.uk) id 3F13F7BC0003BF70 for tru64-unix-managers@ornl.gov; Wed, 16 Jul 2003 10:55:53 +0100 Original-Received: by Mailserver1.hinchingbrooke.nhs.uk with Internet Mail Service (5.5.2653.19) id <3313RANC>; Wed, 16 Jul 2003 10:56:11 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:4857 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4857 **Before acting on this e-mail or opening any attachment you are advised to read Hinchingbrooke's disclaimer at the end of this e-mail** Original question I would like to delegate my responsibility of password resetting to a specific user. I do not want to give them root access, hence my question, is there a way for a specific user account to reset other users logins. I would like to do this from command line and not install 3rd party software. I received replies quickly from many people pointing me in the direction of DOP thanks, but a big thanks goes to Peter Wolfe who guided me through step by step. My solution was to use dop - modifying /etc/doprc file as follows #-----------------------------------# ItOff { {users { itoff }} {groups { itoff }} {description { Created to allow IT Officers can change passwords. }} } #------------------------------# It_passwd { {privs {ItOff}} {path {cli:/usr/bin/passwd *}} } then using the command 'dop -s -W' to enable changes and write to binary file. The command /usr/sbin/dop It_passwd is run by the user itoff. ***************** Hinchingbrooke's E-Mail Disclaimer ***************** This e-mail is confidential and privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation. **********************************************************************