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

learn more… | top users | synonyms (1)

0
votes
1answer
26 views

How to prepare an Ubuntu bootstrap for non-privileged systemd-nspawn?

I created an Ubuntu 16.04 bootstrap (via debootstrap) to be run via systemd-nspawn (also on 16.04). When started by # systemd-nspawn -D <mycontainer> I get a fully functional, correctly ...
0
votes
0answers
20 views

How to create admin Account? no password from first Installation of Ubuntu in the System [duplicate]

Unfortunately I am unable to create an administrator or any other user account, as I have no password from the first installation of Ubuntu in my new laptop. I'm only logging in via guest account. ...
0
votes
0answers
33 views

Cannot login as administrator after reinstalling Ubuntu 12.04 LTS

After reinstall Ubuntu 12.04 LTS on a laptop, a new problem arose: can no login as administrator. When trying to log in, Ubuntu just do not let enter, no errors, but can enter only as a guest. ...
3
votes
4answers
5k views

Command to list all users with their UID?

How can I list all users along with their UIDs? I want to do this from the terminal.
0
votes
1answer
54 views

How to make external drive accessible to a user e.g. webservers user

I have a program which creates some log directories using root next to the directory the user has given as argument to the script. I later chown them to my webservers user. The problem is if all ...
13
votes
3answers
20k views

How to run crontab as user:www-data?

My LAMP is setup to work as user:www-data and all files and folders are created with that permissions. I have setup for crontab as user@ubuntu. So i do crontab -e and use this command: */5 * * * ...
0
votes
1answer
20 views

How can I allow someone to access my VM?

I just added a user in linux, and give a password. useradd dluiz passwd dluiz Now, I tried ssh into my vm as that user I got ssh dluiz@ip I got Permission denied (publickey). Try ...
3
votes
4answers
49k views

How to add users to vboxusers

So I want to use my flashdrive in Windows XP, which I am currently running in Virtualbox, but when I open up the settings to enable usb usage, I get an error: Failed to access the USB subsystem. ...
249
votes
7answers
385k 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 ...
2
votes
1answer
11k views

“Could not chdir to home directory /home/me: No such file or directory” [duplicate]

I am using 12.04 on my server. I created a new user using adduser me and passwd me and added it to sudo when I login this is what I see. Could not chdir to home directory /home/me: No such file or ...
29
votes
6answers
82k 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 ...
-2
votes
1answer
39 views

Make default user to be root [closed]

First thing to do when I turn on my PC is using command sudo -s so instead of name@pc, I use user root@pc. How do I make it to be default user and what are risks of my approach?
1
vote
1answer
5k views

User Groups and Advanced Settings in 15.04

Ubuntu used to allow me to change user's groups and advanced settings within the "User Settings" GUI. These options are gone now in 15.04. Where do I go to find these settings? (Using the command ...
0
votes
1answer
41 views

Invalid user error using chown

I am running into an issue where when I type in sudo chown, I am recieving an invalid user error. I created a user called clusterUser using the GUI. In the root directory of the computer (/), I ...
15
votes
2answers
6k 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?
0
votes
0answers
6 views

Ask Ubuntu question - How does one gain enough points to actually reply and comment? [migrated]

I have just joined this website and I have tried to reply to many posts but I am told that I do not have enough "reputation" to reply to comments (and the website's staff post me direct messages ...
0
votes
0answers
17 views

Blank screen when switching users

I just created a new user account on my home computer (14.04 LTS) and switched to that account (after a slight detour because the user dir already existed), then left the computer for a while and ...
2
votes
2answers
1k views

What does the automatic login option do?

Under "User Accounts", there's a toggle option labeled Automatic Login: What does that do if it's tabbed to "on"? I haven't tried the function yet and I'd like advice from an expert.
1
vote
2answers
5k views

SSH allow windows AD groups(with Special charactors)

I have join my linux to windows domain succesfully, and now everyone in the domain could able to login to the server by using ssh. But we only want to restrict certain users from a group to login. ...
1
vote
2answers
69 views

Is it safe to revoke group other access to every directory in a file system?

I'm trying to secure an account on our server called ssh_user that is used purely for connecting via SSH to our server. Everyone on our team logs into this account via a PSK secured ssh connection ...
0
votes
0answers
18 views

Give access to restart network services/eth0 without root access [duplicate]

I am creating a support account on a Ubuntu server and given it access to specific folders and log files I would like this account to also be able to either reset the eth interface sudo ifdown eth0 &...
1
vote
1answer
38 views

CUPS what command do we use to get information about the user?

I'd like to know if there's a command that let you get information about the user of the printer like how much pages he had printed ...etc ?
1
vote
2answers
216 views

Sudo is not asking for password on Ubuntu 16.04

Ever since I update to 16.04 I notice whenever I use any sudo command the terminal does not ask me the password before executing the command,The command is directly executed.I am the admin and I have ...
0
votes
0answers
11 views

How can I re-enable LDAP authentication?

I was attempting to create a new account for a user on a machine via LDAP. He could authenticate via terminal with his LDAP account, but not into the display manager (lightdm). After unsuccessfully ...
1
vote
0answers
33 views

How to stop logging user login history?

I have noticed a History button in System Settings > User Accounts on my newly installed Ubuntu 15.10 system. It brings up a log of recent login sessions for the selected user. How can I disable ...
0
votes
0answers
20 views

How to log in to an account which is hidden from the lightdm login screen? [duplicate]

I followed the accepted answer of How do I hide a particular user from the login screen? (the one about modifying /var/lib/AccountsService/users/USERNAME) to hide the user guest-config from my lightdm ...
-4
votes
1answer
75 views

permission denied target 'xyz' is not a directory [closed]

Please help with this question : Create a new user called hos with password 123. In the home directory of this user, create a file called xyz, containing a list of all files and directories from /etc ...
1
vote
1answer
38 views

Add a user with an already existing home directory

I recently reinstalled Ubuntu. Since I had a separate partition for /home, I was able to keep my old files. Now I need to add another user, let's say named "bob." The /home/bob directory already ...
34
votes
7answers
75k 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 ...
0
votes
0answers
20 views

Increment Space to users /home

I need add or increment Space to users /home but I don't now How can i do this? For example I have userA with space 1G and userB with 1G. Now I need increment space userA to 4G How can do this?
1
vote
2answers
48 views

how to run an application from a different user than the user that installed the application

I have 2 user accounts, user_1 and user_2. I installed intellij under user_1 before creating the user_2 account. After I created user_2 and logged in as user_2, I cannot see the intellij application ...
0
votes
0answers
18 views

Avoid duplicates in active users

Currently I use gnome-shell and ubuntu 16.04. Everytime (even after reboot) I have at least 5 active users at same time. Here my command line output. Total count: users | wc -w 5 Users list: ...
38
votes
1answer
81k views

How to display all user and groups by command

I want to display 1. All users and 2. All groups in my pc by using command-line. users and groups displays users currently logged and groups a user is in respectively. How to display List of all ...
22
votes
3answers
21k views

Logging out other users from the command line

Sometimes when there are too many users logged in it can cause my computer to become very slow and laggy due to low amount of available RAM. I would like to be able to quickly log out the other users ...
0
votes
1answer
40 views

Why won't Ubuntu let me create a user account named “games”?

I downloaded the source for "nethack", and it suggests I create a user and group named "games". But when I click on (gear symbol) -> System settings -> User accounts from the menu bar, Ubuntu will ...
0
votes
0answers
17 views

Can't modify settings, can't change the background, all the icons docked on the launchpad disappear

I am suffering from a weird problem. I can't change my background or power settings, and every icon I dock onto the Launcher disappears after reboot. The launcher resets to the original after every ...
0
votes
3answers
989 views

Problems in installing bugzilla on ubuntu 15.04

I'm trying to install Bugzilla. I have Phpmyadmin installed in my system so I can't follow the instructions on the Bugzilla site that tells me to remove the /var/www/html folder because I have ...
0
votes
0answers
16 views

How to recover administrator permission and media access for normal user?

I have a dell pc with ubuntu 14.04 lts version for my work. On a spring day, my system administrator removed my system's administrator permissions and removed my media access. He used the following ...
17
votes
1answer
930 views

Get email notification for using 'sudo' by a specific user

I have a server set-up and I let somebody that I trust with a little bit of sudo access have it. However, I also want an email anytime that they use sudo. I know that I can use Defaults ...
2
votes
0answers
257 views

How can I distribute mandatory settings (system and LibreOffice settings)?

The last PCI settings: Users may not change their screen saver timeout, it has to be set to 5 minutes. And locked so that no configuration can be made by the user. Users must always unlock their ...
0
votes
1answer
30 views

Adding users and giving special permissions

I have tried different things with chmod and adduser commands but it will take too much time for me to do this. Here is what I try to do: Lets say I will add 3 users to my system. Each user can read ...
13
votes
1answer
36k 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
2answers
39k 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 ...
3
votes
2answers
26 views

How to transfer all my files to another user, including permissions

I have to create another user and transfer all my files to "him". The problem on Linux is that the new user will not be able to access them/edit them. Is there a fast command to transfer all files AND ...
2
votes
3answers
5k views

Problem with Winbind/Samba

I've been having an issue on my network that has completely vexed me. I have three workstations running Ubuntu 13.04, one Windows 7 workstation, and three servers on Ubuntu Server 12.04. One of the ...
1
vote
0answers
40 views

How do I mark a group in polkit as administrator?

I am using authentication via smb and want all users of the admins group as local administrators. For this I created the /etc/polkit-1/localauthority.conf.d/60-local.conf file as described in ...
0
votes
1answer
83 views

Software package fails installing because of permissions

I'm busy installing WS02 on Ubuntu 16.04 LTS Server edition, right now I am facing some problems regarding permissions I guess below is my terminal log. I checked the directory with $JAVA_HOME and ...
2
votes
4answers
389 views

How to find which users are currently logged in?

uptime shows among others 4 users, should I be worried? According to man uptime uptime gives a one line display of the following information. The current time, how long the system has been ...
0
votes
0answers
58 views

How to reduce Bandwidth using squid delay pools in a LAN

I have a LAN with user PCs that managed by linux squid proxy server. IP ranges : User1 category : 192.168.1.2-192.168.1.12 User2 catogory : 192.168.1.13-192.168.1.23 User3 catogory ; 192.168.1.24-...
0
votes
0answers
16 views

VNC connect to background user

Is it somehow possible to allow local VNC connection to background user to other people while I'm myself working as the main user?