Displaying 4 results from an estimated 4 matches for "pathmung".
Did you mean:
pathmunge
2007 Aug 20
4
'service' command not present
I just did an install of CentOS 5 on one of my machines. However, when
I try to use the 'service' command (such as 'service httpd start') I get
an error that the service command is not found.
Why would that be? Where does this command come from? I can launch
the services just fine using the respective /etc/init.d/ entries.
--
Cheers,
Trey
----
Dieters live life in the
2013 Jan 21
0
Custom locale, LC_TYPE and urxvt
...to set envvars
for i in /etc/profile.d/*.sh; do
if [ -r "$i" ]; then
if [ "$PS1" ]; then
. "$i"
else
. "$i" >/dev/null 2>&1
fi
fi
done
unset i
unset pathmunge
fi
However, when I look for the mate to that final 'fi' I find this:
. . .
if ! shopt -q login_shell ; then # We're not a login shell
# Need to redefine pathmunge, it get's undefined at the end of
/etc/profile
pathmunge ()
. . .
Evidently /etc/profile.d/lang.sh only...
2005 Mar 22
2
etc/profile attached.
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile
Type: application/octet-stream
Size: 940 bytes
Desc: profile
Url : http://lists.caosity.org/pipermail/centos/attachments/20050322/7fca58d3/profile.obj
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...to create a /usr/local/samba/lib/smb.conf
testparm will verify the config file
We will have some legacy stuff from the samba 2 install
To remove those files:
rm -f /etc/smb.conf
rm -f /usr/bin/testparm
rm -f /usr/bin/smbpasswd
lets add the samba path to our PATH
add the following to /etc/profile
pathmunge /usr/local/samba/bin
you have to reload your profile for this to take effect
[root@SAMBA-PDC .ssh]# su -
[root@SAMBA-PDC root]# echo $PATH
/usr/local/samba/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local
/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin
Setup LDAP
Copy the necessary sc...