'su lfs' dropping into the background
bryan at kadzban.is-a-geek.net
Wed Jan 21 16:02:51 PST 2004
Greg Schafer wrote:
> Alex is in a time warp due to intermittent dialup and will not have
> seen Anderson's post until after his own. I'm sure Alex will agree
> /dev/null is the way to go.
Ahh, OK, never mind then.
> I haven't tested it yet, but if we drop the exec then I get the
> feeling the user would have to exit twice to leave the lfs user's
> environment which IMHO is not acceptable (if that's indeed what
The .bash_profile that Alex posted has a "; exit" after the env. That
ought to work reasonably well, I think -- when the user exits the shell
that env starts, the shell that su starts will also exit.
More information about the lfs-dev