Questions tagged [user-management]
Questions about managing the UNIX users, groups and permissions.
347
questions
0
votes
0
answers
21
views
How to add a default bookmark (quick folder access) to all users?
I have many users on my machine; I would like them to have in the bookmarks tab of the Nautilus a link to a specific folder e.g. /home/shared-folder. Is there a way I can change the default bookmarks (...
-1
votes
1
answer
103
views
Ubuntu in org : best practices [closed]
Is there a canonical document of what are a few things to use Ubuntu in an organisation? We are an IT company. Our office laptops have windows installed. I want to experiment with Ubuntu. At home i ...
0
votes
1
answer
170
views
Why a new user was created seemingly to run gvfsd-admin daemon?
A new user was created seemingly to run gvfsd-admin daemon. The new user is called dachsroot.
This happened after I installed many astronomy packages into my ubuntu 22.04.
it is not clear what ...
0
votes
1
answer
54
views
I am unable to find /home/user/Personal/Documents files in /home/ramendu/Personal/Documents
Unknowingly I have deleted my /home/user/Personal/Documents files. How can I recover them?
[
2
votes
0
answers
83
views
Ubuntu 20.04 change default settings for all new users
I'm trying to find a way to change default settings for all new users, for example the applications in dock, desktop icons, default homepage, etc...
Using dconf, extensions, and tweaks, I've setted a ...
-1
votes
2
answers
2k
views
All users locked - login not possible
attached you can find the terminal of my homebridge account. The only account which is actually able to logon:
homebridge@raspberrypi:/var/lib/homebridge
$ su pi su: Authentication failure
homebridge@...
1
vote
1
answer
142
views
Unable to set inactive account lockout
I am trying set the default inactivity period to 30 days using sudo userdadd -D -f 30. The command doesn't give me any errors, but when I type /usr/sbin/useradd -D | /bin/grep INACTIVE to check if the ...
0
votes
0
answers
25
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
1
answer
633
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
63
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
31
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
184
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
46
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
...
5
votes
1
answer
9k
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
855
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
53
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
2k
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
873
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
232
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
1
answer
1k
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
131
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
131
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
406
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
98
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
974
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
2k
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
144
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 ...
13
votes
2
answers
14k
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
781
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
3k
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
2k
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: ...
5
votes
4
answers
3k
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
266
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 ...
5
votes
2
answers
3k
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
5k
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 ...
2
votes
1
answer
1k
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
290
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
395
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
3k
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
301
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
53
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
326
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
215
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
93
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
468
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
53
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
2k
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
53
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
142
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 ...