Topic
  • 1 reply
  • Latest Post - ‏2010-03-03T11:41:57Z by sirotinski
premlink
premlink
3 Posts

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

    Re: Run cli before bash prompt starts

    ‏2010-03-03T11:41:57Z  
    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 :)