Solved

Priviledge prompt on UNIX AIX 4.3

Posted on 2014-09-12
4
439 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Perfect. Renamed and was able to get to /etc/hosts under root credentials. Thank you
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Let’s list some of the technologies that enable smooth teleworking. 
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now