I have a few users in my system which I only use for specific applications, but I never want to log in as these users from the login screen. I would like to keep the users, but remove them from the list. Alternatively, setting myself as the default login user would also work. How do I achieve this?  I've tried creating a file for the user in /var/lib/AccountsService/users/EWF (EWF is the user I want to hide) with the following contents:  [User]   Language=    XSession=gnome   SystemAccount=true   But the file just gets deleted after I restart, and the user still appears in the login list.  I've also tried adding the following section in /etc/gdm3/custom.conf  [Greeter] Exclude=user1,user2,nobody   but that didn't help either.
6165
I have recently added several new users, that I need for qmail. Now they appear in the box in the login screen and clutter it, and I have to scroll to find my user. How can I hide those users from the login box?
67193
So I have a Windows 7 home machine with 2 user accounts.  One is a standard user account and one is an administrator account.  Now this is going to be put in the hands of a very low-tech user so I don't want them to be able to see the administrator account on logon, but they want to have a password to prevent someone else from using the machine.  My goal is that when the user turns on the computer, they are presented with their login.  After logging in to their non-administrator account, if something needs to be installed then the administrator account can be used through UAC.  I have tried creating the reg key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList and adding a dword of the account name and set it to 0.  It succeeded in hiding the account from th login screen.  As well as hiding it from UAC.  So it fails the second requirement, of being able to run things as administrator through UAC.  Also since I didn't set an administrator password (left it blank) it seems that I have completely locked myself out of the machine since runas doesn't accept blank passwords.  So I also cannot undo it, and have quite effectively bricked the install, prompting an OS reinstall.  This is Windows 7 Home, so there is no Users management console.
2604
Using Gnome 3.18. I share files between other family members, but the default umask on my distro (archlinux) is 0022. So every file/directory created is not writable for our common group.  I tried to put umask 0002 in /etc/profile but the gnome session is still using 0022. It's working for a login bash shell, though.  I also tried to add this line in /etc/pam.d/system-auth:  session   required  pam_umask.so umask=0002  It has the same effect as the one in /etc/profile. I tried  If I change the umask manually in a gnome-terminal shell, then I launch an application from it, say gedit, then the files created by it have the wanted permissions. If I launch gedit from the gnome menus, it doesn't. So my matter is really to set the umask for the gnome session, and I can't find where to do it.  EDIT (to answer Gilles' comment): I'm using gdm 3.18 as the DM. I also tried to add the pam_umask line into /etc/pam.d/gdm-launch-environment. All other gdm-* files contains includes of session from the system-auth file, so they should not need more. It doesn't change anything.  /etc/login.defs contains UMASK 077 but also USERGROUPS_ENAB yes which should set the umask to either 0077 or 0007 for users whose primary group is the username.  The only file that contains 022 for umask in /etc is /etc/profile but that was my first try.  As for /etc/Xsession.d, I don't have this directory. Besides, as wayland is now the default display server, I'm not sure the umask should be set as part of X initialisation, even if I'm still using it myself.
56744
How to block certain applications from opening on certain accounts (eg: Stop account John from opening Firefox or Gimp). It is assumed this is for the GUI and not the terminal and would only apply to specific users, so for example user X can open Gimp but not Firefox, user Z can open Software Center but not VirtualBox.  What good and easy way is there to do this for a new user of Ubuntu.
105137
I'd like to log in as a different user without logging out of the current one (on the same terminal). How do I do that?
78207
I was browsing through some Linux questions and saw this interesting question.   What steps to add a user to a system without using useradd/adduser?  The one possible way that comes to my mind is,   Add an entry for the user in /etc/passwd file.  Add an entry for the group in /etc/group file.  Create the home directory for the added user. Set the new user password using the passwd command.    I tested the above approach and it worked fine.   Is this the only possible way or is there any other work around to achieve this?
100662
I bought some software from Atlassian (JIRA, Confluence etc.) and I am installing it. One of the programs recommend me to create a user with limited access for only that program, and it also wants me to install it in /usr/local. I am new to Linux so I don't understand why I need to create such a user nor do I know how. And this user would not be able to write in these folders does it? I don't understand the benefits to make several users? I am running Ubuntu server.
70195
Frequently I need to delete all of the user profiles on a computer except for two accounts. I would like to have a script that can perform this for me.  The script must work for Windows 7.  Company policy makes it difficult to download and use any third party utility, so downloading a tool that can accomplish the task is not an acceptable alternative.  Currently I have a vbscript that performs other related functions so if I could do it in VBscript that would be great. If there is a way to do it straight from the Windows command line, that works too I can just call that from my VB script.  I've looked online and I cannot find a way to do this with either VBscript or with a microsoft cmdline utility that comes installed by default on Windows 7.  Does anyone know how I could perform this?
101951
I have four Google accounts but I only use two of them. I'd like to delete the other two but all four show when I click the blue sign in from google.com.  How can I delete the two I don't use and make my main email the default?  I've logged out as each user. In Settings, only my main email shows up so I can't delete it from there.
119650
Is it possible to add a user and restrict him to run special programs? For example after this user logs in, he can only open Firefox to use Internet and no other programs can be run by this user. For example in a terminal, commands will not be accessible when you delete some environment variables like $HOME. But is it possible to avoid running programs in a graphical shell, like Gnome? If yes, how?
121479
I'm using the  (unified for both personal and business account) and I configured two accounts on it:   My personal account (the same I log in on Windows) My business account   Some months ago I left my previous company and I have no more access to the second account (the business one) and every time I login on Windows 10 I receive a message saying that username or password are wrong.  It's quite annoying and I would like to remove this account, but I can't since there is no "unlink" button on the settings window of OneDrive (probably because it's stuck at the login phase).    What could I do? Is there any "manual" trick (e.g. removing the account from a configuration file or the Windows register)?  Thanks!
796
Some time ago, when I installed Ubuntu, I chose a rather stupid username for my account that I do not want to use anymore. How do I change this (including the name of my home directory, and the name in the terminal) without losing settings for applications? How do I keep permissions and my keys for various authentification (e.g. email, SSH, GPG and more)? What settings could possibly get lost if I changed my username?
58117
Why does Ubuntu not allow the GUI users to login as root at the time of system start up like administrator in Windows?  Why they are restricting us to login only through the terminal?
38096
There is no "Lock" option showing up in the user menu, and the standard shortcuts (Ctrl+L or Ctrl+Alt+L) don't do anything.  I'm running Fedora 19 with Gnome Shell 3.8.3, and XDM 1.1.11.  I'm using XDM because of broken XDMCP support in GDM - but before I upgraded to Fedora 19, I did have the lock option, even when using XDM.     I've posted an answer reflecting the results of my own research. It basically says that it's not possible to have screen-lock integrated into Gnome 3.8 without running GDM.      I really hope there's a better answer available though - so please add your own answer if there's any way to do this that I overlooked.
53472
I'm setting up a new user account, and I want to allow access to only certain programs for just that account. How would I go around doing that?
66116
I used to modify /etc/lightdm/lightdm.conf, adding the line greeter-show-manual-login=true, in order to allow login for hidden users and root.  Now I've just installed the new Ubuntu 14.04 and the file lightdm.conf is no longer located in /etc/lightdm. It's in /etc/init and has been totally modified.  How can I force lightdm login screen to show a field to input a login name?
101203
I need to customize the UI for a group of users at another office.  I want to turn off a bunch of toolbars and menus that are not needed.  I know how to save my configurations (Settings -> Customization...) to a INI file.    How do I setup the other users computers to load the INI at startup?   I am using Windows 7 and Qgis 2.0.1.