Sponsored Content
Full Discussion: Update OpenBoot Prom from CD
Operating Systems Solaris Update OpenBoot Prom from CD Post 302894061 by pvibien on Sunday 23rd of March 2014 06:26:46 PM
Old 03-23-2014
Hi, how would i go about adding something to a users path variable

i am using the /bin/sh shell, i tried adding it to the file local.profile, but that does not seem to work.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Prom

Is there any place where i can look for the commands that can be used on the ok> prompt (3 Replies)
Discussion started by: Jai
3 Replies

2. UNIX for Advanced & Expert Users

Having PROM Env remotely !

My workstation's graphic card had problem so unitl it's fixing if i want to have PROM env & run some commands like OK probe-scsi or ..... what should i do ? Rgrds Nikk (1 Reply)
Discussion started by: nikk
1 Replies

3. UNIX for Advanced & Expert Users

PROM password

I have a query. Its about the PROM password on a SUN ULTRA5. I am the administrator of a UNIX network, which is actually a private network within the company that I work for. The IT department who supplied the workstations will not remove the PROM passwords - I need it removed in order to do... (1 Reply)
Discussion started by: Kanu77
1 Replies

4. UNIX for Dummies Questions & Answers

PROM password for UNIX workstation.

Can someone give me the reason why PROM passwords are put on UNIX machines??? Is there a genuinely good, sane and reasonable decision for this??? (1 Reply)
Discussion started by: Kanu77
1 Replies

5. Solaris

Disable Network cards under boot Prom

Hi, I'm looking for a command to be able to disable a network card under the boot PROM. I need it to force my Jumpstart to use the Ethernet card of my server (V880) instead of my fiber card (gem0). Thanks, Fabien (6 Replies)
Discussion started by: unclefab
6 Replies

6. Solaris

Get openboot version without going to PROM

Hi there How do i get the openboot version from within solaris 8-sparc. i cant seem to run "banner" or ".version" using eeprom cheers (2 Replies)
Discussion started by: hcclnoodles
2 Replies

7. Solaris

upgrading Openboot PROM

Hi there, I have a Sunfire v210 running solaris 8 and the PROM banner shows that the openboot version is 4.11.4, I have nbeen asked to make sure that the PROM is at the latest version. Does anybody know the procedure for upgrading openboot, and indeed , where i can get the software from any... (6 Replies)
Discussion started by: hcclnoodles
6 Replies

8. Shell Programming and Scripting

prom in deleting a pattern

hi guys, i have a directory.inside that so many directories and files are there.i want to search the complete directory for a pattern in all the .txt files.if i will find that pattern then i want to delete that pattern from that file. please help me out. i want it urgent (18 Replies)
Discussion started by: suvendu4urs
18 Replies

9. Solaris

OpenBoot Simulator

Hi, I would like to know if it's possible find a openboot simulator for solaris to can practice some exercices Thanks a lot and sorry for my english! (11 Replies)
Discussion started by: mierdatuti
11 Replies

10. Solaris

Openboot does not display

Hey guys I just inherited a sun netra 210 from an old Avaya system we had setup and I want to use i for studying for my SCSA/OCA exams but I'm running into alot of problems installing SOL 10 on here. I have no experience with SUN hardware at all but familiar with Solaris. It has SOL 9 but no one... (7 Replies)
Discussion started by: blackmantis
7 Replies
rsh(1M) 						  System Administration Commands						   rsh(1M)

NAME
rsh, restricted_shell - restricted shell command interpreter SYNOPSIS
/usr/lib/rsh [-acefhiknprstuvx] [argument...] DESCRIPTION
rsh is a limiting version of the standard command interpreter sh, used to restrict logins to execution environments whose capabilities are more controlled than those of sh (see sh(1) for complete description and usage). When the shell is invoked, it scans the environment for the value of the environmental variable, SHELL. If it is found and rsh is the file name part of its value, the shell becomes a restricted shell. The actions of rsh are identical to those of sh, except that the following are disallowed: o changing directory (see cd(1)), o setting the value of $PATH, o pecifying path or command names containing /, o redirecting output (> and >>). The restrictions above are enforced after .profile is interpreted. A restricted shell can be invoked in one of the following ways: 1. rsh is the file name part of the last entry in the /etc/passwd file (see passwd(4)); 2. the environment variable SHELL exists and rsh is the file name part of its value; the environment variable SHELL needs to be set in the .login file; 3. the shell is invoked and rsh is the file name part of argument 0; 4. the shell is invoke with the -r option. When a command to be executed is found to be a shell procedure, rsh invokes sh to execute it. Thus, it is possible to provide to the end- user shell procedures that have access to the full power of the standard shell, while imposing a limited menu of commands; this scheme assumes that the end-user does not have write and execute permissions in the same directory. The net effect of these rules is that the writer of the .profile (see profile(4)) has complete control over user actions by performing guaranteed setup actions and leaving the user in an appropriate directory (probably not the login directory). The system administrator often sets up a directory of commands (that is, /usr/rbin) that can be safely invoked by a restricted shell. Some systems also provide a restricted editor, red. EXIT STATUS
Errors detected by the shell, such as syntax errors, cause the shell to return a non-zero exit status. If the shell is being used non- interactively execution of the shell file is abandoned. Otherwise, the shell returns the exit status of the last command executed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
intro(1), cd(1), login(1), rsh(1), sh(1), exec(2), passwd(4), profile(4), attributes(5) NOTES
The restricted shell, /usr/lib/rsh, should not be confused with the remote shell, /usr/bin/rsh, which is documented in rsh(1). SunOS 5.10 1 Nov 1993 rsh(1M)
All times are GMT -4. The time now is 12:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy