Questions tagged [users]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Other users unable to access shared Directory

I created a directory in /home and changed its group from root to sharing. Other users in the group sharing are unable to access the directory. I have tried a lot of ways to solve this problem but I ...
0
votes
2answers
45 views

Giving Windows user permissions in Samba shares

I'm pretty new to Linux and especially to Samba. so, I installed samba and created a share. my Windows server and client PC's can connect to it. but I want to give the different Windows users ...
0
votes
0answers
18 views

pass argument to a variable and set it as a password for the users, and this password will expire within a week

I have a bash script file and I want to pass an argument as the users password, and this password will expire within a week. With this script, I want to be able to set the users password by the user ...
0
votes
0answers
19 views

Why my messages in /etc/motd are not showing?

My welcome message is not showing, how do I check if it is enabled or disabled
0
votes
0answers
44 views

How to ask a user to enter a welcome message? Then, how to do I print this custom message to other users?

I should execute necessary bash commands to print this custom message automatically to other users.
0
votes
0answers
33 views

VirtualBox booting from USB as disk

I installed Virtualbox on Ubuntu 20LTS, I have some questions you may help me solve. I am trying to run a Ubuntu VM from an USB as a disk About Users & Groups: which groups needs the user to have ...
0
votes
0answers
21 views

What user is running VMs in VMPlayer?

How do I find what user is running VMs in VMPlayer? I ask because i want to attach vmdk file as read only and want to make sure file is readonly for vmpalyer.
1
vote
0answers
20 views

User not showed in login

A few days ago I tried to customize the gnome terminal and in trying to return to the default configuration I touched something too much. At boot Ubuntu 20.04 forces me to create a new user as if it ...
0
votes
0answers
36 views

How can I remove all the users and groups associated with removed (purged) programs?

How can I remove all the users and groups associated with removed (purged) programs? For example, I install exim. It created a group and a user named Debian-exim. I then use it for a while, and remove ...
3
votes
1answer
331 views

newusers command always return Permission denied, how do I deal with it?

I'm trying to create multiple users accounts in batch and I have full privilege to /etc/passwd However, this command sudo echo "vv1:myUltraSecretPassword" | newusers always return this ...
1
vote
1answer
43 views

Why it is hard for virus to crack Linux file system although it is so open? [closed]

I've just started my journey in Linux by installing Ubuntu 20.04 LTS, trying to learn about it's file system and working method and faced a question that why a normal user doesn't face any virus issue ...
2
votes
0answers
30 views

Can't unlock certain GUI system settings + unusual authentication notifications on login and power off

I am running a recent upgrade to 20.04LTS. I am not using the Ubuntu on Wayland session as it won't recognise my login; I'm therefore logging into the Ubuntu session. Since the upgrade there are a ...
0
votes
1answer
46 views

Ubuntu 20 undesired initial setup after each boot

Context: I upgraded from 18 to 20.04. I have just one normal user A. Expected behavior: on each system init, should open the window to login in user A. Actual and Unexpected behavior: sometimes after ...
0
votes
0answers
27 views

Root@clear is showing instead of showing host name

I don't what happened there was crash or some thing my prompt is changed into like user name root@clear usually it shows username like root@local.localdomain How can I revert back to previous state ...
0
votes
1answer
110 views

How to change default user in WSL Ubuntu when distro not installed from Microsoft Store

I've imported a WSL image I had exported from WSL previously (wsl --import UbuntuTest ./UbuntuImport .\UbuntuSnapshot201011). My distro has been correctly installed as UbuntuTest. However, when I log ...
0
votes
0answers
28 views

Ubuntu start with create new user page

My operating system is ubuntu20.04. Recently, when I turn on my laptop the new user creation page pops up. I have to create a new user before logging to the desired user. How to solve this problem?
1
vote
1answer
164 views

ubuntu live-server as rescue system - how do i log in?

i want to try out a few things on the ubuntu live-server (currently ubuntu-20.04.1-live-server-amd64.iso from https://releases.ubuntu.com/). it would be much easier for me to be able to log into that ...
0
votes
0answers
34 views

How to remove user authentication when trying to open a file? e.g .JPG

I'm very new to linux, I'm using ubuntu 20.04 LTS. I had recover some files that were deleted in a HDD when I was using Windows some time ago. I used foremost to recover my files, but the output ...
0
votes
0answers
43 views

currently logged in user account disappeared after removing a different user

I am running Ubuntu 20.04 on a Thinkpad Extreme Gen 2, with Nvidia Drivers 450 from the default repos (if that changes anything) Was doing some development in Objective-C on another user (referring to ...
1
vote
1answer
37 views

Prevent adding users via gnome-control-center

We require users to be added using a special script and therefore adding users via GUI (i.e. gnome-control-center user-accounts) should be blocked to prevent someone accidentally not using the script. ...
0
votes
1answer
32 views

Ubuntu 20.04 Default terminal user doesnt have write group access

I am trying to add user123 to group group123. I used the command usermod -a -G group123 user123. When I change to that user it is apart of the correct groups. When I open the terminal and run $users ...
0
votes
1answer
29 views

Install Ubuntu without creating a new user

After booting my system from the USB with the Ubuntu 20.04 installation, it prompts me to create a new user. Is there a way around it? More specifically, I'd like to loggin from my existing user right ...
0
votes
0answers
39 views

How do I change my default root-user to non-root user?

When opening my terminal (Ubuntu16.04) I am logged in as root. Everytime I have to type this command 'su - ' to log in as non-root user. So I already made a non-root user but how do I set this non-...
1
vote
1answer
45 views

Gdm new user set default desktop

With gdm preferred, how do I get the new user to log in as cinnamon desktop instead of gnome desktop?
1
vote
1answer
137 views

Ubuntu 20.04 always forces me to create a new user at boot

I have newly installed Ubuntu 20.04, customized GDM3, installed my needed software and everything appeared to be successful. However, when I reboot, Ubuntu asks me to create a new user for some ...
0
votes
0answers
35 views

Execute the command most safely

I want to automatically export an mdb file so that the system can work with CSV but I don't want to use functions like shell_exec, exec, system and etc the option I can think of: create a user with ...
0
votes
0answers
13 views

Control use of second hard drive

I have two hard drives. One with Linux and one with all the data our school has. I can access both with no problem but other users currently cannot. They need to access one folder from this to ...
0
votes
0answers
19 views

Limiting the number of cores for a user

I have a 32 core server but I want to limit a specific user to use only 16 cores. In other words, if the user performs nproc --all I want the output to be only 16 cores. I'm also looking for a ...
0
votes
0answers
88 views

Configure a default profile on Ubuntu 20.04

How can I set a default profile on Ubuntu 20.04 for all newly created users? I used to use /etc/skel, but it doesn't work anymore, except for .bashrc or .profile. Indeed, if I copy the .mozilla folder ...
0
votes
0answers
53 views

Encrypt each user's home folder individually with ZFS

Scenario is that I have a pile of computers (with Ubuntu 20.04), each of which can have multiple users. Each user's account has to be encrypted individually. As ecryptfs is no longer recommended, I ...
0
votes
0answers
225 views

Ubuntu Fingerprint option not showing up in User settings

Laptop: Asus ZenBook S UX391UA, OS: Ubuntu 20.04.1 LTS I have altered the pam-auth config using the 'sudo pam-auth-update' to include fingerprint authentication. pam-auth-update screenshot I have ...
0
votes
0answers
42 views

How to start a program explicitly specifying its capabilities and user?

There is a system user myuser and a program /usr/bin/myprogram. How to run this program by this user and with cap_sys_nice capability? root@srv:~# capsh --caps='cap_sys_nice+eip' --user=myuser /usr/...
0
votes
0answers
32 views

Issues with one user account (no tab completion) after upgrade to Ubuntu 18.04

I recently upgraded two different instances from 14.04 to 16.04 and then to 18.04 Ubuntu. After it, I am having issues with my primary user. I can log in but I don't have tab auto complete, etc. In ...
0
votes
0answers
94 views

Fingerprint Reader on Lenovo Yoga

I am new to Ubuntu and I would like to activate the fingerprint reader on my Lenovo Yoga laptop. I have tried to follow the following instructions for the version of Ubuntu I have (20.04): Open the “...
0
votes
0answers
55 views

user id 1003 shows at one place, not at another

When I command getfacl filename (file name is: nd111) it shows this result: #file: nd111 #owner: root #group: www-data user::rwx user:1003:rwx #effective:r-x group::r-x mask::r-x ...
0
votes
1answer
40 views

distinction between different “types” of root access in bash? [duplicate]

What's the distincton between: sudo su - and su -i and where would one be preferred over the other? -, -l, --login Start the shell as a login shell with an environment similar to a ...
-1
votes
1answer
25 views

Can a userid of a user be a groupid for some group also?

In ubuntu 18.04 terminal (of a virtual server on GCP) I commanded awk -F: '$3 >= 1000' /etc/passwd and it showed 2 users, named 'nu' and n2'. But problem to me is that it is showing as if 'nu' is a ...
0
votes
1answer
105 views

“getent” doesn't show members in the group

If I command id nu, the output shows that the user nu belongs to the group named nuu. But if check the members of the group nuu with the command getent group nuu it shows as if there are no members in ...
0
votes
1answer
17 views

Can I remove 'read' access over user home folders and all website folders under /var/www without breaking anything big?

If the permissions for all the webroot folders (under /var/www) is 754, can I make it to 750 without breaking my websites or any other thing? In other words, with background detail: I've 4-5 wordpress ...
0
votes
0answers
11 views

how to force the logout out of another user with systemd or systemctl? [duplicate]

In the context of: How can you log out via the terminal? and: https://unix.stackexchange.com/q/72203/101935 how can I force logout of a specific user through the console or terminal using either ...
0
votes
1answer
47 views

Strange user name in the login list

On one of my servers on this is login prompt: I've surprisingly found one more user in the list (not available on this sample picture from the internet) with name "\". I don't see such a ...
0
votes
1answer
104 views

How to change subtitle user's home directory?

I added a user (user2) in a WSL2 environment and then wanna change that user2's home directory to a different directory. But something must be wrong. $ usermod -d /var/lib/app1 user2 usermod: no ...
0
votes
0answers
27 views

Why is debian-tor listed as a user for ClamAV/freshclam?

I recently experienced a surge in CPU usage and checked in on Task Manager and saw it was freshclam. The readout indicated that the user was debian-tor and PID=829. I checked /var/log/clamav/freshclam....
0
votes
1answer
48 views

Sudo privilege is not working even after adding to sudo users

I have tried to add my user in the sudouser group. I have used usermod. Which pretty fine worked. But in sudoers # Allow members of group sudo to execute any command # %sudo ALL=(ALL:ALL) ALL The ...
0
votes
1answer
67 views

Why do I get `$` in prompt instead of `user@hostname:~$` while SSHing into docker container? Am I logged in as user?

I am trying to ssh into my Ubuntu docker container. But when I try, it's not entering as my user, but instead into some DOS terminal. But when I use bash command, it will give me a bash terminal with ...
0
votes
1answer
27 views

Logged as main user but can't access anything

After ordinary use of Ubuntu 20.04 yesterday I shut it down, and today after logging in as user "biowar", I cannot access any app, for example Nautilus: This location could not be displayed ...
0
votes
0answers
27 views

Change ownership of a partition [duplicate]

I have an NTFS partition for sharing files between Windows and Ubuntu, but when I want to modify something into the partition I must do it with sudo. In the info in Nautilus, it says that the owner (&...
0
votes
0answers
421 views

Cannot enable USB in Ubuntu 20.04 running on VirtualBox 6.1

I want to enable USB Controller in Ubuntu 20.04 running on VirtualBox 6.1 My USB is 3.0 so I installed VirtualBox Extension Pack (all supported platforms) from http://www.virtualbox.org/wiki/Downloads....
1
vote
1answer
60 views

How can I create a user who can log in without a password (delete password in passwd command?) in 18.04.4 over ssh?

This is an absolutely new machine and my current situation is I don't have root's password. I have a user (A) that has sudo privilege. I would like to create a user (B) which needs no password to log ...
0
votes
0answers
52 views

Cannot Log In as other user in Ubuntu 20.04

I have created a guest user as root from my current account by useradd guestAccount passwd guessAccount Then I logged out from my current accout by gnome-session-quit --no-prompt. Then when I log in ...

1
2 3 4 5
28