This topic describes how non-root users can create or augment profiles on Linux and UNIX systems.
Non-root users must store their profiles in their private directory structure, not in the install_root directory of the product.
mkdir /opt/IBM/WebSphere/ProcServer/logs/wasprofile
export WASHOME=/opt/IBM/WebSphere/ProcServer echo $WASHOME echo "Performing chggrp/chmod per WAS directions..." echo "This script will *try* to create WAS_HOME/logs/wasprofile...it may already exist" mkdir $WASHOME/logs/wasprofile chgrp profilers $WASHOME/logs/wasprofile chmod g+wr $WASHOME/logs/wasprofile chgrp profilers $WASHOME/properties chmod g+wr $WASHOME/properties chgrp profilers $WASHOME/properties/fsdb chmod g+wr $WASHOME/properties/fsdb chgrp profilers $WASHOME/properties/profileRegistry.xml chmod g+wr $WASHOME/properties/profileRegistry.xml echo "Performing chggrp/chmod per WPS directions..." chgrp profilers $WASHOME/CEI/properties/version chmod g+wr $WASHOME/CEI/properties/version chgrp profilers $WASHOME/CEI/properties/version/event_server.product chmod g+wr $WASHOME/CEI/properties/version/event_server.product echo "These are necessary if using cloudscape..." chgrp profilers $WASHOME/cloudscape chmod g+wr $WASHOME/cloudscape chgrp profilers $WASHOME/cloudscape/db2j.log chmod g+wr $WASHOME/cloudscape/db2j.log chgrp profilers $WASHOME/cloudscape/databases chmod g+wrx $WASHOME/cloudscape/databases echo "And in case WPSDB already exists..." chgrp profilers $WASHOME/cloudscape/databases/WPRCSDB chmod g+wrx $WASHOME/cloudscape/databases/WPRCSDB chgrp -R profilers $WASHOME/cloudscape/databases/WPRCSDB/* chmod -R g+wrx $WASHOME/cloudscape/databases/WPRCSDB/* echo "done
Non-root users who belong to the group profilers can then create or augment a profile in any directory to which they have write permission.
If a non-root user does not have write access to any directories, it is up to the root user to change that situation. If the non-root user does not have write access to the /tmp directory, it is up to the root user to change that as well.
Last updated: Tue Feb 21 17:47:10 2006
(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)