[ale] how to get bash to run .bash_profile?

Christopher Bergeron christopher at bergeron.com
Sat Feb 1 17:41:29 EST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
One thing that I found with my distro (Slackware 8) is that when calling 
bash with --login, you also have to specify -i (interactive) .  My 
updated line is this:

c1:2345:respawn:/bin/bash --login -i < /dev/tty1 1>/dev/tty1 2>/dev/tty1


- -CB



Dow Hurst wrote:

|You really can post some valuable info!  Thanks for this even though I 
didn't ask the question!
|Dow
|
|
|>>>cfowler at outpostsentinel.com 01/31/03 21:06 PM >>>
|
|
|Oops one more thing.  You have to redirect the output since init's STDs 
are o=
|n
|/dev/console
|
|s1:2345:respawn:/bin/bash --login < /dev/tty1 1>/dev/tty1 2>/dev/tty1
|
|
|On 12/31/1969, "Christopher Bergeron" <christopher at bergeron.com> wrote:
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>Hey guys, how do I get bash to run .bash_profile?  I'm looking at my
|>startup, and I'm trying to figure out why when I set my inittab to
|>load:  /bin/bash instead of a "getty".  When it spawn's by bash session,
|>it doesn't load my .bash_profile.  Is there a way I can load a bash
|>shell and have it subsequently execute my .bash_profile?
|>
|>Alternatively, is there a way to get a getty to log in automatically (on
|>slackware!).  For some reason, I can't get slackware to use the
|>mingetty+autologin patch/binary.  I was able to get it to work on RhAT,
|>but not on Slack8.
|>
|>Preferably, I'd like to skip "getty" altogether...
|>
|>
|>Thanks!
|>- -CB
|>-----BEGIN PGP SIGNATURE-----
|>Version: GnuPG v1.2.1 (MingW32)
|>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|>
|>iD8DBQE+OykYTKCy0t3zQgURAkdcAJ91SBx84EVqeavZ1/HOOQhy2SUcWgCgxUfv
|>wZS2HDYI0mkgVl2Ozs6YUo0=3D
|>=3DdFaj
|>-----END PGP SIGNATURE-----
|>
|>
|>_______________________________________________
|>Ale mailing list
|>Ale at ale.org
|>http://www.ale.org/mailman/listinfo/ale
|>
|_______________________________________________
|Ale mailing list
|Ale at ale.org
|http://www.ale.org/mailman/listinfo/ale
|
|_______________________________________________
|Ale mailing list
|Ale at ale.org
|http://www.ale.org/mailman/listinfo/ale
|
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQE+PE0YTKCy0t3zQgURAuSHAKCD1zmuAINoa+oVPon8pTU9QBhXNQCeJObE
UbrxZWKfkSvMslhYCfuGgr0=
=KODH
-----END PGP SIGNATURE-----


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list