04-12-2002
Using a Sun Ultra 5 at work
I wouldn't call myself exactly new to Unix. I've played with Linux before so I can get around alright. I just have never really learned the basics, like setting a user's path. How do I do that on my Sun station? Obvioulsly, I've got several different bins, but I can only use the commands in /usr/bin because that's what my path is. How do I use the others?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello everybody!!
I need your help again.
I am using Sun Ultra sparc 60 machine.Follwing are the types of files getting generated in /var/tmp.
"windu_sm_o aaaa,baaa,caaa,daaa" etc.
I am not able to locate which application is generating these files.
Can I straightway delete these files ? or... (1 Reply)
Discussion started by: vikasdeshmukh
1 Replies
2. UNIX Benchmarks
Sparc Ultra2:
Notes
prtdiag:
System Configuration: Sun Microsystems sun4u Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz)
System clock frequency: 99 MHz
Memory size: 768 Megabytes
========================= CPUs =========================
Run Ecache CPU CPU... (0 Replies)
Discussion started by: tnorth
0 Replies
3. UNIX Benchmarks
Sun Ultra30 Solaris 8
Notes:
...
Results:
System -- SunOS box 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-30
Start Benchmark Run: Fri Sep 12 11:59:12 EDT 2003
1 interactive users.
Dhrystone 2 without register variables 502087.7 lps (10 secs, 6 samples)
Dhrystone 2 using... (2 Replies)
Discussion started by: tnorth
2 Replies
4. Solaris
am wonder wich sun computer is better, a sun ultra or sun sparkstation, and what is the difference (7 Replies)
Discussion started by: nobody
7 Replies
5. Solaris
Hi Guys,
I have a 2nd hand Sun ultra-5, I wanted to know how to be able to run it as a normal window. I do not have any experience whatsoever with solaris/unix. Does anyone can give me a clue where to start. When I switch it goes to:
unix console login:
pa$$word:
#UNIX sendmail : enable to... (0 Replies)
Discussion started by: lingosa
0 Replies
6. Solaris
now what do i do?
im looking at it and i booted it after a bunch of code i got a line askign for the password
i also downloaded solaris 10
any advice on how to install it? (36 Replies)
Discussion started by: russian460
36 Replies
7. Solaris
Hi All,
I bought a sun workstation from ebay. Can I replace the cd-rom drive with a dvd-rom drive with any type? I mean, can I just buy a dvd-rom drive from a pc store?
Thanks,
itik (2 Replies)
Discussion started by: itik
2 Replies
8. Solaris
hi all,
it seem hard to see on a regular monitor the ultra 10 converter to rgb so that it can go to a pc monitor.
do u know how can i fix the monitor properly? it's not easy to see on the monitor there's so many lines.
thanks in advance. (2 Replies)
Discussion started by: itik
2 Replies
9. Solaris
Hi experts
is it possible to install lom on sun ultra 10 box?
can you guys help me in undertanding lom as i tried goggling , couldn't get good stuff.
Please :) (6 Replies)
Discussion started by: kumarmani
6 Replies
10. Solaris
Hi
I have just acquired an Ultra 5. It has 256MB of memory and a 360Mhz Ultra IIi SPARC processor. So far, I have had some typical fun and games to get it working:
- It had a dead NVRAM chip. I hacked it open and installed a CR2032. It looks suitably bodged up, but is working. I set the MAC... (8 Replies)
Discussion started by: _JonB_
8 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/lib/sendmail.d/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'', ``/usr/bin/vacation'', ``/home/server/mydir/bin/vaca-
tion'', and ``vacation'' all actually forward to `/usr/lib/sendmail.d/bin/vacation''.
System administrators should be conservative about populating the /usr/lib/sendmail.d/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
/usr/lib/sendmail.d/bin/ directory. Note that this does not restrict the use of shell or perl scripts in the /usr/lib/sendmail.d/bin/
directory (using the ``#!'' syntax); it simply disallows 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/lib/sendmail.d/bin/'').
FILES
/usr/lib/sendmail.d/bin/ - default directory for restricted programs on SuSE Linux
SEE ALSO
sendmail(8)
$Date: 2004/08/06 03:55:35 $ SMRSH(8)