WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: /root/.profile  (Read 2979 times)

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
/root/.profile
« on: February 13, 2009, 02:01:47 PM »
I noticed that /root/.profile (1.1) contains:

Code: [Select]
while [ 1 ]; do
   exec -su "$TCUSER"
done

why is it a loop if exec never returns? Is it a relic from a non-exec past? I was just curious.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: /root/.profile
« Reply #1 on: February 13, 2009, 02:46:17 PM »
Seems to be the case. My age is showing.
10+ Years Contributing to Linux Open Source Projects.