Terminal App weird user change and time host

I've been changing between iTerm and the Terminal app. And this appears in both, so I'm a little confused. Every so often when my MacBook Pro has been on for so long, I open a new terminal, either app this still happens, and my user name disappears and my hostname changes to time. It's not consistent on when it decides to do this, I'm not sure what is going on. A reboot fixes it, but I'd like to know why it's happening in the first place. I've had this happen on my Mac Mini as well, and I've noticed it happening on Leopard, though I will admit, I wasn't using the terminal apps until Snow Leopard. Has anyone else come across this, and if so, any ideas on what is going on?
Thanks
Message was edited by: alucardbc

No opening a new terminal window doesn't fix it.
Just opened an iTerm and Terminal app window and they just did it. This is what it prints out:
Last login: Tue Mar 9 10:43:04 on ttys000
time:~ username$
Here is also the output of echo $PS1 when the prompt is wrong:
time:~ username$ echo $PS1
\h:\W \u\$
Here is the output with the correct hostname:
LilPro:~ username$ echo $PS1
\h:\W \u\$
They look exactly the same. Something is temporarily changing my hostname until I reboot.
Message was edited by: alucardbc
Message was edited by: alucardbc

Similar Messages

  • Re: (forte-users) DateTimeData and time zones, I need amagictrick !

    You might try externalizing as textdata whenever its passed between partitions.
    kelsey.petrychynsasktel.sk.ca on 04/26/2000 03:45:28 PM
    To: "Guylain Rochon" <GRochonInfluatec.ca>
    cc: kamranaminyahoo.com (bcc: Charlie Shell/Bsg/MetLife/US)
    Subject: Re: (forte-users) DateTimeData and time zones, I need a magic trick !
    I haven't done a lot of work with time zones, but I have some ideas that just
    may work. If it is important for this object to pass in and out of time-zones
    untouched by the destination try passing it by reference. The idea is that the
    actual object will remain in one time zone. You may need to "anchor it down"
    somehow where it resides (Make it private, READ_ONLY or ??).
    Another thing to try is: If it is passed via a method set the mechanism as
    "input". I believe this will stop the destination from changing it. (i.e. It
    will receive it as input only).
    Just some ideas. Good luck.
    Kelsey PetrychynSaskTel Technical Analyst
    ITM - Technology Solutions - Distributed Computing
    Tel (306) 777 - 4906, Fax (306) 359 - 0857
    Internet:kelsey.petrychynSasktel.sk.ca
    Quality is not job 1. It is the only job!
    Guylain Rochon <GRochonInfluatec.ca> on 04/26/2000 01:15:47 PM
    To: "\[FORTE\] Maling list" <kamranaminyahoo.com>
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: (forte-users) DateTimeData and time zones, I need a magic trick !
    Help, I'm drowning and Fort

    I haven't done a lot of work with time zones, but I have some ideas that just
    may work. If it is important for this object to pass in and out of time-zones
    untouched by the destination try passing it by reference. The idea is that the
    actual object will remain in one time zone. You may need to "anchor it down"
    somehow where it resides (Make it private, READ_ONLY or ??).
    Another thing to try is: If it is passed via a method set the mechanism as
    "input". I believe this will stop the destination from changing it. (i.e. It
    will receive it as input only).
    Just some ideas. Good luck.
    Kelsey PetrychynSaskTel Technical Analyst
    ITM - Technology Solutions - Distributed Computing
    Tel (306) 777 - 4906, Fax (306) 359 - 0857
    Internet:kelsey.petrychynSasktel.sk.ca
    Quality is not job 1. It is the only job!
    Guylain Rochon <GRochonInfluatec.ca> on 04/26/2000 01:15:47 PM
    To: "\[FORTE\] Maling list" <kamranaminyahoo.com>
    cc: (bcc: Kelsey Petrychyn/SaskTel/CA)
    Subject: (forte-users) DateTimeData and time zones, I need a magic trick !
    Help, I'm drowning and Fort

  • Capturing User Id and Time

    Hi All,
    I need to keep track of the user ID and Time for the data entered through a web interface.
    Please suggest the way to achieve this.
    Thanks,
    Deepthi.

    Hi Deepthi,
    there is a how to paper: How to Line Items in SEM-BPS.
    It describes how to add user and time to each dataset enterd/changed.
    Best regards
    Steffen

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • TS1368 Cannot connect to iTunes store when trying to update  or download an app, I tried changing the time and updates nothing iseems to be working

    Cannot connect to iTunes store when trying to update or download apps, I have tried updates and adjusting the date

    The Complete Guide to Using the iTunes Store
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-using-t he-itunes-store/
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Best Fixes for ‘Cannot Connect to iTunes Store’ Errors
    http://ipadinsight.com/ipad-tips-tricks/best-fixes-for-cannot-connect-to-itunes- store-errors/
    Try this first - Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    This works for some users. Not sure why.
    Go to Settings>General>Date and Time> Set Automatically>Off. Set the date ahead by about a year.Then see if you can connect to the store.
     Cheers, Tom

  • Tigger event when user change iphone time

    It is possible, we can trigger event if user change date and time of iphone.

    Did you traced ICI, if any de-register events getting published when you close IE.

  • Where are Mac App Store user ratings and reviews?

    What happened to all the user ratings and reviews in the Mac App Store? They're all missing. I checked a whole bunch of apps and nothing has any ratings or reviews from anyone. Has Apple gotten rid of user ratings and reviews? I sure hope not because I use those to help decide if I want to buy an app or not!

    Yep.   I think they've gone.   But Google the app and another set of reviews (usually from the developers site) can be found.

  • Mail App not updating date and time

    Hey guys,
    Has anyone else has this problem: My Mail app isn't updating the date and time at the bottom of my screen. (In between, the refresh button on the left and the new draft button on the right) Not sure how to fix it...
    Thanks in advance!

    Click on View on the top menu, click on Columns, and then click on "Date Received" to select it. Once it is checked, the Date and Time will display.
    Cheers,
    GB

  • Keep track of user logins and time

    Is there any way to track users on our xserve quad xeon...such as login date and times?

    Hello, tinafromrandolph, and welcome to the AppleBoards,
    What services are you interested in keeping track of? AFP, for instance, logging can be set to monitor anything from login/out times to file actions.
    You would need to parse the log data in some way if you were looking to make a regular report or something like that, but that's true of about any log file you want to investigate. It largely depends on what service(s) you want to monitor and how detailed their logging is, but a lot of stuff is or can be logged.
    If you are more specific there may be more detailed help people can provide.
    =Tod

  • Experience updating app, keeping user data, and extending SQLite tables?

    We're updating an application in the App Store, and haven't yet found good information on how to deal with updates to the SQLite Schema and data that should be transferred between apps.
    Anyone successfully done this?
    Q1: Does the old DB files stay on the iPhone after update? Does the installer do a "diff" between them? In our case, we just extended tables, rather than changing them, in hope that we can successfully move the data for users gracefully.
    Q2: If the installer does in fact wipe all the data and files on the app before install, is there a way to access the data before it updates, so the app can gracefully update the data?

    Would you mind sharing your solution?
    I've implemented it by using the PRAGMA SQL statements to query the table structure, and if it's missing the column I need for the new version, adding it.
    The bigger problem, though, is some of my users have experienced their data being deleted when they received an updated version from the app store.

  • [Solved] Systemd user service and timer dbus error

    I have installed arch recently and added a few of my own services, for example the acpi_call commands and such. Now I want to create a systemd service that runs every 5 minutes and execute a script.
    I searched a lot and I found that I must use timers. I got the thing with the timers working, but because my script has to do with a specific user, I want it to run only every 5 minutes when i am logged in as that user.
    I tried to put the files in /etc/systemd/users, .config/local/users and all the possibilities but everytime i want to enable it, it says dbus connection refused.
    Can somebody please provide me a way to execute a systemd service every 5 minutes while I am logged in as a specific user?
    I did follow the wiki and created a dbus service and all. Everything works on that side but i can't enable my user service.
    thanks!
    Last edited by nopemopes (2015-03-25 11:10:06)

    jasonwryan wrote:
    What errors are you getting? https://bbs.archlinux.org/viewtopic.php?id=57855
    Not a Sysadmin issue, moving to NC...
    sorry, didn't mean to be incomplete.
    The error says "Failed to get D-Bus connection: Connection refused".
    I did what the wiki said: Create the dbus files, enable them and such.
    No i put my service files + timer in the places mentioned by the wiki but everytime i try to enable them, that error shows up.
    systemctl status dbus gives me all good
    dbus.service - D-Bus System Message Bus
    Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
    Active: active (running) since ma 2015-03-23 19:39:24 CET; 1h 18min ago
    Docs: man:dbus-daemon(1)
    Main PID: 246 (dbus-daemon)
    CGroup: /system.slice/dbus.service
    └─246 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
    mrt 23 19:39:34 Jordy-Laptop dbus[246]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='...ervice'
    mrt 23 19:39:34 Jordy-Laptop dbus[246]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1....ectory.
    mrt 23 19:39:34 Jordy-Laptop dbus[246]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='...ervice'
    mrt 23 19:39:34 Jordy-Laptop dbus[246]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1....ectory.
    mrt 23 19:39:39 Jordy-Laptop dbus[246]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='...ervice'
    mrt 23 19:39:39 Jordy-Laptop dbus[246]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    mrt 23 19:47:01 Jordy-Laptop dbus[246]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='...ervice'
    mrt 23 19:47:01 Jordy-Laptop dbus[246]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    mrt 23 20:51:38 Jordy-Laptop dbus[246]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='...ervice'
    mrt 23 20:51:38 Jordy-Laptop dbus[246]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    that's the log for dbus and these are my files:
    drive_sync.service
    [Unit]
    Description=Drive sync
    [Service]
    Type=simple
    ExecStart=drive_script.sh
    drive_sync.timer
    [Unit]
    Description=Drive sync
    [Service]
    Type=simple
    ExecStart=drive_script.sh
    these files are located in ~/.config/systemd/user
    Last edited by nopemopes (2015-03-23 20:00:55)

  • Why has my app icon randomly changed and how do I get it back

    I started up my ipad 4 this morning and one of my icons has changed for no reason. Any idea how this has happened or why but more importantly how do I get it back?
    I've tried restarting and switching it off again to no avail. As it's a corporate app I can't delete and reinstall.
    Any help appreciated.
    Thanks
    Thom

    No, there is no way to customize icons in iOS. The only thing I can think of why this might happen is this...
    Corporate developer accounts have the ability to develop and distribute apps outside the app store. This also means the apps do not undergo the same testing process as commercial apps and more importantly, it means that apps developed by enterprise developer do not have to have what is called a unique Bundle Identifier. It's essentially what identifies the app. Usually the bundle identifier is unique and formated as a combination reverse domain plus some details about the app. For example, com.companyname.appname or com.apple.voicememos.
    It's possible the developer decided to use a bundle identifier similar or the same as the app that uses the icon that is appearing on your device. When you update your personal apps, the App Store might have gotten confused.
    It's also possible the developer used a placeholder icon and simply forgot to replace it before you installed the app then fixed it later after someone gave him the proper icon.
    Have your IT group delete and reinstall the app and I suspect you will be ok.

  • Errors when running a Terminal app. on 10.4 that was made on 10.5

    Hi
    I wrote a small game for the Terminal, and it works fine on my 10.5 mac as well as my brother's. However, when some friends try it on a couple of 10.4 macs, I get either permission errors (this seems to happen if I don't zip up the file before emailing it) or bus error. Why would I get that?? Is there some weird incompatibility for terminal apps. between 10.5 and 10.4, or am I missing something when I build the app. in Xcode? Or is it just coincidence, and there's really something else going on?

    Most likely the terminal is working properly, but something in your coding has changed such that it doesnt agree with the updated compiler that's distributed for 10.5. Perhaps it's a small syntax issue somewhere, or a library dependency that's changed, but as far as the terminal goes it should be sending input to the program and printing output properly. The major changes to the OS have been on the system level, not to the utilities such as terminal. They've been enhanced (tabbed terminals and such) but those enhancements are more in the wrapper programs for the utilities than anything else.

  • Emacs problem in Terminal.app

    When I edit a text file in the (text-only version) of emacs running in Terminal.app, what happens all the time is that characters in my file get overwritten by spaces (on the terminal only). Pressing Ctrl-L recentres and refreshes the display and it's OK - until it happens again, which is usually right away.
    E.g. if I open the file and press down rightarrow, and hold it for autorepeat, the cursor will gradually move through the file, but as I scroll over certain characters, they will be overwritten by spaces on the screen.
    The problem only happens in Terminal.app, not also in xterm.
    It doesn't matter whether $(TERM) is set to xterm, xterm-color, vt100 etc. in Terminal.app.
    I remember this working in previous versions of Mac OS X, but not in 10.4.5 (and as I recall it's not worked for me for a while).
    Is this a bug? Does anybody else see this? Or is there some setting I might have inadvertently changed.

    The problem was traced to a
    stty -tabs
    line in my .login file. It appears that emacs outputs tabs to move around the screen, and those were being expanded to spaces which overwrote my text. Vi apparently does not use tabs in the same way, which is why the problem was limited to emacs.
    The reason the problem manifested itself in Terminal.app but not in xterm is that tcsh executed inside a new Terminal.app window executes .login, whereas one executed inside a new xterm window does not.

  • Is there a way to check the date and time a picture was taken

    I would like to be able to view the date and time a picture was taken on my iphone

    EXIF Wizard will do the job.  I also created an app that shows date and time.  You can scroll through your photos and automatically see the month and year change as you scroll - then pick a certain photo to see month/day/year and time.
    https://itunes.apple.com/us/app/photo-date/id605218393?ls=1&mt=8

Maybe you are looking for

  • Invoice Footer printing on every page of invoice instead of first page only

    Hi, I am working on an AR invoice report. I have a RTF template (template is 1 page only) and the output is PDF. The invoice has invoice header ( bill to , pay to ) and invoice line details. On the bottom of the first page of every invoice , I need t

  • How to use "Trace" in  JPDA

    I want to know how to use "Trace" in Java Platform Debugger Architecture. Trace displays traces of program execution. how to invoke it? Trace can be invoked as follows: java Trace options class args what in front of me is I set envoriment variant and

  • How to import a website from the internet

    How can I import a website from the internet to copy to use?

  • IPod nano 4g 8gb detected but wont turn on

    I have an 8gb nano 4th gen and ive owned it for about two years. I can connect it to the computer and iTunes will detect it in recovery mode but it will not turn on after i have restored it. It just tells me to restore the iPod. I have restored it pl

  • Application error: not able to read memory

    even though i have just re-installed the latest version of iTunes, i get an error message like this one whenever i try to import a CD: iTunes.exe - Application Error The instruction at "0x00bd6fd87" referenced memory at "0x80fe5372". the memory could