Solved

Priviledge prompt on UNIX AIX 4.3

Posted on 2014-09-12
4
449 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

785 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