Commit 29d88b2a authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

use /bin/bash as su-login-shell

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 213
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 59af6542
......@@ -108,6 +108,9 @@ preferred name for a report file is given in $OBS_LOG and will be unique to
one run of the observer-tool (i.e. it has a time stamp in the file name that
includes the hour at least).
Starting with version 1.6 the observer call /bin/bash as login shell for its
su-clients.
The observer_mkdir.pl tool
--------------------------
......
......@@ -3,7 +3,7 @@
# ----------------------------------------------------------------------------
#
# $Source: /home/tforb/svnbuild/cvssource/CVS/thof/scr/adm/observer/observer.pl,v $
# $Id: observer.pl,v 1.4 2000-03-07 11:45:21 thof Exp $
# $Id: observer.pl,v 1.5 2000-07-31 13:39:02 thof Exp $
#
# 17/01/00 by Thomas Forbriger (IfG Stuttgart)
#
......@@ -21,13 +21,14 @@
# (was not working in former version)
# 22/02/00 V1.4 change to users home directory before calling /bin/su
# 07/03/00 V1.5 now reports new lines
# 31/07/00 V1.6 now uses /bin/bash as su login shell
#
# ============================================================================
#
# we aren't using Sys::Syslog as I did not managed to get any message through
#use Sys::Syslog;
$VERSION="OBSERVER V1.5 central service";
$VERSION="OBSERVER V1.6 central service";
# called program name
# -------------------
......@@ -232,7 +233,7 @@ foreach $client (keys(%OBSERVER_CLIENT)) {
NOTICELOG("$client has UID $CLIENTUID!");
$CALLCMD="$binBASH -c ";
} else {
$CALLCMD="cd $CLIENTHOME; $binSU $client -c ";
$CALLCMD="cd $CLIENTHOME; $binSU $client -l -s $binBASH -c ";
}
# set directories
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment