Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [users]

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

Filter by
Sorted by
Tagged with
140
votes
5answers
858k 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.
194
votes
22answers
112k views

Why is it bad to log in 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. ...
65
votes
6answers
172k 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 ...
91
votes
5answers
374k views

How to manage users and groups using GUI?

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 ...
673
votes
7answers
1.2m views

How to add existing user to an 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 ...
33
votes
4answers
68k 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 ...
150
votes
13answers
916k 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 ...
42
votes
5answers
31k 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 ...
39
votes
5answers
122k 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 ...
81
votes
6answers
285k 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 ...
36
votes
7answers
32k 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?
10
votes
2answers
16k 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?
80
votes
10answers
205k 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 ...
12
votes
3answers
10k 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. ...
22
votes
5answers
18k 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 ...
93
votes
6answers
122k 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 ...
110
votes
4answers
226k 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 ...
5
votes
6answers
6k views

Import users from CSV file

Is it possible to import users by using CSV file? or something like a LDAP connection to import all users?
79
votes
5answers
186k views

How to add a user without /home?

I want to create a new user to run a service on the system but don't want to have /home and other configuration files for it. Like there is a user for postgres but it doesn't have any /home directory.
8
votes
1answer
12k 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 ...
22
votes
3answers
62k views

How can I prevent users accessing anything but their own home directory?

How can I prevent users accessing anything but their own home directory? For example, I have a NTFS partition mounted under /media/ntfs, so if the user logs in through ssh he can reach this partition....
16
votes
2answers
13k 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 ...
3
votes
1answer
3k views

Hide files from root in ubuntu

My question would be a little bit silly, but who knows because linux is a very rich and sophisticated OS. Is there a way that a normal user in ubuntu can hide some files from root ? I know that the ...
6
votes
3answers
10k 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 ...
9
votes
5answers
8k 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 ...
41
votes
3answers
89k views

How to enable or disable a user?

I'm uing ubuntu 12.04 desktop. I have 3 users: user1(administrator), user2(standard) and guest. I wanted to disable user1 and enable user2 which auto logs on with no password but after I did that I ...
31
votes
1answer
65k 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 just ...
25
votes
3answers
66k views

Share a Folder between two Local Users

I and my brother have User Accounts on this machine. I want to share the Documents directory with him. Is there a STRAIGHTFORWARD way to do it? I am not a power user so I am looking for a way to do ...
14
votes
4answers
61k views

Proper way to add a user account via bash script

Here's the script code I'm using now: getent group $MYGROUP if [ $? -ne 0 ] ; then sudo su -c "groupadd $MYGROUP" fi sudo su -c "useradd mynewuser -p mypassword -m -g $PRIMARYGRP -G $MYGROUP" ...
15
votes
3answers
2k views

Two accounts on same computer - how can I make a share folder for both?

I need a shared folder. My wife and I need to exchange files on the same computer. How can we do that?
14
votes
2answers
2k views

How to check which package created a user?

It is suspected that some packages have scripts run at install time which create user accounts in /etc/passwd. How can I check which package created a specific user?
5
votes
2answers
8k views

Cannot add a new user

I am trying to add a new user to my ubuntu 14.04 os. I go System Settings -> User Accounts and try to click the [+] button, but nothing happens it is grayed out. The system did not ask me for ...
63
votes
6answers
194k views

How to make user home folder after account creation? [duplicate]

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. ...
27
votes
1answer
65k views

Default groups for user in Ubuntu?

Installed HP Linux Imaging and Printing by using install script and something crashed. Now I'm only member of my own group and lp. Which are the default groups for users in for example Ubuntu 12.10? ...
27
votes
3answers
18k views

What are the disadvantages of having a dot in a user name?

A student just asked what could be the downside of having a dot (. ) in the name of the user. For example: john.doe How will this affect the system or any apps for that matter?
19
votes
7answers
17k 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.
18
votes
3answers
59k 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 ...
5
votes
2answers
11k views

How can I change the Keyboard Layout on login screen?

I changed my Keyboard Layout from Swedish to English, but now my password doesn’t work and I can’t login. I need a way to change the keyboard layout at the login screen without having access to the ...
18
votes
4answers
81k views

Failed to connect to Mir: Failed to connect to server socket: No such file or directory

After logging in as another user how do I run GUI programs? thufir@doge:~$ thufir@doge:~$ sudo -u hawat -i hawat@doge:~$ hawat@doge:~$ whoami hawat hawat@doge:~$ hawat@doge:~$ pwd /home/hawat ...
10
votes
3answers
20k views

I accidentally 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 a standard account and now I can't access my hard disk or anything with that standard ...
3
votes
1answer
2k views

How to restore/add previous user account

I've recently fixed a broken installation by reinstalling Ubuntu with a new username, and thankfully my old account survived (yay). Now I'd like to add my old account back to Ubuntu. Note that I'm not ...
2
votes
4answers
9k 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....
6
votes
2answers
6k views

How to make users with UID under 1000 appear in LightDM?

I've been trying to set this up, but I can't find a solution. It's neccessary, because the machine Ubuntu is on is a Macbook and needs to have access to the files of the Mac user. Is there any way to ...
3
votes
1answer
2k views

Lost supplementary user groups for GUI login session

Ubuntu 16.04.5 Very weird situation - after Xorg crash, now every time when I login into Unity, my user account doesn't have it's system groups like adm, sudo, plugdev, fuse etc. But when I login on ...
2
votes
1answer
2k 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 ...
2
votes
2answers
7k 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 ...
0
votes
2answers
2k views

Can I prevent/restrict standard users from installing/uninstalling software?

Can i prevent/restrict standard user from installing/uninstalling software in Ubuntu 12.04 desktop?
96
votes
1answer
521k views

Give user write access to folder [duplicate]

How do i give the user 'testuser' write privileges on the folder: /var/www/test/public_html
85
votes
8answers
293k 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.