Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [users]

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

0
votes
2answers
20 views

user cannot open a specific directory

I have created a user that I called netbean Netbean is part of three group: netbean (obviously), www-data (that is the group the apache server runs under) sudo (to have the sudo rights just in case)....
1
vote
1answer
35 views

How to change passwords in bulk? Ubuntu 16.04

Is there a command that will let me change all the user passwords at once? I would like to find an easier way to perform this change for all 32 users on my machine, and doing them one at a time is not ...
9
votes
2answers
688 views

Why should we expire a locked account to totally prevent access?

From man usermod: Note: if you wish to lock the account (not only access with a password), you should also set the EXPIRE_DATE to 1. Why should we expire a locked account to totally ...
0
votes
0answers
21 views

SOLVED Switching user in automated scripts like cron jobs

If I run su -c "notify-send test" myusername as root, the command will be executed by myusername (me). But if I place a script in /etc/cron.daily or /lib/systemd/system-sleep and it is ...
0
votes
0answers
16 views

Just installed Ubuntu 16.04 only has guest session, no other user account available

I just set up my new Dell Inspiron 15 3576. It was a gift so I'm not sure if there is a Windows installed. Anyway, in Ubuntu, only guest session is available. I never made an admin account. What ...
2
votes
0answers
21 views

Can I define a parent group and children groups?

In Linux is it possible to create a master group and some children groups? What is the problem? I need to give read permission to the users belong to group1 and group2. I cannot add all users of ...
0
votes
0answers
19 views

Implications of separating the root- (/) and user-partitions (/home) on a system re-installation?

I have read that the / and /home folders can be separated to their own partitions on a physical drive to be able to re-install the system while keeping the users in the home-partition intact. ...
0
votes
0answers
24 views

14.04 disable a users mail

Everything I can find with "google" says delete account, I need the account, but I need to prevent it being able to send mail. The account is public and doesn't need mail at all. Ideally I need it ...
0
votes
0answers
47 views

Permission denied to write to my own files

I am not being given permission to write to files I created. I am not allowed to edit any files of any kind anywhere in any directory.
0
votes
0answers
27 views

Accidentally changed user of root dir [duplicate]

I am a novice. I accidentally ran a command sudo chown www-data:www-data -R / Now mysql is not working. Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Please ...
0
votes
0answers
29 views

Proper way to set multiple user permissions for a webserver

I'm having some issue understanding permissions on Ubuntu Server. I want to give Apache2/PHP full access to a folder: /var/www/marry/html This works if I change the owner to the user under Apache ...
1
vote
1answer
65 views

how should `id` and `/etc/group` be read?

This is a follow-up question to Why is a user not a member of their private group (UPG)? although the first question isn't really necessary to understand this one. The command id seems pretty clear......
1
vote
0answers
119 views

Why is a user not a member of their private group (UPG) according to the GUI? (although CLI proves the opposite…)

I downloaded the current iso file of Ubuntu MATE from the website. I did a completely fresh install of Ubuntu MATE 16.04 (specifically 16.04.5). the same is true for Ubuntu MATE 18.04 (specifically ...
2
votes
0answers
41 views

16.04 It is possible to show user icon next to my name?

It is possible to show user icon next to my name like in 12.04 version? Like this: Thanks for answers.
0
votes
0answers
37 views

18.04 User tab doesn't show any users

I recently upgraded from 16.04 to 18.04, and I found that I couldn't view any of the other login-able users. Unlike this question: Cannot select file for user profile image in 18.04, there just isn'...
0
votes
1answer
116 views

Installing as root

I believe that it's not secure to install an application whilst logged in as "root". The hosting image I used doesn't create a non-root sudo user by default, when the server boots you log in as root@...
0
votes
1answer
84 views

User not in group despite /etc/group contents

I added a new group (call it newgroup) sudo groupadd newgroup I then added my existing user (call him myuser) to newgroup sudo usermod -a -G newgroup myuser I log out and back in, and I check /etc/...
0
votes
1answer
75 views

Cannot access my user data

I forgot the username in which I had my data. When I went to user data management, this came. I remember the password but not username, so I don’t know how to log into that. I am new to Linux, I use ...
2
votes
2answers
141 views

Docker: other users run their containers as my user by default

I've installed Docker CE from the official apt repository. To grant regular users access to Docker, I've created a group docker and added each user to this group. Yet, whenever any user runs something ...
1
vote
1answer
69 views

My user appears twice in the login screen

When i start my Ubuntu 18.04 system i get prompted to the login screen but my user appears twice in the login screen the first instance accepts my usual password but the second instance doesnt what ...
-2
votes
1answer
39 views

Disallow command usage for a specific user [duplicate]

I recently bought a VPS with Ubuntu 18.04 (Server) on it, and ever since I've started using it I've been spammed by one of my friends regarding that he wants an account. I wanna take some revenge on ...
2
votes
1answer
243 views

how to change a user home directory to adirectory that already exits?

I have a website user who I want to be able to upload content to a folder on my server. I thought ok, I'll create a new user, and change his home directory to the folder where his stuff is already. ...
2
votes
1answer
292 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 ...
0
votes
2answers
185 views

Secondary user groups not loaded

After the apt-get update and apt-get upgrade run few days ago, user groups are not applied properly to the currently logged-in user. I can see all the groups being properly saved in the /etc/passwd ...
0
votes
0answers
19 views

VBoxManage is not lauching vm

So I have two users on my Ubuntu Machine 1.) vishal 2.) cuckoo I installed VirtualBox by logging in as Cuckoo user. But now I am logging in as vishal user and then from terminal I am becoming cuckoo ...
0
votes
1answer
46 views

How to open a graphical file exporer in a home dir of a different user?

Installed Ubuntu 18.04 LTS (default user: abc) Need to open a file explorer with read/write rights for user xyz in his home How does the .desktop shortcut for this look like?
0
votes
1answer
60 views

desktop shortcut to terminal-app of another user possible?

I'm new to ubuntu and logged in as user abc (shows Desktop) I need to call the following app when I'm logged in as user abc: /home/xyz/zzzapp/zzz -param1 -param2 user abc and xyz are members of sudo....
2
votes
1answer
79 views

How do I check that my users and groups are correct?

I have many Ubuntu-powered devices around me. As far I know /etc/group, /etc/passwd, /etc/shadow are created during installation, so they do not belong to any package: $ dpkg -S /etc/passwd dpkg-...
0
votes
0answers
66 views

Why does Xorg freeze when I switch to a different GUI session?

On Ubuntu 18.04 we have the option to choose if we want to log in with Xorg or Wayland on the log screen... After using them for a while I realized that when I open two or more GUI sessions at once ...
2
votes
1answer
115 views

Cron not launching jobs?

This is a non-standard installation of Ubuntu 18.04, the ELAR Arm based Ubuntu distribution with RockChip support for boards such as the Asus tinkerboard. The Problem, and solution, may not apply to ...
0
votes
0answers
60 views

Lubuntu 18.04 no list of domain user in greeter

I'am use lubuntu 18.04. Joined in samba domain is ok. Login/enter in to OS with domain user is ok. After quit or reboot, in greeter-form no list of domain user than was logined last session, only list ...
2
votes
1answer
69 views

Why is 'Authenticated' setup of FTP on ubuntu very insecure?

I am reading the documentation for setting up an FTP server on Ubuntu, and the documentation states that using Authenticated users is very insecure. I dont understand why, because I am under the ...
0
votes
0answers
599 views

adduser tells me group already exists!

I am trying to add a user to my Ubuntu Server (18.04 LTS). When I run the command: adduser phoneden I get the message: adduser: The group `phoneden' already exists. Which is true, as a group, ...
0
votes
0answers
12 views

Can I create a user with a very specific set of permissions?

I'm trying to build out a bit of a user management interface (partially for funsies) for my Ubuntu server. I'd like this interface to be able to manage users (create/edit/delete), and write to their ...
0
votes
0answers
270 views

How to start pulseaudio for all users at startup?

I am trying to use pocketsphinx but it gives me : ad_oss.c(115): Failed to open audio device(/dev/dsp): No such file or directory FATAL: " And I know I must start pulseaudio, but when I try : ...
0
votes
2answers
40 views

folder permissions

I have a user user1 that belongs to group1 as primary group, but I need this user to have read/write access to a folder that belongs to group2. I tried adding a secondary group to this user so it now ...
0
votes
0answers
68 views

How can I prevent unprivileged users from accessing /etc/passwd, /etc/group, etc

As the title suggests, I have a multi user environment, and in the interest of protecting privacy, I'd really like to be able to restrict users access to some of these publicly viewable files that ...
1
vote
0answers
35 views

ReInstalled Ubuntu mounted to same /home partition, How to Access the Old User Home Folders?

So my 16.04 recently crashed due to user error. I decided to update to a newer version of Ubuntu. I went for 18.04 but ran into the usersetup error 141. Apparently when mounting to an old home ...
7
votes
1answer
365 views

Trusting non human users

When looking into /etc/passwd and /etc/shadow I found many non human users. I read a bit about it and know what they do (as a group, though specifically I see many I have no clue about). All of them (...
2
votes
0answers
41 views

How to remove Rouge user group

I was messing around with Apache and Webmin/Virtualmin and it created a new user. I added my user to the new users' group. It didn't yield the result I was looking for, so I deleted the user via ...
1
vote
0answers
23 views

Run WAR with special user?

I have a Java WAR file that I run over JBoss Wildfly Application Server on Ubuntu. Now, this WAR accesses the file system and I'd like to only let it do that over a certain user. Is that possible? I ...
0
votes
0answers
134 views

Ubuntu user autologin openbox

I have created a new user and set the autologin to on, but it runs into openbox after restarting. I tried to exit openbox but it is unresponsive after I click exit and I disabled the autologin for ...
0
votes
1answer
33 views

Can I have one user language in Polish and keep the sudoer's account (mine) in English?

Can I have one user language in Polish and keep English for me when I log in? If so, how do I go about installing Polish language for Ubuntu Studio?
1
vote
1answer
285 views

why is a “Dynamic User” appearing in my “Users”?

A "Dynamic User" is showing up in my newly installed Ubuntu 18.04. This user doesn't appear in the /etc/passwd nor is there a /home/. If I log out or power off the machine, when re-booting the "...
1
vote
0answers
36 views

How to jail users under Ubuntu 17.10

Following link gives a solution about Simple & easy way to jail users. Multiple comments mention that it does not work on Ubuntu 13.10, but there is no verification about that. I have tried that ...
0
votes
0answers
25 views

Problem after changing the lost password through the console issues [duplicate]

In the first instance my equipment works correctly without any kind of problem. But I lost the password. i follow the guide to recovery a lost password: How do I reset a lost administrative password?...
2
votes
2answers
617 views

Prevent users from changing the desktop background on Ubuntu 18.04

How can I prevent users from changing the desktop wallpaper on Ubuntu 18.04?
1
vote
1answer
42 views

Query Service Running as Other User

I've installed a service which runs as another user (for security reasons I don't want it to run as root) and this user account is locked (i.e. can't login). Obviously now when I run commands to query ...
3
votes
2answers
1k views

18.04 swich user or log out and log in new user hangs computer sometimes

I just installed 18.04 and created 2 users. Switching between users often causes the computer to freeze/hang. The only escape is the power switch.
0
votes
0answers
27 views

Change ph@user:~$ to muxx@user:~$ [duplicate]

A software engineer used hp as username while installing Ubuntu on my device, and I want to change it to my name but all efforts have proved fruitless. current state: hp@phavor-george:~$ I want to ...