On Sat, Dec 16, 2000 at 12:59:16PM +1000, Bill wrote:
> I've installed Mandrake 7.2 (APC Pocketbook) with all current updates and
> cannot get any changes to the PATH to work.
>
MUST ... RESIST ... BAD ... COMMENTS
:-)
> I downloaded and installed InstantMounter and added "/opt/instantmounter/"
> to /etc/profile.(original /etc/profile hereunder). InstantMounter runs ok,
> but some of the graphics fail to load (ie the red/green unmounted/mounted
> indicators).
>
Then you know that the seperator for PATH is a ':' and it may be better to stuff it in
your own .bash(rc|\_profile)
Check your spelling, you quoted '/opt/instantmonter' down below.
> Any help appreciated. Haven't had problems with PATH in earlier Mandrake or
> RedHat distros.
>
>
>
> # /etc/profile
> # (c) MandrakeSoft, Chmouel Boudjnah <[EMAIL PROTECTED]>
>
> # Users generally won't see annoyng core files
> [ "$UID" = "0" ] && ulimit -c 1000000
>
> # System wide environment and startup programs
> # Functions and aliases go in /etc/bashrc
> PROFILE_LOADED=1
>
> ##### Handle by Mandrake Security
> #PATH="$PATH:/usr/X11R6/bin"
>
> ##### Handle by Mandrake Security
> #if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
> # umask 002
> #else
> # umask 022
> #fi
>
> USER=`id -un`
> LOGNAME=$USER
> MAIL="/var/spool/mail/$USER"
>
> HOSTNAME=`/bin/hostname`
> HISTSIZE=1000
>
> if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
> export INPUTRC=/etc/inputrc
> fi
>
> export PATH PS1 USER LOGNAME MAIL HOSTNAME HISTSIZE
>
> if [ -x /usr/bin/lesspipe.sh ];then
> export LESSOPEN="|/usr/bin/lesspipe.sh %s"
> fi
>
> for i in /etc/profile.d/*.sh ; do
> if [ -x $i ]; then
> . $i
> fi
> done
>
> unset i
> # Mandrake-Security : if you remove this comment, remove the next line too.
> SECURE_LEVEL=4
> # Mandrake-Security : if you remove this comment, remove the next line too.
> if [[ ${UID} == 0 ]]; then umask 022; else umask 077; fi
> # Mandrake-Security : if you remove this comment, remove the next line too.
> PATH=$PATH:/usr/X11R6/bin:/usr/games XXX added ":/opt/instantmonter" here
> XXXX
> # Mandrake-Security : if you remove this comment, remove the next line too.
> export PATH SECURE_LEVEL
>
> Thanks
>
> Bill
--
Steve
"I'm a sysadmin because I couldn't beat a blind monkey in a coding contest."
--Me
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug