Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2010-03-03T11:41:57Z by sirotinski
premlink
premlink
3 Posts
ACCEPTED ANSWER

Pinned topic Run cli before bash prompt starts

‏2010-01-20T13:02:39Z |
Hi,

I am working on server platform and i wanted to run my cli before the linux bash prompt comes up.It is an ext3 filesystem that i am using.I did some modifications in /etc/inittab to start the cli before the bash prompt starts,but could not succeed.

Morover is there a way to enable and disable the linux bash prompt.

Help me with any information.

Thanks,
prem
Updated on 2010-03-03T11:41:57Z at 2010-03-03T11:41:57Z by sirotinski
  • sirotinski
    sirotinski
    1 Post
    ACCEPTED ANSWER

    Re: Run cli before bash prompt starts

    ‏2010-03-03T11:41:57Z  in response to premlink
    To disable bash prompt you have to modify /etc/passwd file.
    Example,
    from:
    se:x:1001:1001:user:/:/bin/bash

    to:
    se:x:1001:1001:user:/:/bin/false

    do not modify this option for root user, you might get in trouble :)