![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hosts.allow and hosts.deny | huddlestonsnk | UNIX for Dummies Questions & Answers | 1 | 10-18-2006 08:34 AM |
| etc/hosts or something else?? | amon | IP Networking | 5 | 02-20-2006 01:05 PM |
| etc/hosts | amon | Security | 1 | 01-24-2006 02:55 AM |
| hosts.allow & hosts.deny | Sorrento | UNIX for Dummies Questions & Answers | 2 | 08-18-2005 06:25 PM |
| /etc/hosts | tamemi | UNIX for Dummies Questions & Answers | 2 | 04-04-2003 01:42 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
||||
|
||||
|
you don't have the basic directorys for the unix programs in your path. something like this:
/usr/sbin:/usr/bin:/opt/bin:/usr/local/bin but i don't know what the other problem is. maybe the path to vi is not correct?!? i'm on solaris and don't know aix... |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
Because it's a ssh connection you have a massively restricted choice of options to use, but cheers for the help anyway Duke
|
|
#10
|
||||
|
||||
|
you can set the path on your own! try this:
PATH=${PATH}:/usr/sbin:/usr/bin:/opt/bin:/usr/local/bin export PATH vi /etc/hosts |
|
#11
|
|||
|
|||
|
Duke, I got the following error, do I need to try it a different way?
hscroot@ehchmc01:~> PATH=$PATH:/usr/sbin:/usr/bin:/opt/bin:/usr/local/bin -bash: PATH: readonly variable |
|
#12
|
|||
|
|||
|
Why do you need to change the /etc/hosts file on the HMC anyway?
|
|
#13
|
|||
|
|||
|
Quote:
|
|
#14
|
||||
|
||||
|
seems like the shell and the user is restricted... so you have to get "root" rights to do the job!
|
||||
| Google The UNIX and Linux Forums |