06.12.2012 Aufrufe

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

Technische Dokumentation zum Unix-Verbund ... - Dr. Hubert Feyrer

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

B.3 Adduser/default/adduser 286<br />

&disableextras; # retain from Oracle, ...<br />

&nukehome; # nuke homedir<br />

&nukemail; # nuke mailfolder<br />

&updatepasswd; # remove entry from passwd file<br />

&updateNIS; # update NIS map, if wanted (-m not given)<br />

&clearlock($DEF_LOCK); # unlock passwd-file<br />

exit 0;<br />

B.3 Adduser/default/adduser<br />

# $Id: adduser,v 1.5 1998/01/07 13:43:43 feyrer Exp $<br />

##########################################################################<br />

# The contents of this file are (c) Copyright 1996-1998 by <strong>Hubert</strong> <strong>Feyrer</strong>.<br />

# Any use of the knowledge stored in this file may not be used outside<br />

# of the Fachhochschule Regensburg without contacting me first.<br />

###########################################################################<br />

#<br />

# Defaults for Solaris' adduser and deluser<br />

#<br />

GROUP = student<br />

SHELL = /soft/bin/tcsh<br />

S_BASE = /home2/student<br />

B_BASE = /home3/bedienst<br />

UID_MIN = 101<br />

UID_MAX = 60000<br />

YP_DIR = /var/yp<br />

MAKE = /usr/ccs/bin/make<br />

LOCK = /var/yp/passwd.lock<br />

SKEL = /home3/bedienst/dummy<br />

QUOTAUSER = dummy<br />

B.4 Adduser/addcourse<br />

#!/soft/bin/perl --<br />

# $Id: addcourse,v 1.4 2000/02/26 02:35:24 feyrer Exp $<br />

##########################################################################<br />

# The contents of this file are (c) Copyright 1996-1998 by <strong>Hubert</strong> <strong>Feyrer</strong>.<br />

# Any use of the knowledge stored in this file may not be used outside<br />

# of the Fachhochschule Regensburg without contacting me first.<br />

###########################################################################<br />

sub usage<br />

{<br />

print "Usage: $0 [adduser-options] course no#logins\n";<br />

}<br />

if($#ARGV

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!