home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 10
/
aminetcdnumber101996.iso
/
Aminet
/
util
/
cli
/
su.lha
/
su
/
su.bak
< prev
next >
Wrap
Text File
|
1995-11-04
|
4KB
|
104 lines
Substitute User (for muFS).
----------------------------------------------
Program to do the equivilant of the *IX su command (Substitute User)
for the MultiUserFileSystem.
If 1 argument is given (the userid), an attempt will be made to create
a new shell under the new userid's uid. If the argument is the userid
"root" (the superuser), or if there are no arguments given (in which case
it defaults to "root"), the su program will check to see if the current
user is a member of the group root (either primary or secondary).
If the user is not in the group root, the program will return
unsuccessfully.
Next the password of the new user is requested, if the password matches
the password of the supplied userid, then a new shell is spawned with the
new user's uid, and the su program returns, and so does not wait for the
other shell to return.
Failed/Successfull attempts at su may/may not be logged in the
multiuser.log file. This is handled my the multiuser.server, so it depends
on your config file.
NOTE: The super-user (root) does not need a password to su to any other
user.
To install, just copy the binary "su" to somewhere in your command
path, e.g. c:
There are no known bugs, if you find some, please let me know.
About the author.
---------------------------
© 1995 Chris Mc Carthy.
email:
cmccarth@icl.rtc-cork.ie (Try this first, though sometimes
our /var partition fills up with
coredumps from the mailer :-( )
cmccarth@dullahan.rtc-cork.ie (mailer not configured yet, new system)
atoz@nether.net (Safest, but may take a while to reply)
atoz@mayhem.inferno.net
smail: Chris Mc Carthy
Castlepark
Kinsale
Co. Cork
Ireland.
IRC: AtoZ on #hack, #amiga, #wasteland (Mainly on the Undernet).
I wonder if there will ever be a mufs 2.0 (Hurry up Geert !!!)
About muFS (Multi User File System)
----------------------------------------
Short: Multi User System Security (source)
Type: util/misc
Author: Geert Uytterhoeven - Huysmansstraat 12 - B-3128 BAAL - BELGIUM
Introduction
------------
MultiUser allows you to create a *IX-like environment where several users live
together in harmony, unable to delete each others files, unable to read those
private love-letters of other users. And this even if several users are
working on the machine at the same time (on a terminal hooked up to the serial
port)
People without a valid login ID and password won't be able to access files you
have made private with MultiUser. If you make all files private (not readable
for others), the only useful thing they could do, is boot from a floppy.
Distribution
------------
MultiUser Release 1.8 is distributed in 3 archives:
MultiUser18_bin.lha: Basic MultiUser package (you really need this!)
MultiUser18_api.lha: Include files, autodoc, etc...
MultiUser18_src.lha: Source for the library and support commands
There is no new distribution of the external utilities; use the archive
from the 1.7 release: MultiUser17_ext.lha
For more information about MultiUser (disclaimer, distributability, usage,
etc...), read the documentation file 'MultiUser.doc' in the archive
'MultiUser18_bin.lha'.
Additional Note
---------------
Release 1.8 was compiled by Norbert Püschel with permission from Geert
Uytterhoven. (Geert is busy working on release 2.0. :-) )
---------------------------------------------------------------------------
MultiUser © Copyright 1993-1994 by Geert Uytterhoeven