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

util/cli/su.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Su command for muFS (spawns off new shell also).
Author:Chris Mc Carthy (cmccarth at icl.rtc-cork.ie)
Uploader:cmccarth icl rtc-cork ie
Type:util/cli
Architecture:m68k-amigaos
Date:1995-11-09
Download:http://aminet.net/util/cli/su.lha - View contents
Readme:http://aminet.net/util/cli/su.readme
Downloads:394


                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:


This program requires MultiUser, © Copyright 1993-1994 by Geert Uytterhoeven.


Contents of util/cli/su.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 3529    5384  65.5% -lh5- 4557 Nov  4  1995 su/su
[generic]                 1706    3772  45.2% -lh5- a3c0 Nov  4  1995 su/su.bak
[generic]                 2003    4696  42.7% -lh5- 284f Nov  4  1995 su/su.c
[generic]                 1706    3772  45.2% -lh5- a3c0 Nov  4  1995 su/su.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    8944   17624  50.7%            Nov  9  1995

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>