I login into my own computer as username geoff. When I open a terminal I have as prompt:
Geoffs-MacBook-Air:~ org1$
The org1 is my work username! I have no login of that username for this computer except for when I need a to access work from home, and I do this with VPN. At the moment the VPN is not connected. When I do whoami
I get org1
. I also did login geoff
gave my pword and then did a whoami
and still I get org1!
What is my computer doing? What do I need to do to have a normal prompt?
The real problem comes later, when I need (I believe I need) to use sudo and it eventually says that org1 is not in the sudoers list. I don't care for org1 I want me.
@Patrix EDIT
Geoffs-MacBook:~ org1$ id -a
uid=501(org1) gid=20(staff) groups=20(staff),61(localaccounts),12(everyone),402(com.apple.sharepoint.group.1)
Geoffs-MacBook:~ org1$ who am i
org1 ttys000 Dec 27 17:17
Geoffs-MacBook:~ org1$ w
w: /dev/ttys001: No such file or directory
w: /dev/ttys002: No such file or directory
w: /dev/ttys003: No such file or directory
17:18 up 29 mins, 2 users, load averages: 0.52 0.29 0.17
USER TTY FROM LOGIN@ IDLE WHAT
org1 console - 16:49 28 -
org1 s000 - 17:17 - w
The org1 username is for work, which I can use remotely through a browser or VPN. There is no user on my computer with that name.
id -a
,who am i
,w
and add the results to the question. And can you please clarify whether there exists a user calledorg1
on your Mac or only on the work machine? – nohillside♦ Dec 27 '12 at 15:58