Questions tagged [users]

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

Filter by
Sorted by
Tagged with
209
votes
22answers
134k 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. ...
149
votes
5answers
943k 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.
68
votes
6answers
190k 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 ...
93
votes
5answers
402k 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 ...
752
votes
7answers
1.3m 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 ...
189
votes
12answers
1.1m 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 ...
38
votes
4answers
72k 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 ...
106
votes
6answers
392k 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 ...
43
votes
5answers
40k 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 ...
43
votes
5answers
145k 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 ...
13
votes
2answers
21k 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?
42
votes
7answers
38k 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?
108
votes
11answers
253k 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 ...
16
votes
2answers
15k 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 ...
7
votes
6answers
7k 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?
33
votes
1answer
75k 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? ...
22
votes
5answers
20k 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 ...
106
votes
6answers
153k 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 ...
125
votes
4answers
264k 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 ...
50
votes
7answers
65k views

How to change default user in WSL Ubuntu bash on Windows 10

I installed the WSL Bash on Windows 10 and set my user to e.g. 'abc' but now I want to change it to something else. How can I change the user name of the user I'm logged in as? When I open bash it ...
97
votes
5answers
234k 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.
76
votes
6answers
231k 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. ...
32
votes
3answers
80k 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 ...
16
votes
4answers
74k 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" ...
8
votes
1answer
14k 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 ...
31
votes
5answers
82k 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....
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. ...
10
votes
4answers
5k views

Why there are many guest accounts on my system?

After I saw this answer, I realized that there are many guest accounts on my system: grep guest /etc/passwd guest-jzXeRx:x:117:127:Guest,,,:/tmp/guest-jzXeRx:/bin/false guest-l5dAPU:x:118:128:Guest,,,...
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
10k 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 ...
52
votes
3answers
117k 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 ...
33
votes
1answer
67k 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 ...
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?
30
votes
3answers
24k 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?
20
votes
3answers
25k 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 ...
21
votes
7answers
22k 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
62k 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 ...
7
votes
2answers
18k 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 ...
16
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?
3
votes
3answers
12k views

How can user mount an encrypted file container in VeraCrypt?

I have a number of external media with VeraCrypt encrypted file containers and I would like the users to mount and use them without giving root privileges to the users. However at the moment ...
2
votes
1answer
4k 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 ...
5
votes
1answer
4k 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 ...
4
votes
1answer
3k 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
4answers
10k 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
7k 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 ...
5
votes
2answers
9k 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 ...
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
8k 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 ...
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 ...
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?

1
2 3 4 5 6