Questions tagged [user-management]
Questions about managing the UNIX users, groups and permissions.
347
questions
0
votes
0
answers
13
views
How to add a user in only particular directory and no permission to another directory linux
My Root access is /Var/www/html
and i create giz folder under html and i need a access for this particular folder for jslpsgiz user
and this user can not accessing in other path and folder.
Path /var/...
1
vote
0
answers
14
views
pam_tally2 locking everyone out after configuring common-auth file on Ubuntu 20.04
I am trying to configure user lockout after 3 unsuccessful attempt. I found instructions on the internet but I always end up with the same problem: after modifying /etc/pam.d/common-auth to include ...
0
votes
0
answers
52
views
Having multiple accounts logged in at once makes my laptop very slow and crashes
I am an Ubuntu user, and I decided to manage my laptop to use two accounts: one for personal use, and the other for work. If I switch accounts from one to other without terminating the session, the ...
0
votes
0
answers
17
views
What is the most effective method to create a user in Xubuntu who inherits all customizations of the system?
After installing an Xubuntu system on a computer, it is advisable to create separate user accounts different from the account with admin rights resulting from the installation itself.
But some basic ...
0
votes
1
answer
23
views
Set UID range for specific GUID
I created some groups and I want to create some users to specific guid.
It will something like this:
group1 with uid from 1000 to 1500
group2 with uid from 2000 to 2500
group3 with uid from 3000 to ...
0
votes
0
answers
26
views
systemd service doesnt start
i have a problem with a systemd service and i cant find the problem.
I have script in the directory /home/username/test/ called battery.sh:
#!/bin/sh
max=99999
for i in `seq 1 $max`
do
clear
...
1
vote
1
answer
784
views
How and where to install conda to be accessible to all users
What I Want To Do
I want to install conda on our shared computer on premises in such a way that it can be used by all users. Users are accessing the machine through remote desktop using xRDP from ...
0
votes
1
answer
132
views
Is an Ubuntu One account necessary for Ubuntu Core?
I have been installing both Ubuntu Server 22 and Ubuntu Core 22 over the last two months in order to learn more details about it.
One of the main difference I see is that when I install Ubuntu Core it ...
0
votes
0
answers
15
views
How to add a user to the ftpuser group? [duplicate]
I installed vsftpd on Ubuntu 22.04. It works with the user I created for this purpose. How do I enable another user for ftp connection?
0
votes
0
answers
26
views
How to have SDM offer to enter a user's name?
using UbuntuStudio 22.04...
I am using SDM as display manager. I shows icons/avatars for my main users.
One user is hidden (option "HideUsers=hidden_user"),
however I still would like this ...
0
votes
0
answers
40
views
System doesn't boot after adding user to group with gpasswd
I ran
sudo gpasswd -a ${USER} docker
I have Ubuntu jammy installed alongside windows. Windows boots normally but after running the above command and restarting Ubuntu now gets stuck in the screen ...
0
votes
3
answers
628
views
What is the need of multiple users in linux? [duplicate]
I am pretty much confused about the creation of users!
Because if anyone wants to make a new user he will require my (real id password) when setting their own password using (sudo passwd username)!
...
0
votes
0
answers
236
views
Can't use Ubuntu after updating 22.10 + nvidia driver
Today I did an update to Ubuntu 22.10 trough UBUNTU SOFTWARE UPDATE app.
After rebooting the OS video worked only in 4:3 1024x720 resolution. I rebooted again and since then after sign-in to my user ...
0
votes
0
answers
512
views
Ubuntu 22.04 safely exit emergency mode
Uhm, I run into trouble attempting a rollback of packages installed today.
I executed this:
grep "2022-10-20.*.install " /var/log/dpkg.log | awk '{ print $4 }' | cut -d: -f1 | xargs sudo apt-...
1
vote
0
answers
118
views
useradd Problem with /etc/default/useradd ubuntu 22.04
Hi i have problem with useradd conf file /etc/default/useradd. I change some vaule at the end of file
for example:
GROUP=100
HOME=/users
INACTIVE=40
EXPIRE=4
SKEL=/etc/skel
CREATE_MAIL_SPOOL=yes
none ...
0
votes
0
answers
31
views
How do I lockout inactive users
I'm trying to lock out inactive users (i.e. those who haven't logged in for more than 30 days) on Ubuntu 20.04. The idea is that their account becomes disabled and they have to ask for a renewal. So ...
0
votes
0
answers
93
views
How can I set default user in Ubuntu 18.04 and set the to autologin - using command line only?
I know that I can do it with GUI using https://help.ubuntu.com/stable/ubuntu-help/user-autologin.html.en
But I want to find a way to do it automatically to automate setting up a VM.
I already found ...
0
votes
1
answer
257
views
Created user but I can't switch to new account
I created a new user using this command:
sudo adduser -system -home=/opt/odoo -group odoo
But I'm getting this error with comman sudo su - odoo:
This account is currently not available
how can I ...
0
votes
0
answers
117
views
How change login userid Ubuntu 22.04
Repair person installed Ubuntu 22.04 with user "owner" on my desktop. My previous userid was "ron". I have copied some directories and files to my new install from my HD backup ...
0
votes
0
answers
91
views
Jail user in production
I have an offline Ubuntu 22 machine used in production
I want to jail the user from accessing files in the OS, what’s the best approach to this task?
I’ve been looking on chroot and jailkit
0
votes
2
answers
105
views
Prevent one user to get into other user's data
I have two users in the home directory (home/user1 and home/user2). I want them all to have all permissions but I don't want the second one to access data from user1. Both can read and install ...
1
vote
0
answers
263
views
User can't change password after key-based SSH login
I have a remote machine that is configured so that a number of users can access it over SSH using key-based authentication, which works great. Users also have the option to use an RDP client to ...
-1
votes
1
answer
55
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 ...
0
votes
1
answer
601
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 ...
3
votes
1
answer
1k
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 ...
0
votes
0
answers
130
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 ...
8
votes
2
answers
8k
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 ...
1
vote
1
answer
641
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 ...
1
vote
1
answer
2k
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) ...
0
votes
1
answer
1k
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: ...
2
votes
4
answers
2k
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 ...
0
votes
1
answer
186
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 ...
4
votes
2
answers
2k
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?
...
2
votes
2
answers
3k
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 ...
0
votes
0
answers
38
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 ...
1
vote
1
answer
763
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 ...
0
votes
1
answer
217
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 ...
0
votes
1
answer
250
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, ...
6
votes
1
answer
2k
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 ...
0
votes
1
answer
160
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 ...
0
votes
1
answer
26
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 ...
0
votes
1
answer
25
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 ...
0
votes
0
answers
282
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.
...
0
votes
0
answers
122
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 ...
0
votes
0
answers
66
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 ...
0
votes
2
answers
326
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 ...
0
votes
0
answers
40
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-...
2
votes
1
answer
1k
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 ...
1
vote
0
answers
49
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 ...
1
vote
1
answer
125
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 ...