?
Solved

Priviledge prompt on UNIX AIX 4.3

Posted on 2014-09-12
4
Medium Priority
?
468 Views
Last Modified: 2014-09-12
Good morning-

I am logging in under root for a UNIX AIX 4.3 server and everytime I login I have the graphical user interface of the Application software running on the server. All I am trying to do is get to a # prompt so that I can modify the /etc/hosts file for a printer ip address modification. Is there a way around the GUI once I login with root credentials that will leave me at the # prompt?
0
Comment
Question by:rbonds
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 40319339
Which way do you log in to the AIX machine? Can't you use the system console?

If access is via ssh you can try

ssh -tt hostname "ksh -p"

This will bypass the execution of ~/.profile

By the way, root should never get bothered with application stuff, that's bad practice.
0
 

Author Comment

by:rbonds
ID: 40319373
SSH is not recognized on the system. I know it's bad practice to have root affiliated with application stuff but I never set it up and at the moment just managing the system and making minor modifications. I am trying to use telnet any other ideas? I have users logged into the system and don't want to disrupt them.

Thanks for the feedback.

RB
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 40319406
If it's indeed a ~/.profile thing you can try to use FTP (if it's enabled on AIX) to temporarily rename this file so the shell won't find it any more.

After FTP'ing to your host just issue

rename .profile .profile.original

Log out with "bye" and retry accessing the box via telnet.

If it's not .profile try to find out which initialization file could be responsible (/etc/profile ?). and rename this one (might inhibit application login for other users temporarily!).
0
 

Author Closing Comment

by:rbonds
ID: 40319457
Perfect. Renamed and was able to get to /etc/hosts under root credentials. Thank you
0

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question