Strange user in Terminal

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Strange user in Terminal
# 1  
Old 05-01-2012
Strange user in Terminal

When I open terminal the user account name changes from my account name to "some-guy" ie this is what I see when I open it:

Code:
Last login: Sun Jun  5 15:27:51 on ttys000 
some-guy:~ backupuser$

What does this mean please and how can I get rid of it? I dont have any blue tooth or anything in the house.

---------- Post updated at 07:02 AM ---------- Previous update was at 06:54 AM ----------

by the way I am using 0SX lion.

Last edited by Scrutinizer; 05-01-2012 at 02:42 PM.. Reason: code tags
# 2  
Old 05-01-2012
what is the output of echo $PS1?
# 3  
Old 05-01-2012
Sorry what do you mean by that? How do I get that info?
# 4  
Old 05-01-2012
by typing it in the terminal...
# 5  
Old 05-01-2012
OK I will will try that tomorrow evening as I am not with my mac at moment

---------- Post updated at 11:46 AM ---------- Previous update was at 08:36 AM ----------

I got this:

Code:
\h:\W \u\$


Last edited by Scrutinizer; 05-01-2012 at 02:42 PM.. Reason: code tags
# 6  
Old 05-01-2012
maybe this helps:
Bash Shell PS1: 10 Examples to Make Your Linux Prompt like Angelina Jolie (link removed)
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Switch user terminal error

Hello All, Here I am trying to login a Linux machine as admin user from a Solaris box.. & then switch to root user.. Code I use: ssh admin@<IP> << END su - root << A echo "Hello I am logged in as root" exit A exit END But the error I get.. su: must be run from a... (3 Replies)
Discussion started by: ailnilanjan
3 Replies

2. Solaris

User account get locked due to strange behaviours

I am facing strange problem where after three failed login attempt user password must be locked. Actually what is happening, when I take the putty session of the server & enter user name on the prompt at the login prompt & then press enter to enter the password at this time when I checked the... (10 Replies)
Discussion started by: sb200
10 Replies

3. Solaris

[Resolved] Strange Issue with user logins

Ok got a strange one here. None of my user accounts are able to login into the system. When trying to ssh to the server i get the following. Could not chdir to home directory /home/<homedir>: Permission denied /bin/sh: Permission denied I checked the permissions on the home directory and even... (7 Replies)
Discussion started by: JoeDirte
7 Replies

4. UNIX for Dummies Questions & Answers

Strange behaviour when output to terminal vs file (awk)

Hi all ! I noticed something very weird. I have a large pipe delimited file (20 fields/3,000 records) that looks like that: AAA|BBB|11111|22222|...|($NF of record 1) CCC|DDD|33333|44444|...|($NF of record 2) CCC|DDD|55555|66666|...|($NF of record 3) For the lines with same 1st and 2nd... (3 Replies)
Discussion started by: beca123456
3 Replies

5. Shell Programming and Scripting

Strange terminal behaviour after killing ssh

Hi, We have a problem where occasionally an ssh will hang for no apparent reason preventing the rest of the script continuing. To deal with this I am trying to write a wrapper script to kill a hung ssh command after a specified period. The scripts use a sleep command running in the... (2 Replies)
Discussion started by: RECrerar
2 Replies

6. OS X (Apple)

adding new user/account in terminal

Can anyone tell me what the command(s) are for adding a new account through the terminal application in OS X? I've been looking around the man pages but can't find anything. (1 Reply)
Discussion started by: Straitsfan
1 Replies

7. AIX

User cant log in (close terminal)

Hello everyone I have a user on my server, Aix 5.3 TL9 sp4. Weeks ago I dont have a problem but today the user cannot log in. let me explain. Me with root user I can change his password. then I log in with the user and I can change the password and the terminal close. Im using ssh. But... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

8. UNIX and Linux Applications

strange behavior of PSQL user defined function

Segregated the problematic portion, and showing for your view here., 1. Following is the function definition, create or replace function new_del(id integer) returns void as $$ begin raise info 'dollar :%',$1; delete from testing where id=$1; end ; $$ language 'plpgsql'; ... (1 Reply)
Discussion started by: thegeek
1 Replies

9. Solaris

A strange user appears in my quotas and I can't find it in my system

Hello, I am running a Solaris 8 system. I Have encountered that each time I ask the system to report to me the users who have or are about to exceed their quota limit for disk usage, a strange number appears in a user name, it does not appear in my /etc/group or in my /etc/passwd files The user... (13 Replies)
Discussion started by: lzcool
13 Replies
Login or Register to Ask a Question