For questions related to users, user accounts, user permissions or guest accounts.

learn more… | top users | synonyms (1)

49
votes
5answers
245k views

How to enable root login?

I would like to enable the root account on my Ubuntu installation. I realize the security implications of this.
64
votes
5answers
199k views

How to manage users and groups?

Just switched from 10.04 to 11.10. I'm wondering about the limited options in the GUI for managing users and groups. Where is the old GUI to change groups, id's, etc. I know that I can do this from ...
101
votes
19answers
28k views

Why is it bad to login as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
21
votes
6answers
55k views

Move home folder to second drive

I have 2 HDD drives in my computer. At the moment second drive is mounted as /media/storage. How can I move my user data from /home to /media/storage/home? Can I just move the data over there and ...
24
votes
4answers
36k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
28
votes
5answers
9k views

How to NOT become a root user? Are administrators root?

I installed Ubuntu on my PC. To log in, I use the username and password I created during installation. Does this mean I am a root user? If yes, then how do I become non-root? It looks like non-root ...
16
votes
6answers
46k views

Can I set my user account to have no password?

If I attempt to change my password to nothing by opening "User Accounts", the "Change" button remains greyed out: How do I change my password to be empty? I know you can set Ubuntu to automatically ...
11
votes
3answers
6k views

How do I change the guest session defaults

I have a quite tunned up gnome desktop and I would like for the guest session to share most of the user settings, this includes: Gtk and Metacity themes. Number of panels, placement and applets. ...
2
votes
2answers
4k views

How can I give admin permissions to my account? [duplicate]

11.10 has allowed me to (stupidly) remove my admin level login leaving me with only my standard log in. I am no longer able to modify any software, update etc. How can I 'uprate' my user login back ...
19
votes
4answers
41k views

Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point). One partition is owned by root and therefore does not mount ...
8
votes
2answers
6k views

I unexpetedly deleted administrator account and the other accounts are asking root password

I unexpectedly deleted my user account (the only administrator for the machine). I have another account which is standard account now i cant access my hard disk or anything with that standard account ...
38
votes
9answers
190k views

How do I kill processes in Ubuntu?

How do I kill all processes running by my own non-root account? I have some spinning smbd processes that I caused from my windows machine and so I telnetted into the linux server and I want to kill ...
16
votes
5answers
13k views

Why can other users see the files in my home folder?

I just added a new, underprivileged "desktop user," and I was surprised to discover that it can see the files in my home folder. What is the rational for setting up such lax permissions?
7
votes
1answer
7k views

How do I give multiple users access to a Windows NTFS partition?

I have USB hard-drive connected to my Ubuntu (11.04) machine. Every time I reboot the computer and login it mounts the hard-drive. Since the disk has NTFS on it, Linux assigns some user to be the ...
46
votes
3answers
31k views

What is the purpose of the 'nobody' user?

After I read List all human users I noticed that there is a user account named 'nobody' in my Ubuntu system. Also I noticed that I can login in this account from terminal using the following command ...
44
votes
4answers
67k views

How to remove a user from a group?

I added a user account to the admin group and discovered I added wrong user. So I now have to remove the account from the admin group. How can I remove an account from a group without deleting the ...
19
votes
7answers
31k views

Home directory not being created

I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using sudo useradd -d /home/linda linda and passwd to create the password. I check that an entry ...
13
votes
4answers
9k views

I deleted the “/etc/passwd” file and cannot log in

I was trying to change my username and also my home directory (/home/username) and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this ...
2
votes
2answers
4k views

Can't Clone a User Profile?

I have a user profile all setup with all settings the way I want them. I want to copy the entire configured profile to a new user account. This is what I'm doing (user is already added to system): ...
5
votes
2answers
7k views

How can I restrict program access to other users?

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?
2
votes
1answer
1k views

User Accounts not listed in System Settings User Accounts

I'm running 12.04 on PPC (IMAC G5) - but have a problem with creating/editing user accounts with the System Preferences User Accounts tool. All updates have been downloaded and installed. When I ...
2
votes
2answers
3k views

useradd seems to have failed in Lubuntu 12.04 [duplicate]

Possible Duplicate: How to add user without useradd command? I am trying to add users in Lubuntu 12.04. I have followed the instructions here which amounts to: $ useradd username $ passwd ...
19
votes
1answer
32k views

Can you unencrypt / remove encryption from a user home folder? [duplicate]

Possible Duplicate: How to stop using built-in home directory encryption? During installation I have chosen to encrypt my user's home folder. Can I un-encrypt it? How would I do that? I ...
13
votes
4answers
35k views

How can I find out my user name?

How do I know my username? I've installed Ubuntu, but I don't know my username, only my password. I can't access my laptop and it can't be opened.
14
votes
2answers
5k views

How do I set up new users with skel

i have on my server a settings i use for all my users. every time i create a new user i have to copy all the settings over and over. for example: .vimrc. .profile .bashrc firefox homepage to our ...
6
votes
3answers
7k views

Unity greeter background not changing for users automatically after upgrade

I have recently upgraded from 11.10 to 12.04. Normal upgrade, no new installation. In 11.10 I was using Simple LightDM Manager tool to set a custom wallpaper on the login screen. This tool ...
5
votes
1answer
3k views

I accidentally removed myself from sudoers, how can I fix this? [duplicate]

I have one admin account and recently I have accidentally added myself to a single group (usermod -G without -a). So, I am not in the sudoers file any more. However, it is not possible to log in to ...
2
votes
2answers
9k views

Change user password while password is empty [duplicate]

I have a realy strange problem in Ubuntu 11.10. I have by accident my password set to empty. If I wan't to install software now the system asks for a password, but I haven't one anymore. If I enter my ...
131
votes
4answers
191k views

Add user to existing Group

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio ...
24
votes
4answers
64k views

How to make user home folder after account creation?

I created a new user with useradd name and forgot to use -d -m to create their home directory. I tried making one, copying the contents of /etc/skel, and chowning everything to the new user. ...
7
votes
1answer
1k views

How to prevent a file under user folder to be deleted?

How can I make some file impossible to be deleted by user even if it is under his/her home folder?
13
votes
3answers
29k views

Disable sudo permission to user from command line

I have activated root user in ubuntu and want to use ubuntu as server with no DE. For this I want to disable sudo privilege given to first user. How can I do this from command line ? I know I can use ...
2
votes
2answers
1k views

what happens if all users are set as standard while root password not set

I don't dare to do as in the title. So I set root password first with sudo passwd root, and then I change all other users to be standard user, none administrator, so no user can sudo. If I want to set ...
4
votes
2answers
1k views

Can't login to my account, I know the password

I use Xubuntu 14.04 64 bit. I was watching a movie, the desktop froze (as usual duh!), I logged out using a terminal, and couldn't log in to my account after that, I'm using a terminal. I type my ...
1
vote
1answer
13k views

Create a new user in 12.04?

I tried to create a new user in 12.04 using the "Users menu", but although the user guest has been created, I never got asked a password. So when I logout and try to login as guest, I get asked a ...
9
votes
5answers
4k views

Why does Ubuntu force users to create a password upon installation?

There's been one problem I've had since I installed Ubuntu to run alongside Windows, I assume this would also be the same if it was installed to replace the other operating system as well, the ...
2
votes
2answers
9k views

How to add user without useradd command?

Is it possible to add a user in ubuntu linux without useradd command I think its possible by adding the entries in /etc/passwd and /etc/shadow but i don't know the exact steps to do it and the user ...
1
vote
1answer
3k views

Unable to mount home-directory for user after fresh install 14.04

I performed an fresh install of Ubuntu 14.04. I have /home on a different partition from root. Installing 14.04 and mounting /home went without any problem. During installation I was asked to make a ...
1
vote
4answers
5k views

How to permanently disable user switching in Gnome 3?

I have six boys, and they tend to ask another parent when wanting to use one of the computers, but don't bother asking the logged in user if they're finished. All four machines are running Ubuntu ...
12
votes
1answer
26k views

How to change user GID and UID in Ubuntu 13.04?

I need some help changing user GID and UID in Ubuntu 13.04 in order to map an NFS mount, it is my understanding that these need to be the same on local machine as well as LDAP side. Thank you.
6
votes
1answer
7k views

Set default group for user when they create new files?

I often find myself chown-ing files as I created them through SSH and they are owned by jm:jm for example. Then to allow Apache to access it, I need to for example do chown jm:www-data. I am sure ...
6
votes
2answers
24k views

Granting a sftp user access to a /var/www directory

I've created a user and made his home directory /var/www/mysite/ftpdir I've also added a Match user entry for this user in sshd_config with a ChrootDirectory that points to /var/www/mysite I've ...
14
votes
3answers
8k views

How to run multiple user X sessions on the same computer, at the same time?

I want to have more than one user logged on at the same time, on the same computer. Each user should have a full GUI X session... It's easy enough to log in to multiple concurrent non-X linux ...
13
votes
2answers
54k views

How to give nopasswd access to multiple commands via sudoers?

Below is what I know: I have to add this below line in sudoers file to give rights to the user for particular task. user_name ALL=NOPASSWD: /usr/bin/apt-get install In this case I want to give ...
4
votes
1answer
2k views

Need help installing LibreOffice 4.4 on Ubuntu 15.04

From a new Ubuntu 15.04 install: When launching any application of the LibreOffice suite the LibreOffice splash screen starts with the following error box: LibreOffice 4.4 - Fatal Error The ...
4
votes
2answers
1k views

How to restrict access to a NTFS partition to a standard (non-admin) user?

I am using Ubuntu 12.04. I have 4 NTFS partitions. I have made 2 users: One for myself (Admin) and one for family (standard/non-admin). I successfully restricted the access to my home folder from ...
2
votes
1answer
6k views

Users and Groups Administration tool - What do the options in User Privileges tab of Advanced Settings do?

How does the "User Privileges" tab in the Advanced Settings of Users and Groups GUI work? I mean this window: Does it simply add or remove the user from certain groups, or is there something else? ...
8
votes
6answers
3k views

List all human users

How can I list all human users that I've created? I've tried cat /etc/passwd and it just lists a lot of stuff.
5
votes
1answer
154 views

Setting A System For Public Use

I am setting a system up for public use I want to set some rules on the usage of computer so that the users are restricted to some particular areas of the system and they don't play with sensitive ...
5
votes
1answer
2k views

Case-sensitivity of account usernames

When installing Ubuntu, we're restricted to lower-case usernames. But recently I registered for a shell based on Ubuntu and logging in is done by the username registered to sign in to that site. The ...