Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [user-account]

User accounts facilitate different agents and settings on a computer. User accounts have a login name and a password, along with a home directory on the filesystem.

94
votes
9answers
35k views

Is it 'OK' to use the root user as a normal user?

I have enabled the root user on my Mac so I can log into it and run Finder etc. Being the lazy person that I am, just transferred everything from my home directory to /var/root. I'm not too sure of ...
38
votes
8answers
42k views

When I open Terminal, I get an “I have no name!” prompt

Suddenly, this morning, I open a Terminal window and I get this: I have no name!@macbook:~$ whoami 502 ** I am not a number! I am a human being! ** What gives? Anyone know what I need to do to ...
31
votes
2answers
33k views

Dropbox asking for permissions to wrong folder after changing account name

I just got a new macbook and is now installing apps to it. After setting up Dropbox and everything else, I decided that I wanted to change the account name (which was previously "mac") to my name. ...
28
votes
7answers
74k views

Way to logout a user from the command line in OS X 10.9

I want to logout my Mac OS X from the command line. My OS X version is 10.9. I tried command pkill -KILL -u uid, but this command didn't work out. Is there a command that can be used to log out a user ...
27
votes
4answers
40k views

What steps are needed to create a new user from the command line?

What commands (or script) can create a fully functional user account on Mountain Lion, running only from the command line via terminal or ssh. It looks like an existing pair of answers might work, ...
27
votes
5answers
38k views

Log out other user w/o first switching to that user

My wife use separate accounts and quick user switching on a MBP running 10.6. Sometimes I want to log her out to free up some RAM, but I'd like to avoid logging in as her, logging out, then logging ...
27
votes
5answers
94k views

Change Appstore user from MacBook?

I bought a used MacBook Pro, and I need to update some software. When I click the 'update all' button to proceed, it asks for the App Store password of the old user's account: How do I remove the ...
25
votes
4answers
24k views

How do I set a custom avatar for my account profile in Mountain Lion?

I just got Mountain Lion. On previous versions of OS X, I could choose a photo from the filesystem as my account avatar. This doesn't seem possible under the Users & Groups section of System ...
21
votes
2answers
46k views

Understanding the 'staff' user group

It's known that all users are members of the 'staff' group. If you setup a standard user and create any file, a list of that file in the terminal with 'ls -la' shows the user group to be 'staff'. ...
17
votes
6answers
10k views

What point is there in using an everyday non-admin account on OS X?

This piece of advice is old but is coming back into fashion. I have seen it a lot recently, on a number of Mac websites or forums. "Your ‘everyday’ user account should not be an admin account. It ...
17
votes
4answers
28k views

Can I start an application as another user without actually switching users?

Is there a way to start an application as another user so that the started application would use the other user's preferences/history/resources et al? For example: I've logged in as Alice and I'd ...
16
votes
4answers
18k views

Remove HTC Sync Manager from autostart

Every time I start my laptop, the HTC Sync Manager is launched automatically. I don't mean the automounter which is started when you connect your phone. I mean the the HTC Sync Manager itself which is ...
16
votes
2answers
16k views

MacBook Air logs off automatically since Yosemite

My MacBook Air mid-2012 model running OS X Yosemite logs off automatically without any prior warning when I am working on it. This has been happening since the latest update, to Yosemite. The logs ...
16
votes
4answers
13k views

How to share an iTunes library with other user accounts on the same machine?

I would like to share the iTunes library my the account of my wife. But (in importance order): files should not be duplicated playlist and rating are user dependent podcast are user dependent ...
15
votes
6answers
8k views

How to launch a GUI application in another user's graphical session?

I'm trying to figure out how to launch a GUI application as another user that's logged in interactively, in that user's graphical session. For example, say I have two users, foo and bar. Both are ...
15
votes
1answer
9k views

Create a remote only user in OS X?

I'd like to create a user on OS X that has remote ssh login privileges where they can access a certain folder /path/to/the/goods/ and add/modify/delete files manually or via rsync while the rest of ...
14
votes
1answer
4k views

How do I change my macOS user account UUID to stop Apple tracking me?

I have read that the user accounts on a Mac actually have a UUID associated with them and this means Apple is tracking every action performed with that user account. I’ve already deleted all Facebook ...
14
votes
3answers
6k views

Is there a safe way to move the /Users folder to a separate volume/drive?

I have an SSD on the way and will be moving my HDD to the optical bay slot in my MBP. I want to boot from the SSD and store my /Users folder on the HDD. I've seen the way that everyone suggest ...
13
votes
3answers
39k views

How to add user to a group on command line?

With Linux/Unix, I can use useradd -G developers vivek to add vivek to the developer group. How can I do the same thing with Mac OS X? Then, how do I check if vivek is in developers group?
13
votes
3answers
25k views

Is it necessary to eject external drives before logging out, restarting, or shutting down?

Is it necessary or recommended practice to eject external drives before logging out, restarting, or shutting down? (The drives are not being unplugged.) BTW, I am aware that I need to eject my ...
13
votes
1answer
2k views

Disable Shift Cmd Q for logout

I would like to disable Shift+Command+Q keyboard shortcut for Log Out. I am using Karabiner at the moment, but I only managed to disable it completely using the following xml: <?xml version="1....
13
votes
5answers
14k views

Make a script/app run on logout

We all know that Mac OS X has the very useful Login Items functionality which lets you, among other things, set up apps/scripts to run when you log in. I'm looking for a way to setup a list of ...
12
votes
3answers
9k views

How do I recover the administrator or root password on OS X?

I received a hand me down white MacBook with 10.4 on it and it automatically logs into a user account that isn't able to change much in the preference pane. How do I recover or change the ...
12
votes
5answers
14k views

Is there a way to absolutely force a Log Out, Shut Down, or Restart with open tabs and unsaved documents?

I could not find any relatively simple way to log out of a public use Mac quickly with many tabs open and unsaved document in the background without resorting to sudo shutdown -h now. The reason I ...
11
votes
3answers
17k views

How to disable account on OS X Mavericks

I have an account on my OS X Mavericks system that I want to disable so it cannot be used for login. I would not like to delete the account permanently but rather disable it temporarily. I believe ...
11
votes
3answers
3k views

What must I enter into Terminal, using sudo to make myself an administrator?

My user account is a standard account on my Mac. What must I enter into Terminal using sudo, to make myself the administrator?
11
votes
3answers
9k views

Has the Virtual Display screen sharing been removed in Mountain Lion?

One of the great things about Lion was the Virtual Display, whereby when screen sharing you could login as a 2nd user rather than just take over the physical display. In effect it was like turning ...
11
votes
1answer
2k views

Is it possible to hide an account from the login screen where you can see all the users?

I've got a Mac mini for temp/freelance staff to use while they were working in the office. After a few years there's quite a few accounts on the Mac mini which are no longer required. I don't want ...
11
votes
1answer
103 views

Pressing first letter of user account name does not select user in login window

This has been irritating me for a long time and I have not found a solution for this whenever I have looked for one. This problem has perplexed me maybe as far back as Mac OS X 10.7, but I can't be ...
10
votes
5answers
1k views

How to share .bashrc files between two mac user accounts

I have set up two user logins on my computer, one for home and one for work. I would like to be able to share any of my bash and vim settings between the two users. Is there anyway to do this? Thus ...
10
votes
2answers
4k views

Can user accounts be managed via the command line?

Is there any way to add, remove, or modify user accounts via the command line? I'm not talking about an account for a system process or daemon, I mean is there any way to add a user account, change, ...
10
votes
5answers
11k views

Where does OS X store the profile photo it takes when you first create an account?

When you first create your OS X login account it takes a picture of you. Where does that picture get stored? I can't find it in ~/Pictures or ~/Library.
9
votes
2answers
9k views

How can I temporarily suspend some users, hiding them from the login screen?

I have to manage a shared OSX workstation that is used by a rotating cast of characters throughout the year. The login screen quickly becomes cumbersome when users that aren't even around for a while ...
9
votes
3answers
139 views

Where should I put my custom applications?

I have downloaded some third party software, should I just put under /Applications or should I put under my home folder, e.g. ~/MyApps/?
9
votes
2answers
1k views

Weird User in my login screen “puppet”

I just restarted my mac "OSX El Capitan v10.11.1" and I'm seeing a weird User in my login screen called "puppet": I have not created this User and I don't know how to log on it. The most concerning ...
8
votes
2answers
30k views

How to add a user from the command line in macOS? [duplicate]

In Terminal, I used, useradd liao2, as I would also do in Linux, but it failed: useradd liao2 -bash useradd: command not found I also tried using sudo: sudo useradd liao2 Password: sudo: useradd: ...
8
votes
1answer
900 views

Is it possible to sort the user accounts in the login dialog?

Is this possible to change the order of the different user accounts in the login dialog box ?
7
votes
5answers
25k views

Issue with deleting user account

I want to delete a user account before selling my machine, so I chose the secure delete account option in System Preferences > Users & Groups. I think I saw a progress bar at first as it was ...
7
votes
1answer
5k views

What are the valid users that need to exist on Mac OS X

For example with CleanMyMac username option I can see users like "Kerberos FAST Account", com.apple.calendarserver and large number of others all with system privileges with id 260 or below except ...
7
votes
3answers
3k views

Can I remove the “Log Out” item from the Apple menu?

Is it possible to remove "Log Out" from the Apple Menu? I know there used to be a tool that let you customize the Apple Menu (can't remember the name) but I doubt it's still working on Lion. ...
7
votes
2answers
7k views

How to control order of startup items for users at login?

I have seen a few applications with mixed reviews that will allow a user to change the order of startup items. I would simply prefer the "bare metal" method and stick to using the shell or the Open ...
7
votes
2answers
5k views

How to enable fast user switching when Login Options are disabled?

I'm not sure how this machine was setup, but I do have control over it now as a local admin. I need to enable fast user switching, but the option is greyed out along with some others. This is after ...
7
votes
3answers
1k views

MacBook has 2 guest accounts, one with a password that I never set

My MacBook Air that I've owned for just days has its own guest account, with its own password. This happened to me once before back in 2013 on a MacBook Pro. Typically, I disable the guest account. ...
7
votes
1answer
3k views

How to fix “com.apple.dock.extra: … Could not connect the action buttonPressed: to target of class NSApplication” in system.log

On a recently installed (from internet via Recovery Disk) 10.7.4 Lion system the system.log is filled with multiple "com.apple.dock.extra: ... Could not connect the action buttonPressed: to target of ...
6
votes
4answers
3k views

Is it normal to have same user logged in twice but from another TTY?

I don't know if this is something that is in macOS, but in Linux I normally see only one user if I run the who and w command. Is it normal to have same user logged in twice but from another TTY? I ...
6
votes
5answers
3k views

How can protect all privacy from someone that needs to use my Mac?

A friend of mine is going to stay here for two days, and I am sure he will need to ask me to use the Mac (and PC) in the study room. (which will be tons of work to move them and no matter where they ...
6
votes
3answers
1k views

What can other administrators access on my machine?

I've been given a new MacBook Pro at work, and it has an administrator account which I assume the IT department has the credentials to. I have been created a local account which is also an ...
6
votes
1answer
3k views

How to delete MacPorts user after using the Migration Assistant

My 2012 MacBook Air (11", i7 2GHz 8GB RAM) crashed and I had to erase the SSD and re-install macOS High Sierra with the Internet Recovery Mode tools. Once I had the working OS, I used the Migration ...
6
votes
5answers
33k views

What is “Other” account on OS X Yosemite login screen?

I am using OS X Yosemite. I am seeing 2 accounts on my login screen. One is my account and the other has the name "Other". What account is that? When I click on it, there is no username. When I try to ...
6
votes
1answer
13k views

How do I change the “primary group” for an existing user?

My current primary group (the gid I see listed by id) is me, rather than staff. I'd like to change it to staff, without changing anything else about my user account. How do I change the "primary group"...