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
0answers
27 views

18.04 - All programs killed after logging out

Ubuntu 18.04 freshly installed and up to date, logging out with CTRL+ALT+DEL is fine but then when I log back in all programs running are killed. Is there any way to keep all the programs running ...
0
votes
0answers
25 views

Problems with user settings

i have 2 users, mine and my moms, but the thing is that, from my mothers account i can enter the files and apps for my account (mine is the principal one btw) i dont want my mother to acces my files, ...
0
votes
0answers
19 views

Laravel creates files and gives permission to root user

When new cache files are created (for example, newly created files in storage/cache) the owner of the file gives permission to root user. I have another user deployer whose groups are deployer and www-...
0
votes
0answers
15 views

Bash script to automaticly change a given user's password [duplicate]

So, I know that the passwd command allows me to change my own password, and if run with sudo, allows me to change anyone's password, but what if I want a script to do it? I have a script that grabs a ...
0
votes
1answer
32 views

User Account credentials, and how to change Ubuntu-Budgie

I am running into a situation where I need to change the terminal 'user' in Ubuntu-Budgie, but I am not seeing how this can be accomplished yet, mainly because I am not sure of the 'name' I need to ...
1
vote
1answer
42 views

copy file from folder in user abc to a root folder [closed]

As user abc, I had wanted to install a "systemrescuecd.iso" on a USB stick. I had made a temporary folder "/tmp/cdrom" (command: mkdir -p /tmp/cdrom). But the command: mount -o loop,exec /path/to/...
0
votes
2answers
53 views

Ubuntu won't login, password is true

My ubuntu won't login but password is true! Here what's output. First image I try to login, and password is true! It back me to login screen. I don't know I try to change password via other user and ...
0
votes
0answers
16 views

Problem in switching to a different user

Noob alert Alright,i have created some users,and after i set the password for each user i tried to login as a user4 ( the user i created ). And i got this error. Anybody can help me to figure out ...
-1
votes
0answers
32 views

How can we list all users that have a valid login shell? [duplicate]

I know that you can see the valid login shells with cat /etc/shells, but from this point i am stuck
6
votes
1answer
310 views

What is the significance of the output of cat /etc/group? [duplicate]

When I run cat /etc/group on Ubuntu 18.04, I get this output: root:x:0: daemon:x:1: bin:x:2: sys:x:3: adm:x:4:syslog,hani tty:x:5: disk:x:6: lp:x:7: mail:x:8: news:x:9: uucp:x:10: man:x:12: proxy:x:...
0
votes
0answers
25 views

Removing Users with SSH (User Files still appears in FTP)

Well. Am removing users from my ubuntu server. Used the command "sudo adduser" Made the Users. Got their User Files in my FTP. did remove the User with " sudo deluser" Also "sudo deluser --...
0
votes
0answers
20 views

How to list groups with no users

I am new to Linux, using Ubuntu 18.04. I am learning about user management commands. I am experimenting with creating and deleting users. When I created "user1" a new group "user1" is created. When I ...
0
votes
0answers
16 views

Recovering User After An Upgrade

So I recently did an upgrade from 14.04 to 16.04.5 ( planning to continue to 18.04.1 ) and when I logged in to what I thought was my user I saw that all my files weren't there. At first I thought ...
0
votes
0answers
33 views

Ubuntu 18.04 SFTP Group: one user has permissions, the other doesn't

Following this guide I have created a group sftp_users that I use for SFTP access only. I created two users, user1, user2 I then added both to to group sudo usermod -a -G sftp_users user1 sudo ...
-1
votes
1answer
96 views

How can I change my login name?

I don't mean the first encrypt password, but that login name that appears in logout from user mode, change user, etc. The second password where I wrote my real name.
0
votes
1answer
34 views

New Users not visible at login

I have created a couple of new users via the Users and Groups GUI for Ubuntu 16.04, however they are not available on the log in screen (nor log out/ switch user). I used the same method on a virtual ...
0
votes
1answer
113 views

Can't add guest session in Ubuntu 18.10 [duplicate]

So I just installed Ubuntu 18.10, but I can't add a guest account. there aren't any buttons for it.
-1
votes
2answers
96 views

How to disable running a program from command line

I have an installed program, say : "firefox", and I want (for some reason) to run it only if I double clicked the icon, and not form typing "firefox" in terminal. is there any way to do that, for ...
3
votes
1answer
278 views

Can a user also be a group itself?

In my Ubuntu 16.04 terminal, logged in as "john" (a normal user), I enter: john@ubuntu-server:~$ groups john Then the output goes: john: john adm ...... So I wonder how john can be a user and a ...
0
votes
2answers
30 views

How to create a group, add users to the group, and have that user access all folders in files in that directory?

I want to basically create a group called Staff. I want staff to be able to access the folder /home/Clients and all of the subdirectories and files inside the Clients folder. How would I go about ...
0
votes
1answer
18 views

Give scheduling rights with security.conf

I am running a C++ program which wants to enforce its own scheduling policy. It keeps giving warnings that it doesn't have the rights to, and I want to give it all the rights that it wants! I tried ...
0
votes
2answers
22 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
61 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 ...
8
votes
2answers
701 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
28 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
19 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
23 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
23 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
59 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
45 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
82 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
141 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
43 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
56 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
122 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
187 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
85 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
354 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
73 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
40 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
730 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
499 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
265 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
20 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
49 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
65 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
106 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
80 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 ...