10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Most of our systems have the apache customized, and started manually via the command line. One eg :
# ps -aux | grep http
root 6278 0.0 0.0 112708 984 pts/2 S+ 16:32 0:00 grep --color=auto http
root 6398 0.0 0.3 570636 14376 ? Ss Sep17 8:34... (6 Replies)
Discussion started by: anaigini45
6 Replies
2. HP-UX
Due to an activity scheduled on the server, I had stop the apache process and then restart when the activity completed. The activity started at 9am and ended around 9 pm.
To list the apache processes that were running on the server before I stopped it, I used ps -ef | grep apache, and these were... (11 Replies)
Discussion started by: anaigini45
11 Replies
3. UNIX for Dummies Questions & Answers
e.g.
File name: File.txt
cat File.txt
Result:
#INBOUND_QUEUE=FAQ1
INBOUND_QUEUE=FAQ2
I want to get the value for one which is not commented out.
Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies
4. Ubuntu
I am unfamiliar with below error and how to fix it, it happens when I start the terminal in Ubuntu 14.04.3. I do not send any command only press crtl+alt+T. It seems to indicate that something is missing from PATH but I’m not really sure what. Thank you :).
Command 'lesspipe' is... (24 Replies)
Discussion started by: cmccabe
24 Replies
5. UNIX for Dummies Questions & Answers
After trying to make an update to my vim settings, i'm now getting this error message when vim tries to start. Any suggestions would be much appreciated :)
Error detected while processing .vimrc:
line 40:
E15: Invalid expression:
E15: Invalid expression: (0 Replies)
Discussion started by: khoges11
0 Replies
6. Slackware
I was trying to open the port for my ftp end also I´ve triedto start firefox and so i received the following error: Input / Output Error. When i try to start that one in console i receive the following: No Protocol Especified No Protocol Especified Error: Cannot open display: :0,0 (1 Reply)
Discussion started by: darkpirate
1 Replies
7. Red Hat
Dear All,
I am facing a unknown error, I start the Linux (RHEL 4 update 6) as usual.
After starting the various services(like network,sendmail,portmap etc) a error appears suddenly.
The error looks like :
Post_create: setxattr failed, rc=28 (dev=hda2 ino=772685)
Post_create: setxattr... (2 Replies)
Discussion started by: akhtar.bhat
2 Replies
8. Linux
Hi eveyone and Happy Holidays,
My problem is starting splashy in fedora 8 what i have done is:-
installed splashy with no errors
edited grub removed rhgb and added quiet vga=791 splash
set default theme with command splashy_config -s default no errors
added /sbin/splashy boot in... (4 Replies)
Discussion started by: dave123
4 Replies
9. UNIX for Dummies Questions & Answers
I just installed Apache 2.2.6 & when trying to start it i got this:
Invalid command 'SSLProtocol', perhaps misspelled or defined by a module not included in the server configuration
Any help? (3 Replies)
Discussion started by: moe2266
3 Replies
10. AIX
Hi all
while giving command ssh start i am getting following error
exec(): 0509-036 Cannot load program ssh because of the following errors:
0509-150 Dependent module /opt/freeware/lib/libcrypto.a(libcrypto.so.0.9.7) could not be loaded.
0509-152 Member... (4 Replies)
Discussion started by: kmalla
4 Replies
SMRSH(8) System Manager's Manual SMRSH(8)
NAME
smrsh - restricted shell for sendmail
SYNOPSIS
smrsh -c command
DESCRIPTION
The smrsh program is intended as a replacement for sh for use in the ``prog'' mailer in sendmail(8) configuration files. It sharply limits
the commands that can be run using the ``|program'' syntax of sendmail in order to improve the over all security of your system. Briefly,
even if a ``bad guy'' can get sendmail to run a program without going through an alias or forward file, smrsh limits the set of programs
that he or she can execute.
Briefly, smrsh limits programs to be in a single directory, by default /usr/libexec/sm.bin, allowing the system administrator to choose the
set of acceptable commands, and to the shell builtin commands ``exec'', ``exit'', and ``echo''. It also rejects any commands with the
characters ``', `<', `>', `;', `$', `(', `)', `
' (carriage return), or `
' (newline) on the command line to prevent ``end run'' attacks.
It allows ``||'' and ``&&'' to enable commands like: ``"|exec /usr/local/bin/filter || exit 75"''
Initial pathnames on programs are stripped, so forwarding to ``/usr/bin/vacation'', ``/home/server/mydir/bin/vacation'', and ``vacation''
all actually forward to ``/usr/libexec/sm.bin/vacation''.
System administrators should be conservative about populating the sm.bin directory. For example, a reasonable additions is vacation(1),
and the like. No matter how brow-beaten you may be, never include any shell or shell-like program (such as perl(1)) in the sm.bin direc-
tory. Note that this does not restrict the use of shell or perl scripts in the sm.bin directory (using the ``#!'' syntax); it simply dis-
allows execution of arbitrary programs. Also, including mail filtering programs such as procmail(1) is a very bad idea. procmail(1)
allows users to run arbitrary programs in their procmailrc(5).
COMPILATION
Compilation should be trivial on most systems. You may need to use -DSMRSH_PATH="path" to adjust the default search path (defaults to
``/bin:/usr/bin'') and/or -DSMRSH_CMDDIR="dir" to change the default program directory (defaults to ``/usr/libexec/sm.bin'').
FILES
/usr/adm/sm.bin - default directory for restricted programs on most OSs
/var/adm/sm.bin - directory for restricted programs on HP UX and Solaris
/usr/libexec/sm.bin - directory for restricted programs on FreeBSD (>= 3.3) and DragonFly BSD
SEE ALSO
sendmail(8)
$Date: 2013-11-22 20:52:00 $ SMRSH(8)