Re: root loggin in to console without network?

From: Dragan Cvetkovic (me_at_privacy.net)
Date: 09/30/04


Date: Thu, 30 Sep 2004 09:21:17 -0400

Ian Northeast <ian@house-from-hell.demon.co.uk> writes:

> On Wed, 29 Sep 2004 11:06:21 -0400, Dragan Cvetkovic wrote:
>
>> Hi,
>>
>> we have an AIX 5.1 installation here which we (due to lack of network
>> ports in machine room, don't ask) occasionaly have to unhook from the
>> network. At this times, even root on console is not able to log in to the
>> system. The system asks for the username, I enter root and then there is a
>> long delay (even a few days if we let it at it) with several "NIS domain
>> xxx.yyy.zzz not responding", or similar messages before the password
>> prompt appear. So I have to plug in the network cable, type root password
>> and then unplug the cable. Password for root is in /etc/security/passwd,
>> all other users are via NIS.

[snip]

> How about:
>
> disabling NIS (set domainname to "" and stop ypbind) before unplugging the
> cable;
>
> logging on before unplugging the cable?
>
> After all the unplugging isn't an unplanned failure is it?

Well, I can just plug in the network cable, log in and unplug it, but I am
more concerned about the lack of network connection due to some hardware
failure (e.g. all machines on our network are down with sole exception of
that AIX machine): it seems that the only option would be to switch off the
machine and boot it from CD in maintenance mode ...

> And *don't* reboot an AIX NIS client with its network unplugged! You'll
> never be able to log in at all.

Ah, good to know.

>
> Another possibility is to put a NIS slave server on the machine itself.
> Then it'll bind to itself if the network doesn't work (and often when it
> does too, and other clients may bind to it, so make sure it's good). This
> may be the best option in your peculiar situation, if not the simplest.

Thanks for the tip. Might be worth exploring.

[rest of the interesting description deleted]

So, it seems there is no real solution to that problem except for "don't do
that".

Is AIX 5.2 any different in that respect?

Thanks and bye, Dragan

-- 
Dragan Cvetkovic, 
To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!


Relevant Pages

  • RE: should i bother??
    ... > (network address translation from a public IP to a private network is always advised here) ... certain outgoing ports on the firewall at work. ... I run root kit hunter as a daily cron job. ... > Strong passwords of random letters, with at least two numbers and two special characters for all accounts, definately root. ...
    (Fedora)
  • Re: Newbie --Admin access problem on KDE... HELP!!
    ... >>have been trying to install kubuntu on my friends laptop. ... I have no connection to ... >>When I try to do something to change the network settings, ... >the root password you set up when asked. ...
    (Debian-User)
  • Re: New FU9 x86-32 install on spare box, how to switch to kde?
    ... Removing the resources yum uses to tell if there's a lock ... You'll probably need to be root to kill any back-side PackageKit stuff ... fixed address because I do everything here behind an x86 install of dd-wrt, ... network address by dd-wrt that made it impossible to find until I ran ...
    (Fedora)
  • RE: should i bother??
    ... >Don't rely on a hard candy coating to keep all the hackers at bay. ... (network address translation from a public IP to a private network is always advised here) ... I run root kit hunter as a daily cron job. ... Strong passwords of random letters, with at least two numbers and two special characters for all accounts, definately root. ...
    (Fedora)
  • Re: Permision Denied when Accessing smb.conf
    ... > denied permission even when I'm logged in as root. ... logon drive = f: ... > a message about duplicate names on the network. ... Stefan Viljoen ...
    (comp.os.linux.networking)