Short:        Usefull support commands for MultiUser
Author:       zznyyd@diku.dk (Finn Nielsen)
Uploader:     zznyyd diku dk (Finn Nielsen)
Type:         util/misc
Version:      1.01
Replaces:     util/misc/zznyydmufs.lha
Requires:     MultiUserFileSystem (Aminet:util/misc/MultiUser#?)
Architecture: m68k-amigaos


Here are 6 support commands for MultiUserFileSystem:

Replacements for Login and Logout, an su command similar to the one in
Aminet:util/cli/su.lha only much better + clones of the UNIX commands
chmod, chown and chgrp.

All 6 commands are ofcourse pure and can be made resident.

Sources are provided for Login, Logout and su.


If you downloaded the previous release of zznyydmufs please delete it, there
was a small bug in chmod, chown, chown37, chgrp & chgrp37 which has been
fixed for this release.


Login:	Similar to the Login command in the MultiUser package but with two
	extra keywords: PASSWD for automatic login and PUBSCR for putting up
	the login requester on a public screen. GUI switch is automatic
	(source included so that can easily be changed) and is by default on
	unless your pr_WindowPtr is -1. This version of Login also always
	sets $Home on a succesful login.
	The PASSWD argument renders Aminet:util/misc/AutoPass.lha obsolete.

Logout:	Similar to the Logout command in the MultiUser package but with
	three extra keywords: INTO for logging in with another user
	without placing the current user on stack, PASSWD for automatic
	login with INTO and PUBSCR.
			Logout INTO ostemad
		is equivalent to:
			Logout QUIET
			Login ostemad
	Like with Login the GUI switch is automatic and the variable $Home
	is always set correctly.
	The PUBSCR argument renders Aminet:util/misc/Logger.lha obsolete.

su:	Like the su in Aminet:util/cli/su.lha spawns a new shell on another
	username but without the silly limitation that only people in the 
	root group can su to root. Also has a PASSWD argument for automatic 
	login and PUBSCR. Also always sets $Home correctly for both the new 
	and the current shell. Unless your pr_WindowPtr is -1 it tries to 
	use requesters for password inqueries.
			su ostemad
		is equivalent to:
			Login ostemad
			NewShell
			Logout QUIET
	Users of WShell or other shells can easily change the source and
	recompile to run NewWsh or something else instead of NewShell.
	This command renders Aminet:util/cli/su.lha obsolete.

chmod:	Like the UNIX chmod command, but adapted to AmigaDos. Unlike
	Aminet:disk/misc/chmod.lha this chmod command actually resembles
	UNIX chmod with both a symbolic and a numeric mode.
	This command renders Aminet:disk/misc/chmod.lha useless (which I
	feal it already was before anyway because: it's not at all 
	compatible to the UNIX command it's supposed to mimic, it's very 
	big, and it's *not* pure).

chown:	Like the UNIX commands chown and chgrp.
chgrp:


Archive contents:

zznyydmufs.readme		this file
zznyydmufs/C/Login		replacement Login command
zznyydmufs/C/Logout		replacement Logout command
zznyydmufs/C/su			spawn a new shell under another username
zznyydmufs/C/chmod		change permission bits for files and dirs
zznyydmufs/C/chown		change owner and group of files and dirs
zznyydmufs/C/chown37		like chown, but for 2.0 users
zznyydmufs/C/chgrp		change group of files and dirs
zznyydmufs/C/chgrp37		like chgrp, but for 2.0 users
zznyydmufs/Doc/zznyydmufs.Guide	documentation for this package
zznyydmufs/Src/Login.c		source for Login
zznyydmufs/Src/Logout.c		source for Logout
zznyydmufs/Src/su.c		source for su
zznyydmufs/Src/SCOPTIONS	SAS/C options file