Questions tagged [users]
For questions related to users, user accounts, user permissions or guest accounts.
1,537 questions
7
votes
2
answers
1k
views
How do I prevent normal users from logging in during system maintenance?
What can I do in Ubuntu for preventing normal users from logging in during system maintenance?
(This is on a server where user accounts are just local user accounts, not network accounts.)
man 5 ...
-2
votes
0
answers
59
views
What is the password for ubuntu user?
I am using Oracle Virtual Box v7.1.4 r165100.
I downloaded "ubuntu-24.04.1-desktop-amd64" image.
I created a username and password as part of the image setup.
There was an error towards the ...
0
votes
1
answer
41
views
Crontab isn't working with reboot parameter
I did a crontab job for my user with crontab -l. After that I ran crontab -e and selected Nano.
Then I entered my command:
@reboot expressvpn connect "USA - Michigan"
When I login with my ...
0
votes
0
answers
78
views
User desactivated after VPS migration/restart
After a VPS forced migration by host, main user ubuntu is desactivated.
VPS restart at 10PM and /etc/shadow file have been modified at 10PM.
Change is the ! added:
ubuntu:!$
Host says it can't be them....
0
votes
0
answers
21
views
Why the primary user can use the sudo command if he does not appear in the /etc/sudoers file? [duplicate]
When Ubuntu Desktop is being installed is requested create a primary user, let's named as tron
Once installed the OS is possible later do updates in the system through the sudo apt update command and ...
0
votes
1
answer
66
views
I enabled WSL and installed Ubuntu from the Microsoft Store, but why are my PC users not showing up in Ubuntu?
I installed Ubuntu from the Microsoft Store after setting up WSL (Windows Subsystem for Linux), but after launching Ubuntu, I encountered an issue. By default, I am logged in as the root user, and ...
0
votes
1
answer
233
views
/dev/ttyACM0 permission denied on Ubuntu 24.04
I'm struggling to access an MCU connected to the USB and presented as a serial port: /dev/ttyACM0. What worked well in Ubuntu 22.04 does not work in 24.04.
Whenever I connect the device, the only way ...
0
votes
0
answers
10
views
installation error on virtual box
I have been using ubuntu for 2 weeks. I am new user who try to learn ubuntu and linux. SO I accidentally moved the home file and couldn't bring back. So ı deleted my ubuntu from virtual box. When ı ...
0
votes
0
answers
74
views
Error while trying to install x-org via rpm pkg using alien
I am currently using AMD Ryzen 5500 U CPU and am new to using Ubuntu 24.04.1 LTS ,the installation of
Ubuntu was a bit tricky as i had to edit the grub config and set it to nomodeset in order to boot ...
0
votes
0
answers
29
views
User processes and sessions not terminated
I have vulnerability scans that are running on ubuntu 20.04 when the scanning account logs in and finishes its checks, the processes stay in a sleep mode on the systems. This is causing the system to ...
1
vote
1
answer
25
views
Account incorrectly showing as disabled in password change dialog
I'm running Ubuntu 22.04.4 in a VirtualBox VM. I would like to change my password but the password change GUI says "Account disabled" next to the Password option:
I can still click into the ...
0
votes
0
answers
64
views
Bashrc not working with new users
As you can see in the picture, any user unless the first one has the prompt destroyed I don't know why.
I changed the ps1 (both with forced color and without it) and did not change.
Is there a change ...
0
votes
1
answer
36
views
snapd installed applications can't be found by non root
Applications which are installed by snapd are not found(e.g. when I tried to run notepadqq it said that this application is not installed unlike root user it worked and got running) by non-root users
...
0
votes
0
answers
41
views
Assistance Needed with Hosting PHP Application on Ubuntu 20.04LTS with Apache2
Hello Ubuntu Community,
I am encountering an issue while hosting a PHP application on Ubuntu 20.04 LTS using Apache2. Below are the specific requirements for my setup:
System Setup:
The Ubuntu system ...
0
votes
0
answers
50
views
How to change the email id of the user of Ubuntu without creating new user?
I installed ubuntu last year and used an online email account id which i dont use anymore to create a profile and it shows up even in my file manager
I want to change this email id but do not want to ...
0
votes
0
answers
40
views
Allow user "kids" to access only wikipedia
I did
iptables -I OUTPUT -m owner --uid-owner kids -d www.wikipedia.org -p tcp --dport 443 -j ACCEPT
iptables -I OUTPUT -m owner --uid-owner kids -d www.wikipedia.org -p tcp --dport 80 -j ACCEPT
...
4
votes
0
answers
191
views
Why is the command `w` in Ubuntu 24.04 different than older versions
I tried running w (w - Show who is logged on and what they are doing.) in Ubuntu 24.04 and it output:
08:11:52 up 5:23, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM ...
0
votes
0
answers
133
views
Cannot delete LDAP user files in Ubuntu 22.04
I have been searching exhaustively for the answer to this question but haven't found any valid solution...
I work in an Ubuntu 22.04 machine which was already used before by another user. I want to ...
0
votes
0
answers
37
views
Existence of utility use distribution dataset?
I'm not sure if this is the right board to ask this. I'm curious if anyone has stumbled upon a dataset or study of terminal input distributions. Separation of data by fields such as general tasks or ...
20
votes
2
answers
5k
views
Ubuntu 24.04 docker images now includes user ubuntu with UID/GID 1000?
Looks like the official docker images for Ubuntu 24.04 ship with a user named ubuntu. While the user name is largely immaterial, the choice of UID/GID 1000 for this default user is a bit disruptive, ...
1
vote
2
answers
2k
views
How to know when a user was created? but explicitly according with the version of Ubuntu itself
I know the sudo adduser <username> creates:
a user
a password
home directory
GECOS (as optional)
Suppose were executed the following commands in the same machine but in different points of ...
0
votes
1
answer
53
views
what owner:group should I set my lampp(apache and mysql) folder, so a non sudoer user can execute it without sudo command?
I installed the lampp suite via a sudoer user, but I need to be able to use it through another user that isn't in the sudoers file. Is it possible?
0
votes
0
answers
48
views
Create one user with the keyboard/mouse access and other user with no access
I need help creating two users: 'a_user' with autologin enabled, limited permissions, and without keyboard access, and 'tech_user' with keyboard access and root privileges. When the system boots with '...
0
votes
1
answer
108
views
Why the GECOS column at /etc/passwd represents 4 empty fields and not 5 according with the adduser command?
Just being curious about the following situation
When the adduser command is executed as follows:
sudo adduser optimusprime
Adding user `optimusprime' ...
Adding new group `optimusprime' (1015) ...
...
0
votes
1
answer
162
views
Cannot delete home folder of deleted user
I've mistakenly deleted a user with userdel without the -r option and now I can't delete its home folder. I'm logging in as root and I have su rights but when trying chmod or sudo rm -rfv /path/to/...
0
votes
0
answers
53
views
Regarding backup of Ubuntu account [duplicate]
I have deleted my Ubuntu account. But now I want to restore it. I have deleted it using the userdel command.
How can I get back my account?
I did not use any options like -r --remove.
0
votes
0
answers
31
views
System-wide app availability in Linux - Local user vs. VNC session
I have installed nvm (as root user) in my linux system (Ubuntu 22). On that time, I was connected by using a VNC session. The app is available every time I'm connecting with VNC.
The problem I'm ...
0
votes
0
answers
38
views
Accidentally deleted folder containing system volume information
I am unable to see folders or files. Please see the attached image and give me a solution.
-1
votes
1
answer
1k
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
347
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
308
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
92
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
565
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
340
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
93
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
1
answer
62
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
30
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
1
answer
75
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 ...
4
votes
2
answers
6k
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]....
2
votes
1
answer
1k
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
590
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 ...
1
vote
0
answers
141
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
108
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
60
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
29
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
2k
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
49
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
495
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
401
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 ...