Questions tagged [users]
For questions related to users, user accounts, user permissions or guest accounts.
1,517
questions
0
votes
0
answers
24
views
Ubuntu 20.04 says password is incorrect for all users but one
My Ubuntu 20.04 laptop contains 4 users, 2 normal users and 2 administrators. Only the second administrator can login properly, all of the other users result in "Sorry, that didn't work" ...
0
votes
1
answer
33
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?
[
0
votes
0
answers
15
views
Setting up a Samba server. New files are being created with no Write access to the group? [duplicate]
I've been bonking my head against this for 2 days. Maybe someone linuxier than me can see my error.
Ubuntu Server 22.04.3 LTS
Samba version 4.15.13-Ubuntu
Stand Alone Server
My goals:
only allow ...
-1
votes
0
answers
24
views
about users , groups and sudoers [duplicate]
How to add '(an existing user) to 'sudoers' by adding special group as secondary to the user?
a test task
0
votes
0
answers
40
views
two people to use the same computer
I have an Ubuntu 23.04 computer. My wife and I work in different areas, so I would like to know if it is possible to split the computer into two users with different screens and keyboards using the ...
-1
votes
0
answers
18
views
Pre-defined users, can they be used to run processes [duplicate]
Can I ask what best practice is for using the pre-defined users on Ubuntu to run processes please?
Specifically is it ok to use the 'backup' user to run backup processes and assign it access to ...
1
vote
2
answers
62
views
How to allow a user to start/stop a specific system service?
I am building a server on which my students will be able to upload their projects, which are Python+Flask web-applications. When I add a new user, I add a new service in /etc/systemd/system/[username]....
0
votes
0
answers
42
views
User not able to modify the file which is created by a different user. User is also part of that user's group [duplicate]
I have created two normal users on my Ubuntu system:
testuser1
testuser2
I have added testuser2 to the testuser1 group
testuser1 created a file in the /tmp folder named file1, testuser2 is able to ...
1
vote
1
answer
124
views
Who is snap_daemon & snapd-range-524288-root and Ubuntu.com?
Snap_daemon & snapd-range-524288-root hacked into my computer as users, and messed it up not giving me access to change multiple programs to fix them. I deleted them as users along with their ...
1
vote
1
answer
42
views
What does "enable" mean when adding a samba share user?
In this SO question, the asking person mentions the adding and then the editing of a samba user account.
Something like this:
$ sudo useradd --system --no-create-home --group=smb-group -s /bin/false ...
0
votes
0
answers
23
views
ACL permissions set correctly but user still doesn't have access
I am trying to give access to a user named 'test' for a specific directory under /var/log, but not everything else under /var/.
I used the following commands:
sudo setfacl -R -m user:test:--- /var/
...
1
vote
0
answers
21
views
Ubuntu 22.04 LTS prevent Logout
is there a possibility to prevent user from logout.
I use the system as a KIOSK device for Web Browsing and Information.
Thanks
Sofa
-7
votes
1
answer
44
views
Linux variations what is different other than UI
Thanks for reading my question.
could you please tell what is the reason behind why so many variations in Linux like Linux mint, fedora etc
is there only UI change or the changes are in kernel
Could ...
0
votes
1
answer
58
views
how to manage mulitple users for processing in linux server?
I am a computational student, and we have three servers, each with 48 processors and multiple users.
here is what I want to do. I want a system in which each user has a specific number of processors ...
0
votes
0
answers
39
views
How to allow AD group to run elevated commands from the desktop in Ubuntu 22.04
I've seen a number of similar questions, but none that quite cover my situation.
I have an Ubuntu desktop 22.04 system, setup for authentication against a Active Directory. I have a domain group ...
0
votes
0
answers
34
views
Ubuntu general user mkdir testing
I have generic question about testing mkdir command,firstly I dont have root access, I am user xyz , I will create mkdir dump && chmod 777 dump , now is there a possibility in linux where i ...
0
votes
0
answers
15
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
129
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
38
views
ubuntu:ubuntu owns "/" - all server files
So recently, I made a mistake. I did;
sudo chown -R ubuntu:ubuntu /
Now, my server is pretty non-functioning, and the fact that my server is using 100% of it's space, doesn't make the situation any ...
1
vote
1
answer
126
views
Default group for user when creating files and directories
I have user deployment whos default group is set up to www-data. He also belongs to group xxxxx.
Then I have a cron script under the user deployment which runs php script which generate some dynamic ...
0
votes
1
answer
78
views
New user on newly created server, added to sudo group but still no sudo access
I created a new server (ubuntu-s-2vcpu-2gb-nyc1-01) with Ubuntu 22.04 and added a new user (michael). I then added the user to the sudo group. When I check the groups for michael I see the correct ...
0
votes
0
answers
20
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
0
answers
208
views
My NTFS partition SSD drive became RAW but not in Linux
My NTFS became RAW after accessing Users folder on another computer.
I just used my old drive on a second computer, I entered Users folder in root directory C://Users.
The NTFS partition can be ...
0
votes
1
answer
37
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
16
views
Fingerprint association to username
I'm running 22.04.2 and I have a working fingerprint scanner associated with various user accounts.
What I would like is a login where upon scanning the fingerprint authenticates the user and ...
0
votes
0
answers
48
views
20.04 Migrate between users - best way?
Effectively a kubuntu system. User 'adam' uses a KDE Plasma desktop. User 'glen' uses a Gnome MATE desktop.
I find need to migrate daily use of 'adam' (settings, program data, etc.) to 'glen'. ...
0
votes
0
answers
152
views
groups and groups <user> are different even after restart
Hi there I'm new to Linux and I'm very confused. I tried to add my user to docker group to run the docker without sudo as follow: https://docs.docker.com/engine/install/linux-postinstall/ and It ...
0
votes
0
answers
84
views
Useradd Default Groups in 22.04
I'm working on building some new servers with 22.04. I use Ansible to create users, and noticed that when creating a new user, for example "test", the user's default group is now the "...
0
votes
0
answers
45
views
Changing the User path
Failed to attach disk 'C:\Users\Kam\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu_79rhkp1fndgsc\LocalState\ext4.vhdx' to WSL2: The system cannot find the path specified.
Kam was the previous ...
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?
1
vote
2
answers
82
views
Terminal not displaying directory, commands executing instantly when pasted; arrow up ==> ^[[A [duplicate]
I'm using Ubuntu 22.04.1 LTS.
I created the user "dom" when I first set up Ubuntu. From then, I created another user, named "schule" that also had sudo rights. Here is how I ...
1
vote
1
answer
643
views
Reload user groups without reboot and without ugly hacks for use in a bash script
The /etc/sudoers.d/user1 file contains:
%user1 ALL=(user1) NOPASSWD:ALL
Which using the sudo command grants all users of the user1 group (%user1) to login to the user1 user (ALL=(user1)) without the ...
0
votes
0
answers
72
views
WSL2 - How to use apps installed on root while logged into another user
Basically, on my root user in WSL2 I have a /.vscode directory and a /.docker directory for those respective applications. this allows me to type in the "code ." command and open a folder in ...
1
vote
0
answers
225
views
How to disable Wayland on multiple users
I am attempting to disable Wayland on 2 users at the same time on my machine so I could remote connect using TeamViewer.
I tried setting sudo nano /etc/gdm3/custom.conf to WaylandEnable=false on both ...
0
votes
1
answer
91
views
Creating a user with root reading access, but only can write its own files
I need to create a user that can read files in system like root user, but can only write like a normal user.
How can it be done?
Thanks in advance.
1
vote
0
answers
74
views
How to isolate open applications, and ideally processes, in Ubuntu workspace?
I combine work and study, so I need a separate set of tabs for each task. For example: for work it is chrome with work-related tabs, vscode, obsidian.md and others, and for study - chrome, but with ...
0
votes
1
answer
41
views
How do commands determine whether we have the necessary privileges to perform an action?
Ubuntu newbie here!
I can't seem to figure out what mechanism determines whether to execute a command or to display a 'Permission denied' error.
For example, assuming that we are using a regular user ...
0
votes
0
answers
14
views
how do i install users indicator with a terminal command?
I'm on ubuntu 22.10 kinetic kudu unity. once I updated to that version of ubuntu I realized it lacked the users' list button at the top bar. I need it to switch between accounts. help.
I tried sudo ...
0
votes
1
answer
184
views
Why does adding a user to the sudo group give him access to the sudo command?
Ubuntu newbie here!
As far as I understand groups exist so that file permissions can easily be assigned to many users at once, or to allow specific applications to access files securely, such as with ...
0
votes
0
answers
45
views
Allow an unprivileged user to modify network settings
My son uses my second laptop. Every time he connects to a wifi network, I have to put my password in to. Is there a way to let him connect to wifi networks without making him a fully privileged user?...
0
votes
1
answer
91
views
Can a user without root privileges cause harm to the system for other users?
Can a user without root privilege access another user's home folder or perform harmful actions to other users?
If I was to run some executable on a user without root privileges and it got infected, ...
0
votes
2
answers
2k
views
Give read only access to every user for a folder
I am the owner of directory mydir.
I don't have root access.
How can I give only read access to someone so that they can create a local copy of mydir?
Edit: ChatGPT tells me chmod -R o+r mydir should ...
1
vote
1
answer
531
views
On Ubuntu, I don't know if this is normal but top command is showing a lot of activity. The downloads I installed are in a pic I uploaded below
Top command shows this:
This typing for each picture thing is complicated because it's jumbling things together. But I did what I could to clean it up. I downloaded like 15 programs including blender,...
0
votes
0
answers
58
views
Can't use root privileges [duplicate]
I recently installed ubuntu on a virtual machine using VirtualBox and whenever i need to use a sudo command(any) i can't because my only user is not in the sudoer file. I tried using the sudo -i ...
0
votes
0
answers
35
views
Is there any way to change file owner when some user modify the file?
For example, user1 create file. That file's owner is user1. if user2 modify that file's contents and save it. After that, file's owner changed to user2. is it possible? if possible how can do that?
(...
0
votes
0
answers
24
views
File permission when two user in a same subgroup
I have a question but I can't think of any reasonable way for it. We have:
User Tommy belongs to the group: Tommy (primary group), keyblalee (subgroup)
User Skyteam belong to groups: Skyteam (primary ...
1
vote
2
answers
3k
views
Ubuntu on WSL started defaulting to root user
Yesterday, all was well. This afternoon I restarted my computer after some file downloads from my class bogged down my laptop. Upon restarting and opening Ubuntu, it defaulted to root@<mysystem>:...
0
votes
1
answer
364
views
user created with admin rights but getting permission denied error
I have a created user which has admin access. For some hosts the linux commands work seamlessly, but for some systems when the command is entered it shows permission denied:
praveen.kumar@chn_lab:/...
0
votes
1
answer
44
views
Fisrt user deleted, how to define new default admin?
when I installed my last Ubuntu machine with Jammy I had a typeO when I created the initial user account. Let's say I created "jod" but wanted to create "joe".
So when setup of the ...
1
vote
0
answers
155
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 ...