Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [user-management]

Questions about managing the UNIX users, groups and permissions.

Filter by
Sorted by
Tagged with
1 vote
0 answers
13 views

How to access profile from live CD?

I'm accessing my HDD using a live CD due to system problems. I'm about to do a fresh install so just looking to copy the stuff I need to a USB drive. I've managed to grab the files I need, but I need ...
user avatar
-1 votes
1 answer
16 views

Why can´t I umask more permissions for others and group than owner

I have a "Guess" user on my ubuntu server 20.08. I have decided to umask files which this user can create. On his .bashrc i have wrote this: umask 100 What mean : So mean this : I want ...
user avatar
0 votes
1 answer
83 views

I want to 'undo' adding myself to docker group

I'm using Ubuntu 20.04. I installed Docker from Snap Store. Then i started running the commands as recommended on the page, because i wanted to be able to run it as a normal user.These are the command ...
user avatar
0 votes
0 answers
34 views

Can't see username at login screen after 20.04 upgrade

After upgrading to ubuntu 20.04 from 18.04, I can't see my user in log in screen. When I use cat /etc/passwd as root. My old user was not listed there. Then I created a new sudo user, and logged in ...
user avatar
3 votes
1 answer
62 views

How to create a user using command line with setting to create password upon first login?

I am currently trying to set up a computer lab for an educational environment. I am hoping to use a combination of python and bash scripts to implement the users on all of the computers, and I was ...
user avatar
0 votes
0 answers
51 views

ntfsusermap for triple boot

I have a triple boot system: macOS, Windows (Fast Boot disabled), and Xubuntu. Beside the OS drive, there's a data drive formatted in NTFS. I use ntfsusermap as mentioned in osxfuse's NTFS-3G guide to ...
user avatar
6 votes
1 answer
2k views

How do I change the default user that signs in on WSL?

I'm running Ubuntu terminal on windows with WSL, Every time I launch the terminal it signs me in as the root user. I've created a new user and given them root privileges so that I can code easier. How ...
user avatar
  • 61
0 votes
0 answers
28 views

Issues with my User ID on Ubuntu Mate 20.04

My machine is a dedicated Linux laptop, the OS is Ubuntu Mate 20.04 LTS. I am the only user, and I have sudo privileges. I have disabled guest users, but something weird is happening as I don’t seem ...
user avatar
1 vote
1 answer
263 views

What are the default groups for a new standad user in Kubuntu?

I'd like to know which groups are simple (non-admin) users member of by default. Then I will script user group member ship like this : for group in $simpleUserGroups do groups $userName | grep -q ...
user avatar
  • 1,467
0 votes
1 answer
243 views

/etc/group: why the username does not appear in its own primary group?

According with many tutorials in the /etc/group file is listed all the groups. Through the cat /etc/group | grep omicron command (omicron is the default custom user created in the Linux installation) ...
user avatar
0 votes
1 answer
236 views

How to monitor CPU and GPU usage amongst users?

I have several users (with user accounts as per /etc/passwd) who SSH onto an Ubuntu machine that I manage. This is my system info: Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: ...
user avatar
1 vote
3 answers
697 views

When gpasswd vs usermod/deluser?

About user and groups administration I found in many tutorials that appear: gpasswd - to add and delete users to a group usermod/deluser - to add, modify and delete users of a group What is not very ...
user avatar
0 votes
1 answer
76 views

What are the commands to see and edit the user's information? after to use adduser [duplicate]

I read these tutorials: How to create a user account on Ubuntu Linux How to Add and Delete Users on Ubuntu 18.04 When is used the adduser command appears in the process: Changing the user ...
user avatar
4 votes
2 answers
1k views

What's the most appropriate directory where to place development software shared between users?

For sharing data files and directories among users within the same machine, the /srv directory was recommended here: What's the most appropriate directory where to place files shared between users? ...
user avatar
0 votes
2 answers
353 views

How can one let two users share the same home directory in Xubuntu 20.04

I want to create two users (e.g. adm1 and adm2), because each of them wants his own password, to which he is used. They shall share the same home directory however, let's call that admx. Is this ...
user avatar
0 votes
0 answers
35 views

If I create a user account, does it also store information of the creator?

How do I get the username of the creator For example i'm using root account to create a username maxi32 Now, by referencing this username maxi32, how can I know which user created his username? So I'm ...
user avatar
  • 163
0 votes
0 answers
40 views

are www-data user will disabled when apache stop?

Some time ago there was a lot of suspicious processes running as www-data. But after I stop the apache2 server by using apachectl stop, all processes are disappeared from the process list. I start ...
user avatar
0 votes
1 answer
253 views

audio from different user (su) on xubuntu 20.04

I am using firefox on a different user, for example with: LANG=C xhost +SI:localuser:${1} su ${1} or xhost +SI:localuser:$1 sudo -u $1 -H /usr/bin/firefox -P Since the upgrade from 18.04 to xubuntu ...
user avatar
  • 640
0 votes
1 answer
122 views

Permanent access to a usergroup for a usb drive

I have a USB flash drive which gets mounted to /media/pi/76E8-CACF (pi is my main user). pi@raspberrypi:~ $ ls -ld /media/pi/76E8-CACF drwxr-xr-x 3 pi pi 131072 Jul 23 23:54 /media/pi/76E8-CACF I ...
user avatar
0 votes
1 answer
101 views

You can modify user data with chfn (e.g. phone, room) but how can you just display that organisational data?

Edit: @steeldriver provided the answer I believe. I think I found the reason why I did not get the output that I wanted in the first place. When I created the user I entered Full Name, Room Number, ...
user avatar
  • 13
5 votes
1 answer
434 views

Allow a group of users to create and write to files in a given directory [duplicate]

I want to have different users including www-data to work together under a specific path. including updating each others files. I made a new group webimage addgroup webimage and adduser user1 ...
user avatar
0 votes
1 answer
63 views

How to explicitly specify the sender with the alpine e-mail client?

I seem to have run into a situation where configuring the alpine e-mail client (formerly just pine) for a specific user seems to override some configuration so that the username for the operating ...
user avatar
0 votes
1 answer
22 views

Why am I logging in as "kvm" instead of my normal username?

One day I booted my computer and logged in and my desktop was empty. I was now in /home/kvm/Desktop. I never created this user. All my stuff is still under home/ben, so no data has been lost. kvm ...
user avatar
  • 119
0 votes
1 answer
22 views

How does a user database compare to integrated user management

Currently I am setting up my first apache webserver in Ubuntu 20.04 on dedicated hardware. Will host <10000 unique user accounts with an approximate max of 200 concurrent users. I plan on using ...
user avatar
0 votes
0 answers
101 views

Active Directory User Can't Authenticate in ubuntu machine

The following occurs when the user attempts to authenticate: root@winlinubcl2:~# sudo realm join -U Administrator localhost.com realm: Already joined to this domain root@winlinubcl2:~# id ...
user avatar
  • 11
0 votes
0 answers
145 views

How to change "root" name in a remote ubuntu 20.4

I would like to change the "root" name to a custom name in a remote ubuntu 20.4 machine. I tried the solution from Change root name in ubuntu but it doesnt work. Now I cannot log in at all. ...
user avatar
  • 246
0 votes
0 answers
50 views

Prevent Others from deleting a user

When I as a main user add a user with adduser command and give the added user sudo access. But afterwards I can delete this user without entering the password associated with this user. I want to just ...
user avatar
  • 29
0 votes
0 answers
38 views

Linux Ubuntu 20.04 not working after adding second user

I added a new user to my Dell laptop with Ubuntu 20.04 version installed on it. After I added the new user and restarted my computer it will not show any icons or images at all. I can open some ...
user avatar
0 votes
2 answers
83 views

Can multiple operating systems share program installations and user profiles?

I'm new to Linux and trying multiple variants of Ubuntu (standard, Mint, Pop, etc.). Unfortunately, every OS is isolated on different partitions, with separate settings, user groups, etc. and programs ...
user avatar
0 votes
0 answers
29 views

web-based user password reset

I am configuring a server for a small group of users. The server runs a ftp server, email-server and wordpress. I would like to have a webbased password recovery that will send an email to a pre-...
user avatar
2 votes
1 answer
349 views

Launching root user installed application as a standard user

I am a newbie in Linux. Please help me out of this mess. I've downloaded and installed an application as root and created its desktop shortcut launcher and worked. On switching to the standard user's ...
user avatar
  • 21
1 vote
0 answers
42 views

How to set user and group permissions properly for different groups?

On a Ubuntu 20.04 server i have two drives in /media. /media/data (internal drive) /media/network_drive (network drive) I have several user groups (group1, ..., groupN). For each group there should ...
user avatar
  • 11
1 vote
1 answer
97 views

How do I access my user account if another user forgot to sign out?

I'm having a problem with Ubuntu Studio 20.10 on a shared computer where if one user puts the computer to sleep without signing out the next user is not given the option of signing in without first ...
user avatar
  • 111
0 votes
1 answer
59 views

how to set different login and root password [duplicate]

I want to use different password to logging into desktop from what I can use for sudo -s or sudo -s -u root on terminal/bash. And also I don't want any additional users with different desktops(like ...
user avatar
0 votes
1 answer
651 views

bash.bashrc not working for all users

So I have 2 users on my PC when I add the line alias abc='echo Hello' in /etc/bash.bashrc file and log back in it only works for the first user. (the one that I changed the file) I even rebooted my PC ...
user avatar
  • 55
1 vote
1 answer
309 views

User, Group and Other in the chmod command

I think I basically understood the point with the seven levels of authorization with the chmod command. However I'm not sure what is meant by user, group and other. What's the difference between ...
user avatar
0 votes
0 answers
44 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 ...
user avatar
1 vote
1 answer
187 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. ...
user avatar
  • 370
0 votes
1 answer
35 views

/home/jdoe doesn't appear after creating user named "jdoe"

I'm running the last version of Ubunutu on VirtualBox. Just learning the usermod command. I got a problem : when i type sudo useradd -d /home/jdoe jdoe or sudo useradd -D /home/jdoe jdoe or even sudo ...
user avatar
  • 1
1 vote
1 answer
257 views

Using command "chage" for everyone in the group group

How can i use "chage" command to change, for example, minimum number of days before password change for every user in the group?
user avatar
  • 13
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
6k views

Samba 4 Database File sam.ldb Missing?

I am on Ubuntu Server 20.04, running Samba version 4.11.6-Ubuntu. I need to modify a Samba user account, but I am unable to open sam.ldb due to it apparently not being present. Here is the output: $ ...
user avatar
  • 31
0 votes
1 answer
99 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 ...
user avatar
  • 445
1 vote
1 answer
162 views

Completely remove user while using chroot from Ubuntu RPi image

I'm customizing Ubuntu for my project but every time I use chroot for deleting user and creating mine, I end up with two users <my_user> and <ubuntu>. Ubuntu is the default user for Ubuntu ...
user avatar
1 vote
1 answer
348 views

User creation with limited access

How to create a user with access to selected applications installed in the system and read/write permission to only one directory in the file system? Say, for example, one wants to create a user dummy ...
user avatar
  • 965
0 votes
1 answer
594 views

; or && when used with exit doesn't execute next command

When switching from 1 non-root user to another and running the command like following - beta> exit; sudo su - alpha Or beta> exit && sudo su - alpha But it only logs out and doesn't ...
user avatar
  • 127
0 votes
0 answers
84 views

I want to make a user without password requirement

so I have ubuntu 18.4 loaded on my laptop and I have my own user on it I want to make another user without root privilege for normal use of my family which is accessible without any password. I tied ...
user avatar
1 vote
0 answers
179 views

Remove unnecessary users on single user machine

I have these users setup on my single-user machine and I'd like to delete unnecessary ones to make the list shorter: $ cut -d: -f1 /etc/passwd root daemon bin sys sync games man lp mail news uucp ...
user avatar
0 votes
1 answer
63 views

Unable to figure out the file/folders permission in Ubuntu

I am new to Linux and trying to learn the basics on my Ubuntu 16.04 LTS pc. The problem I am facing is related to giving file permission for other users. Basically, I have set up two user accounts- ...
user avatar
0 votes
1 answer
1k views

Home User's Permissions Denied

I have 2 users on my server: root andmyuser. I am not exactly sure how, but I messed up myuser's permissions while trying to edit my home directory as root. Now whenever I start up my server, myuser ...
user avatar

1
2 3 4 5
7