DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ T r

⟦99d8a7cb4⟧ TextFile

    Length: 694 (0x2b6)
    Types: TextFile
    Notes: @(#)redeflt.sh 13.1 (RC International) 91/07/25
    Names: »redeflt«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/sadm/sysadm/bin/redeflt« 

TextFile

#	@(#)redeflt.sh	13.1 (RC International) 91/07/25

#	Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#!/sbin/sh
#ident	"@(#)oamintf:usermgmt/redeflt.sh	1.4"

#redeflt
# this will redefine the defaults

grp=`echo ${1} | cut -d, -f1`
basedir=${2}
skel=${3}
shnm=${4}
inact=$5
exp=$6

group=`echo ${grp} | sed -n -e "s/^\([^,]*\).*/\1/p"`

putusrdefs -g ${group} -b ${basedir} -k ${skel} -s ${shnm} -f "$inact" -e "$exp" >/tmp/dflterr 2>&1

if [ $? -eq 0 ]
then
	rm -f /tmp/dflterr
	exit 0
else
	exit 1
fi