Questions tagged [users]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

what is Appuser, appuser account, its usage and needed permisions for it?

What is Appuser, appuser account, usage of appuser account and permissions needed for it?
user avatar
  • 1
0 votes
0 answers
19 views

resolve problems in chaning User ID and group ID

I changed my user ID from some number 240xxx to 1001, but with some flaws: According to this method: https://askubuntu.com/a/167400/620643 I made some changes to the procedure in the above link: I ...
user avatar
  • 233
0 votes
1 answer
30 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, ...
user avatar
  • 1
1 vote
1 answer
9 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. ...
user avatar
0 votes
1 answer
18 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. ...
user avatar
0 votes
0 answers
25 views

Ubuntu 20.04 Users deleted after an update

Does updating my Linux Ubuntu 20.04 mean that all my existing users will be deleted, including the root user? As I got an update a week ago and all the users got disappeared, and it prompted me to ...
user avatar
0 votes
0 answers
12 views

allow different ssh auth from specific but different IPs?

Is it possible to setup login rules for ssh users, for example: address1,address2 = incoming IP1, incoming IP2 User bernie is only able to connect from address1 User seb is only ...
user avatar
  • 19
0 votes
1 answer
22 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?
user avatar
  • 143
0 votes
0 answers
16 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" ...
user avatar
0 votes
0 answers
18 views

remove non domain user: How to "Remove User..." in Settings

I recently installed Ubuntu 20.04.4 LTS. During install I configured an account, "payo". After install I added a domain user and group managed by sssd. Let's call him "bob". I then ...
user avatar
  • 101
-1 votes
1 answer
13 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 ...
user avatar
0 votes
1 answer
32 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?
user avatar
  • 1
0 votes
0 answers
10 views

VSFTPD - how to give another user perison to dir

I have ftp_user1 with rwx privilege to /home/user1/ftp/files. I runned python`s program which save file in /home/user1/ftp/files/prog1/dir1. I want to create ftp_another_user, which will have attempt ...
user avatar
  • 37
0 votes
0 answers
11 views

su: failed to execute /usr/bin/zsh: No such file or directory [duplicate]

I was playing around with my terminal and out of curiosity, I installed zsh. Later on, I decided to get back to bash. So I followed some online advice and I was suggested to simply use the below ...
user avatar
0 votes
0 answers
22 views

Add/merge AD user with local user Ubuntu 21.10

I am logged in to my ubuntu machine with an AD user. I have docker up and running. When I run a command from the docker container (e.g. php artisan make:model Article -m) that creates a file the file ...
user avatar
0 votes
0 answers
33 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?
user avatar
0 votes
1 answer
74 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> ...
user avatar
  • 163
0 votes
1 answer
99 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 ...
user avatar
  • 111
2 votes
2 answers
1k 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 ...
user avatar
1 vote
1 answer
79 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 ...
user avatar
  • 111
0 votes
1 answer
65 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 ...
user avatar
0 votes
0 answers
355 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 ...
user avatar
  • 1
-1 votes
1 answer
22 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?
user avatar
3 votes
1 answer
175 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:...
user avatar
  • 31
0 votes
0 answers
34 views

Can't see username at login screen after 20.04 upgrade

After upgrading to ubuntu 20.04 from 18.04, I can't see my user in log in screen. When I use cat /etc/passwd as root. My old user was not listed there. Then I created a new sudo user, and logged in ...
user avatar
-2 votes
2 answers
87 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
55 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 ...
user avatar
11 votes
2 answers
1k 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, ...
user avatar
  • 172
0 votes
0 answers
120 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 ...
user avatar
  • 590
3 votes
1 answer
60 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 ...
user avatar
0 votes
1 answer
96 views

Does Kubuntu have a GUI user and group manager?

In kubuntu 18.04 the User Manager in Settings can add and delete users, but that's about it. I need to modify groups and users so seldomly that I spend more time reading man pages and finding the ...
user avatar
  • 2,435
0 votes
2 answers
3k views

I get "permission denied" accessing a samba share

I'm new here, and after some researching I found that I 'think' I need help. I hope I am doing correctly and maybe my english is not perfect, but I try. So let's get started. I have computer with ...
user avatar
3 votes
1 answer
62 views

Automatically create a folder after creating the user

Hello and do not be tired How to create a directory for a user automatically after creating a new user? For example, after creating a user, a directory with a username is created in the / mnt / sda1 ...
user avatar
1 vote
1 answer
173 views

Deleted all users in WSL

I use Wsl Ubuntu 20.04 LTS. I don't know why but all users were deleted. I created a new user. I wish I had not done passwd: tetemp:x:1000:100::/home/tetemp: and now $ adduser root adduser: Only root ...
user avatar
  • 13
0 votes
0 answers
168 views

tty1 and switch users not working in ubuntu 20.04

I very recently switched to ubuntu, and am having a problem with the switch users and the tty1, I've seen in a post here that tty1 is supposed to be the gui login screen and gui desktop on tty2. ...
user avatar
  • 1
5 votes
1 answer
598 views

Does user `ubuntu` exist by default on Ubuntu

Is ubuntu user with group 1000:1000 standard on an Ubuntu distribution? We are trying to determine whether this user exists as I have seen it on some containers but not on a baremetal server one of ...
user avatar
0 votes
2 answers
125 views

What are the locations of the files that store the list of available users?

I know that list of users is present in the /etc/passwd file, but are there any other files that have usernames stored in them? Anonymization of the file system is the intended purpose.
user avatar
0 votes
1 answer
361 views

How add group write permissions for a mounted shared directory? (client/server case)

I have a MacOS with a shared directory. I am able to access in Ubuntu Linux with: # From Linux to MacOS sudo mount -t cifs //192.168.1.X/directory_shared /mnt/192.168.1.X/...
user avatar
3 votes
1 answer
187 views

How do I allow non-admin users to control printers?

An Ubuntu (21.10) PC is shared among a number of users, most of whom are not administrators. They are not allowed to install/remove/update software or directly alter system files, nevertheless all of ...
user avatar
  • 53.5k
6 votes
1 answer
1k 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 ...
user avatar
  • 61
0 votes
1 answer
208 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) ...
user avatar
3 votes
0 answers
90 views

Unable to switch user since 21.10 upgrade

Since upgrading to Ubuntu 21.10 I'm not able to switch users. I can log in as either user fine to begin with, but if I select switch user once logged in I get the user login screen as normal, then ...
user avatar
  • 283
1 vote
1 answer
130 views

App-Groups in App-Picker for all users

I administrate our system at school. I want to group apps by subject in the app-picker and it works fine for my admin-user. However I want to keep this layout for all users. I tried to set up a dconf ...
user avatar
0 votes
0 answers
68 views

How to restrict what a user can install/download in their home directory?

I've had a search but I can't quite find a solution or explanation to this topic. I would appreciate your thoughts and suggestions and I appreciate in advance that this might cover several topics. I'...
user avatar
0 votes
1 answer
223 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: ...
user avatar
0 votes
0 answers
19 views

chown gerd / correction

I did a very bad mistake, I wrote this fatal error in Terminal. And no start of system more. Apparently it passes grub but, perhaps, dont find users. After I changed all to root (chown root /), after ...
user avatar
  • 1
0 votes
0 answers
20 views

Can not change temporay user

Recently I have installed Kubuntu 21.10 impish version from scratch (formatting hdd) and the default user is shown as "OEM Configuration (temporary user)". The problem is that I can't change ...
user avatar
0 votes
0 answers
58 views

How do I give one user read/write access to everything another user has access to?

I have a situation where I have to work as user alice, and I need to be able to read, write, and edit directories and files created by bob. I know that I could take a specific directory created by ...
user avatar
0 votes
1 answer
49 views

How do I make a directory in Linux without it being made in other users on the server?

I recently ssh into my company's airflow server, so there are multiple users on this server. Whenever I make a new directory say it makes the directory in all of the other users as well. How can I ...
user avatar
0 votes
1 answer
767 views

Usermod: permission denied

When I try to use a usermod command to add me to the sudoers file but it says usermod: permission denied usermod: cannot lock /etc/passwd try again later. When I search things up it told me to add me ...
user avatar
  • 11

1
2 3 4 5
30