AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/misc/zznyydmufs.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Usefull support commands for MultiUser
Author: zznyyd at diku.dk (Finn Nielsen)
Uploader:zznyyd diku dk (Finn Nielsen)
Type:util/misc
Version:1.01
Architecture:m68k-amigaos
Date:1996-08-17
Requires:MultiUserFileSystem (Aminet:util/misc/MultiUser#?)
Replaces:util/misc/zznyydmufs.lha
Download:util/misc/zznyydmufs.lha - View contents
Readme:util/misc/zznyydmufs.readme
Downloads:787

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


Contents of util/misc/zznyydmufs.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1595    2480  64.3% -lh5- 8167 Aug 16  1996 zznyydmufs/C/chgrp
[generic]                 1666    2568  64.9% -lh5- 0269 Aug 16  1996 zznyydmufs/C/chgrp37
[generic]                 2087    3160  66.0% -lh5- 8070 Aug 16  1996 zznyydmufs/C/chmod
[generic]                 1815    2928  62.0% -lh5- 7276 Aug 16  1996 zznyydmufs/C/chown
[generic]                 1892    3020  62.6% -lh5- cf71 Aug 16  1996 zznyydmufs/C/chown37
[generic]                  963    1388  69.4% -lh5- b8fa Aug  8  1996 zznyydmufs/C/Login
[generic]                 1004    1424  70.5% -lh5- cee2 Aug  8  1996 zznyydmufs/C/Logout
[generic]                  674     892  75.6% -lh5- 2093 Aug 11  1996 zznyydmufs/C/su
[generic]                 5799   16283  35.6% -lh5- 60d8 Aug 15  1996 zznyydmufs/Doc/zznyydmufs.guide
[generic]                 2034    6011  33.8% -lh5- 1529 Aug  8  1996 zznyydmufs/Src/Login.c
[generic]                 2346    6763  34.7% -lh5- f546 Aug  8  1996 zznyydmufs/Src/Logout.c
[generic]                  120     163  73.6% -lh5- 8b33 Aug 11  1996 zznyydmufs/Src/SCOPTIONS
[generic]                 1763    5150  34.2% -lh5- 3c64 Aug 11  1996 zznyydmufs/Src/su.c
[generic]                 1465    3535  41.4% -lh5- 7e25 Aug 15  1996 zznyydmufs.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        14 files   25223   55765  45.2%            Aug 17  1996
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>