#!/bin/sh # # /usr/local/bin/localpasswd # Copyright 2003 Jonas Smedegaard # # $Id: localpasswd,v 1.1 2003-12-17 14:53:28 jonas Exp $ # # Execute passwd through sudo # # TODO: Check for bad arguments # TODO: Only allow handling regular users # sudo=sudo [ "$(id -u)" -ne 0 ] || sudo= exec $sudo /usr/bin/passwd $1 le='Atom feed' href='https://source.jones.dk/notmuch/atom/tags/26/e0/003712f5a45ac3d02e80f12a9219848a@www.bewelcome.org/inbox?h=master' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/26/e0/003712f5a45ac3d02e80f12a9219848a@www.bewelcome.org/inbox
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
Diffstat (limited to 'tags/26/e0/003712f5a45ac3d02e80f12a9219848a@www.bewelcome.org/inbox')