Questions tagged [users]

For questions related to users, user accounts, user permissions or guest accounts.

Filter by
Sorted by
Tagged with
0 votes
1 answer
464 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:/...
Praveen Kumar's user avatar
0 votes
1 answer
56 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 ...
imker's user avatar
  • 1
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 ...
Dany's user avatar
  • 79
1 vote
0 answers
33 views

User Independant Share Folder for different user

I have a samba related question if anyone can help. I have set up samba on the Ubuntu server. I want to configure samba to allow access to my external HDD. I made 2 users, one is me who can access all ...
home1357's user avatar
0 votes
0 answers
188 views

Creating a Restricted User Account

I'm currently trying to build an ubuntu 20.04 image where the user account is pretty locked down. I dont want the user to be able to change any settings or use terminal or anything else. They are only ...
paulm's user avatar
  • 41
-1 votes
1 answer
82 views

Can not delete a mysql user in ubuntu server

I wanted to ask how can i delete a user in mysql on ubuntu 20.04.5 LTS. I have many users and was creating new to test something out but now i get an error deleting it. The error i get is: ERROR 1396 (...
king's user avatar
  • 11
2 votes
1 answer
494 views

"id" and "id name" get different group id

My ubuntu user name is lr. I use usermod to change my group id lr@amax$ sudo usermod lr -g ob When I check with command id lr@amax$ id uid=1004(lr) gid=1008(lr) groups=1008(lr) however when I use ...
Wendell Philips's user avatar
2 votes
2 answers
1k views

Ubuntu 20.04 not allowing `runuser` to manage systemd --user services "Failed to connect to bus: No such file or directory"

When I try to run runuser -l mruser -c "systemctl --user status myservice.service" as root, I get the following error: Failed to connect to bus: No such file or directory I do not get this ...
Dave's user avatar
  • 193
5 votes
4 answers
3k views

Role just below root?

There's a 22.04.1 system which I'm the sole user (thus root) which I'm considering leaving to someone else. There's a chance I'll take the system back, in which case it would be nice to have things ...
DynV's user avatar
  • 59
2 votes
3 answers
4k views

Limit user to only use a single command that I want to permit them to run

I would like to create a user on Ubuntu 22.04 CLI to only be able to run ifconfig. That's it. No other commands, not even cd or ls, should be available to them to use for security reasons. They log in,...
Andrew Campi's user avatar
1 vote
2 answers
1k views

Why can you add a user to a group with usermod, but you cant remove a user from a group with usermod?

Uhy can you add a user to a group with usermod, but you cant remove a user from a group with usermod? Am I wrong? I got a user I want to remove from the sudo group. I put this user in with usermod, ...
j0h's user avatar
  • 14.8k
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 ...
HuLu ViCa's user avatar
  • 125
1 vote
1 answer
179 views

Allowing {USER} to run a command against a process owned by another user

I have been scouring the forums to find out how you can allow a command / process to be ran by a user that is normally only permitted by root or itself. There are some good resources out there but ...
Doopz's user avatar
  • 131
2 votes
1 answer
451 views

sudo with a USERID - reverting old behaviour

In my systems running Ubuntu 18.04 I can run a command (as root) like sudo -u \#2000 echo hi And this works to run the command as UID 2000, even though uid 2000 does not exist in the passwd file. ...
davidgo's user avatar
  • 117
0 votes
0 answers
16 views

Where to find ip.h file on ubuntu server? [duplicate]

I am using ubuntu server 22.04.1 LTS on raspberry pi 4. I want to know where ip.h file is located inside it. And where would I find the source codes for traceroute and ifconfig on the ubuntu server as ...
div_01's user avatar
  • 3
1 vote
1 answer
44 views

Several systems have had an "ubuntu" added: where does it come from and can they be safely disabled?

Background: on some hardware hosts that have been built manually, I use the installer to create a user named "ubuntu" with UID 1000 for initial setup. Our systems automation checks for an ...
dannyman's user avatar
  • 608
0 votes
0 answers
60 views

Is there a way to visualize full user permission of a certain directory?

Let's say that I have a directory called "test" and user1; user2; user3; user4; user5 has full permission of "test" directory and sub-directory Is there a way for me to visually ...
HanzoGakSital's user avatar
1 vote
1 answer
71 views

Why do MS-SQL and RStudio have users on my log-in screen?

I attempted to log in today and discovered that I had more users than I thought. It seems that both MS-SQL and RStudio users exist on my PC and are visible on my log-in screen. I've ran SQL on my ...
J. Mini's user avatar
  • 190
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 ...
Developing Electronics's user avatar
0 votes
0 answers
62 views

Password Promts for "everything"

I am using ubuntu 20.04.4 and after login I get password prompted for regular things and commands (starting keyboard daemon, updating system repos at startup, mounting devices, systemctl, .. I can't ...
gorschel's user avatar
3 votes
0 answers
336 views

Can we set our user profile picture in settings as a GIF?

When going to "Users" in Settings, we have an option to set our user profile picture in Ubuntu 22.04 LTS. Is there any way we can set it up as a GIF? Thanks.
Kushagra Srivastava's user avatar
0 votes
0 answers
193 views

Is it possible to define a administrator to a specific group in linux?

I was given the following task Designate John Doe as the group administrator; I am very confused with the meaning of "the group administrator". Is it possible to give privileges to a user (...
Eduardo Reis's user avatar
-1 votes
1 answer
2k views

How do i give permission to myself to edit files [duplicate]

I am having problem editing a file inside the system directory. I have been having auto boot check up issues and i just want to remove it , so according to a little research i have to do some file ...
ICE's user avatar
  • 1
1 vote
0 answers
8k views

Fingerprint option is not visible in settings in Ubuntu 22.04

I am using Ubuntu 22.04 in my Mi Notebook Ultra and I am unable to see the Fingerprint option under Settings>Users. My settings page look like this - enter image description here Following is the ...
Rishabh's user avatar
  • 11
1 vote
1 answer
657 views

Cannot cat files with 640 permission while being part of their group

I've spend hours trying to find why it's not going right, but I give up now so here I am. My setup/problem: I have a remote VPS to which I connect via SSH (pub/priv keys, no password). The user is ...
pintaf's user avatar
  • 13
0 votes
1 answer
979 views

DIR_MODE=0755 to DIR_MODE=0750 does not work for newly added users

I have been following this solution, this solution, and this solution. All of these solutions suggest to change DIR_MODE=0755 to DIR_MODE=0750 to prevent newly added users to be accessed by other ...
Saeed's user avatar
  • 101
0 votes
0 answers
22 views

Bulk transfer file ownership

I ended up flashing the wrong image for a OS rewrite and used foremost to recover ALOT (500k+) of files, however each of these files is basically password locked as they technically belonged to a ...
user507974's user avatar
0 votes
0 answers
45 views

i don't know how to change my `username`, how can i? [duplicate]

how do i change the username in Ubuntu? How can i change the username that shows in login, terminal, home directory. I wish to change that but i don't know how. My current username is vibuntu, i want ...
user avatar
0 votes
1 answer
1k views

Ubuntu Budgie 22.04 disable users list

I've just installed the pretty Budgie 22.04 on my workstation. Users list comes from SSSD Ldap integration, but only local users show in login screen. I've tried various things to hide the users list (...
Franck Lefebure's user avatar
0 votes
0 answers
464 views

Issue with group permissions when dowloading files from browser on Ubuntu 22.04

Summary: I cannot download files in folders I have group permissions, but not ownership, when I download from two different browsers. The system is an Ubuntu 22.04 desktop. This looks like a bug. ...
ach nach's user avatar
0 votes
1 answer
1k views

How can I give permissions for folders in Linux?

I have to create company/lawyers Company/accountants Company/users/Tim Company/users/Mike Company/users/Rob Company/users/Ann I also have to give permission to make changes for company only to root, ...
Marina's user avatar
  • 1
1 vote
1 answer
42 views

How to set user interface language for user with encrypted home?

After encrypting home directory by means of ecryptfs tool specified UI language is not applied after system restart. If user in the system only one the whole system UI can be changed to needed one. ...
Anton Samokat's user avatar
0 votes
1 answer
572 views

Modify default user groups

Is there a way to modify the default user groups in Ubuntu 20.04? I mean if a user logs in for the first time (or if a user is created), he is automatically added to groups X, Y and Z for example. ...
user7389496's user avatar
1 vote
1 answer
588 views

Change default applications for all users

Changing the default application for a given file type is relatively easy, but is there a way to do so for all users of a machine?
LukasFun's user avatar
  • 151
0 votes
0 answers
70 views

usermac and usercaps not found

I'm trying to run a script on Ubuntu 20.04 and I'm getting an error: usermac: command not found usercaps: command not found My script: check_user_db(){ info_log -m -t "user $PGUSER" ...
maksim2112's user avatar
-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 ...
josanangel's user avatar
0 votes
1 answer
43 views

What happens when you copy a mac user folder to the equivalent kubuntu user?

Mootivation: I'd love to migrate all my data on my mac to kubuntu. What happens if I copy my mac user /Users/{username}/ to a linux user (the equivalent of /Users/{username})? Will anything break?
Emily's user avatar
  • 1
0 votes
0 answers
69 views

Process running under and id that has **Never logged in**

I have an account which has never been logged in, but ps shows stuff running under that account: How is this possible? What could be the above apps that are running? Has my machine been hacked?
Old Geezer's user avatar
0 votes
2 answers
2k views

adduser fails with error code 1 and then error code 6

I am trying to add a new admin user to a system. I tried via the GUI but it gave error code 1. I went to the terminal and tried: $ sudo adduser <username> sudo adduser: The user <username> ...
SumNeuron's user avatar
  • 163
3 votes
1 answer
4k views

Cannot cd into directory even though group has permissions

I'm aware that there are other similar questions, but nothing in there solved my issue. gitlab-runner@my-machine:~$ groups gitlab-runner my-user gitlab-runner@my-machine:~$ sudo ls -l /home total 16 ...
theberzi's user avatar
  • 161
2 votes
2 answers
2k views

Is it recommended to change root directory permission to improve security?

I have a computer running Ubuntu 20.04 Server. I bought my server in Digital Ocean 1 year ago (more or less) and every month I try to improve its security and I'm getting affortunnelly. But about user ...
josanangel's user avatar
2 votes
1 answer
985 views

Is there a default way to run commands on user's logout?

I want to log the logins/logouts of my users. For the logins I only need to modify /etc/profile and add my command or edit any .profile for an specific user. But for the logouts I don't know if there ...
raultm's user avatar
  • 121
0 votes
1 answer
498 views

procmail - file permissions?

Ubuntu 18.04, running postfix and procmail I have a .procmailrc and a .forward and all that. I configured procmail to log to a specific file, and the only way I can get it to work is by setting that ...
alabamatoy's user avatar
2 votes
0 answers
5k views

SSH Server refused our key: Invalid user

I wanna log in via public/private Key to SSH. I use the Port given in the sshd_config I added two users. Both have the folder .ssh(chmod 700) and the file authorized_keys(chmod 600). User A can ...
JOC0N's user avatar
  • 21
-1 votes
1 answer
236 views

GroupDel Samba Share doesn't work

i tried deleting sambashare group with the following command groupdel sambashare and i later got Permission denied and cannot lock /etc/group; try again later can someone help me?
ALec122's user avatar
3 votes
1 answer
2k views

Home directory for user nobody - Ubuntu 20.04

I see a difference in the behaviour of the user "nobody" between Ubuntu 18.04 and Ubuntu 20.04. In both (18.04 and 20.04) versions, the user nobody is configured as: nobody:x:65534:65534:...
IvanCN's user avatar
  • 31
-2 votes
2 answers
453 views

Login as the only user

Repeated question. How to make login possible to a single (root, admin) user only? (Ubuntu mate 20.04.3 LTS.)
user avatar
0 votes
0 answers
399 views

How to give permission to non-sudo users to download software in their own directory?

I am a sudo user to a remote node (ubuntu 20.04). My role is to facilitate multiple users of the node by generating their credentials. I downloaded RDP and remote desktop for them. However, none of ...
Sachin's user avatar
  • 155
15 votes
2 answers
3k views

Why doesn't the "watch" command work on an alias?

So I've made my customized alias command and tried to use it with alias, but my alias was not recognized while concatenated with the watch command. So I tried to make a thread of it and fortunately, ...
YoloWex's user avatar
  • 312
0 votes
0 answers
1k views

usermod: cannot lock /etc/passwd, but user is in root group which owns file

As the title says. Interesting behavior. I just switched over to nologin on root user for security, after adding my user to root and sudo groups. I added a longer sudo timeout as described in the link ...
alchemy's user avatar
  • 762

1
2
3 4 5
31