Questions tagged [users]
For questions related to users, user accounts, user permissions or guest accounts.
1,518
questions
-1
votes
1
answer
168
views
How to change password in /etc/shadow to *
Looking at /etc/shadow, I see that system accounts have a * character in the password field, making it impossible to login as those accounts using a password.
I have a user account that I made, for ...
0
votes
1
answer
76
views
Trouble logging Active Directory from Windows Server 2022 to an Ubuntu Desktop 22.04 LTS
I actually joined the realm, but the problem is when I try to log in with an Active Directory user, I can't. I added the machine to the active directory via installation and everything is ok.
running ...
0
votes
1
answer
97
views
New ssd and new user
I'm a beginner with Linux and I just bought a new SSD with 1TB and physically installed it on my laptop, in which I`m running Ubuntu 22.04.3 LTS.
Aiming to separate work and play environments I ...
0
votes
1
answer
48
views
About ubuntu browser certificate pem
On an Ubuntu machine with Firefox installed, we have a certificate file stored in a local directory. We want new users who log in to automatically have this certificate installed in their Firefox ...
1
vote
1
answer
206
views
Prevent sudo useres changing root user password
I'm a newbie here.
I have deployed a Linux server and I wanted to add other users to it. Then those users must able to install applications on the said server. To do that those users must have root ...
0
votes
1
answer
209
views
Other users are logged in (Ubuntu)
My w shows the followingn results:
linux@dell:~$ w
14:56:46 up 15 min, 1 user, load average: 0.16, 0.27, 0.31
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
linux tty7 :0 ...
0
votes
1
answer
60
views
Why does an app install as user instead of root will disappear after logout?
To reproduce, login droplet/ubuntu as root. addnewuser.
Then logout, then log in as new user.
Install bun js with this command:
curl -fsSL https://bun.sh/install | bash
then follow its instructions.
...
0
votes
0
answers
41
views
How to allow both a user and root to access directory? [duplicate]
How can I make /media/creeper39x/TB-Drive be owned by creeper39x, but root have access?
Could I have a group with creeper39x and root in it??
Please help.
0
votes
1
answer
51
views
User settings are back to fresh installation
I was trying to set Plex and found this instructions to allow Plex user to access certain folders https://www.linuxcapable.com/install-plex-media-server-on-ubuntu-linux/#Configure-Media-Files-Folders-...
0
votes
0
answers
26
views
Create altenate user to key pairs ssh login
I am using AWS EC2 and using a key pair with Putty for access. However in case I somehow lose access to the key pair I would like an alternative login. For now I created a password for root, but I am ...
0
votes
0
answers
31
views
Lagging when I am about to enter my password during user login
After I have booted my laptop, when I am about to login to my user, I cannot enter my password for some time. I keep on typing, but I cannot enter my password. After sometime, I am able to enter my ...
0
votes
0
answers
117
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
49
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 ...
0
votes
0
answers
44
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 ...
2
votes
2
answers
2k
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
43
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 ...
2
votes
1
answer
541
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
215
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
99
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
72
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
68
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
59
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
121
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
74
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
24
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
606
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
43
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
300
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
205
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
30
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
567
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
175
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
57
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
225
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
149
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 "...
1
vote
2
answers
95
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
1k
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 ...
2
votes
0
answers
422
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
413
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
121
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
52
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
1
answer
250
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
1
answer
126
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, ...
1
vote
2
answers
3k
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
558
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
183
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 ...
2
votes
2
answers
6k
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
455
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
55
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 ...