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
Solved

Priviledge prompt on UNIX AIX 4.3

Posted on 2014-09-12
4
450 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
  • 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 500 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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…
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…

789 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