Questions tagged [user-management]

Questions about managing the UNIX users, groups and permissions.

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

My user is not listed. How to fix it?

Every time a reboot my Ubuntu 20.04.2 LTS, I get to type in my username and then password to login. Usually, I just have to type my password, since my user used to appear normally. The problem is also ...
0
votes
0answers
23 views

How to change “root” name in a remote ubuntu 20.4

I would like to change the "root" name to a custom name in a remote ubuntu 20.4 machine. I tried the solution from Change root name in ubuntu but it doesnt work. Now I cannot log in at all. ...
0
votes
0answers
27 views

Ubuntu + Multi User + USB stick. Impossible combination?

I have a system with UserA. I created a new user, UserB, it was super simple, just followed the steps in the settings through the GUI. But a problem arise when UserB tries to use external HDD, a USB ...
0
votes
0answers
46 views

Prevent Others from deleting a user

When I as a main user add a user with adduser command and give the added user sudo access. But afterwards I can delete this user without entering the password associated with this user. I want to just ...
0
votes
0answers
11 views

restrict user download a file from his owned folder after uploading through ftp. we are using vsftpd

i have installed ubuntu 20.04 server edition and we are using vsftpd ftp server. in we need some users need to restrict download the files after uploading to his mapped directory.
0
votes
0answers
26 views

Linux Ubuntu 20.04 not working after adding second user

I added a new user to my Dell laptop with Ubuntu 20.04 version installed on it. After I added the new user and restarted my computer it will not show any icons or images at all. I can open some ...
0
votes
2answers
40 views

Can multiple operating systems share program installations and user profiles?

I'm new to Linux and trying multiple variants of Ubuntu (standard, Mint, Pop, etc.). Unfortunately, every OS is isolated on different partitions, with separate settings, user groups, etc. and programs ...
0
votes
0answers
15 views

Enable WordPress auto updates with www-data and SFTP uploads with sudo user simultanously

How can I make WordPress auto updates possible and also WP uploads, plugin updates etc, at the same time as SFTP uploads also shall work with my sudo user? With below commands I still get file access ...
0
votes
0answers
53 views

freeipa server installtion error

Done configuring kadmin. Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes [1/28]: configuring certificate server instance ipaserver.install.dogtaginstance: CRITICAL Failed to ...
0
votes
0answers
19 views

web-based user password reset

I am configuring a server for a small group of users. The server runs a ftp server, email-server and wordpress. I would like to have a webbased password recovery that will send an email to a pre-...
2
votes
1answer
103 views

Launching root user installed application as a standard user

I am a newbie in Linux. Please help me out of this mess. I've downloaded and installed an application as root and created its desktop shortcut launcher and worked. On switching to the standard user's ...
0
votes
0answers
14 views

Syncing preference folders among users (specifically Rhythmbox)

I have two users, call them A and B, on Ubuntu 18.04.5. I would like to share the same rhythmbox library between the two, giving both the ability to update play counts, ratings, playlists, etc. The ...
1
vote
0answers
38 views

How to set user and group permissions properly for different groups?

On a Ubuntu 20.04 server i have two drives in /media. /media/data (internal drive) /media/network_drive (network drive) I have several user groups (group1, ..., groupN). For each group there should ...
1
vote
1answer
75 views

How do I access my user account if another user forgot to sign out?

I'm having a problem with Ubuntu Studio 20.10 on a shared computer where if one user puts the computer to sleep without signing out the next user is not given the option of signing in without first ...
0
votes
0answers
52 views

AD user cannot log in after password change

I have an ubuntu server joined to my domain. After a user changed his AD password, he cannot SSH into ubuntu. Just gives access denied. I have used pam_tally2 to unlock the account, but it does not ...
0
votes
1answer
34 views

how to set different login and root password [duplicate]

I want to use different password to logging into desktop from what I can use for sudo -s or sudo -s -u root on terminal/bash. And also I don't want any additional users with different desktops(like ...
0
votes
1answer
151 views

bash.bashrc not working for all users

So I have 2 users on my PC when I add the line alias abc='echo Hello' in /etc/bash.bashrc file and log back in it only works for the first user. (the one that I changed the file) I even rebooted my PC ...
0
votes
0answers
42 views

Lunix user manual required

I'm running Ubuntu 20.04 x64, I'd like to disable some accounts I don't really need (like root, games, sync etc). But where to find a normal manual with explanation what each account is used for, is ...
0
votes
0answers
37 views

VirtualBox booting from USB as disk [duplicate]

I installed Virtualbox on Ubuntu 20LTS, I have some questions you may help me solve. I am trying to run a Ubuntu VM from an USB as a disk About Users & Groups: which groups needs the user to have ...
1
vote
1answer
81 views

User, Group and Other in the chmod command

I think I basically understood the point with the seven levels of authorization with the chmod command. However I'm not sure what is meant by user, group and other. What's the difference between ...
0
votes
0answers
29 views

Root@clear is showing instead of showing host name

I don't what happened there was crash or some thing my prompt is changed into like user name root@clear usually it shows username like root@local.localdomain How can I revert back to previous state ...
0
votes
0answers
32 views

Differences in users on Ubuntu server

There are two users on a linux machine. When I use SSH to log into it with user1, this is the "welcome screen" on the terminal: Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-48-generic ...
0
votes
0answers
45 views

Cannot login as old user on the GUI after upgrading

The system prompted me to upgrade to the new version (20.04). Following the upgrade, it prompted me to create a new user rather than letting me use the existing one on the GUI. It doesn't give me the ...
1
vote
1answer
79 views

Prevent adding users via gnome-control-center

We require users to be added using a special script and therefore adding users via GUI (i.e. gnome-control-center user-accounts) should be blocked to prevent someone accidentally not using the script. ...
0
votes
1answer
26 views

/home/jdoe doesn't appear after creating user named “jdoe”

I'm running the last version of Ubunutu on VirtualBox. Just learning the usermod command. I got a problem : when i type sudo useradd -d /home/jdoe jdoe or sudo useradd -D /home/jdoe jdoe or even sudo ...
1
vote
1answer
108 views

Using command “chage” for everyone in the group group

How can i use "chage" command to change, for example, minimum number of days before password change for every user in the group?
0
votes
1answer
472 views

“getent” doesn't show members in the group

If I command id nu, the output shows that the user nu belongs to the group named nuu. But if check the members of the group nuu with the command getent group nuu it shows as if there are no members in ...
0
votes
0answers
2k views

Samba 4 Database File sam.ldb Missing?

I am on Ubuntu Server 20.04, running Samba version 4.11.6-Ubuntu. I need to modify a Samba user account, but I am unable to open sam.ldb due to it apparently not being present. Here is the output: $ ...
0
votes
1answer
65 views

Strange user name in the login list

On one of my servers on this is login prompt: I've surprisingly found one more user in the list (not available on this sample picture from the internet) with name "\". I don't see such a ...
0
votes
0answers
34 views

Cloud Init Extend Default User Group

Using #cloud-config system_info: default_user: groups: [some, groups, list] one can change groups default user belongs to. Is there a way to define declarativelly just only groups to be extra ...
0
votes
0answers
58 views

how to start systemd deamon with proper user permissions

I am trying to build vscode on my server but the systemd method doesnt do anything systemctl --user enable --now code-server Created symlink /home/ubuntu/.config/systemd/user/default.target.wants/code-...
0
votes
1answer
90 views

Completely remove user while using chroot from Ubuntu RPi image

I'm customizing Ubuntu for my project but every time I use chroot for deleting user and creating mine, I end up with two users <my_user> and <ubuntu>. Ubuntu is the default user for Ubuntu ...
1
vote
1answer
125 views

User creation with limited access

How to create a user with access to selected applications installed in the system and read/write permission to only one directory in the file system? Say, for example, one wants to create a user dummy ...
0
votes
0answers
516 views

ldap_bind: Invalid DN syntax (34) additional info: invalid DN

when i excute this command "ldapadd -x -W -D "cn=Manager,cd=example,cd=com" -f structure.ldif" and enter the password, this message will show up: "ldap_bind: Invalid DN syntax ...
0
votes
1answer
336 views

; or && when used with exit doesn't execute next command

When switching from 1 non-root user to another and running the command like following - beta> exit; sudo su - alpha Or beta> exit && sudo su - alpha But it only logs out and doesn't ...
0
votes
0answers
10 views

Sharing newly installed disk across users

I found this question, where the idea is to share the newly installed hard disk across users (e.g. a user could take up all the space, then it could free it and another use could take it up), in other ...
0
votes
0answers
52 views

Where to add secondary users rights to access gamepads ACLs Ubuntu 20.04

I'm playing my games under a different gaming_user with restricted access while logged into my primary_user and since switching to 20.04 my old udev rules to grant access to the gamepads doesn't work ...
0
votes
0answers
54 views

how to create a user that has access to USB devices on your system

hello I am trying to use the libusbmuxd daemon, that allows access from linux to ipad devices via USB. but according to the doc it says: "you have to create an usbmux user that has access to USB ...
0
votes
0answers
67 views

I want to make a user without password requirement

so I have ubuntu 18.4 loaded on my laptop and I have my own user on it I want to make another user without root privilege for normal use of my family which is accessible without any password. I tied ...
1
vote
0answers
62 views

Remove unnecessary users on single user machine

I have these users setup on my single-user machine and I'd like to delete unnecessary ones to make the list shorter: $ cut -d: -f1 /etc/passwd root daemon bin sys sync games man lp mail news uucp ...
0
votes
1answer
51 views

Unable to figure out the file/folders permission in Ubuntu

I am new to Linux and trying to learn the basics on my Ubuntu 16.04 LTS pc. The problem I am facing is related to giving file permission for other users. Basically, I have set up two user accounts- ...
0
votes
1answer
102 views

Home User's Permissions Denied

I have 2 users on my server: root andmyuser. I am not exactly sure how, but I messed up myuser's permissions while trying to edit my home directory as root. Now whenever I start up my server, myuser ...
0
votes
1answer
467 views

no desktop on a user when i log the user into the system

On Ubuntu 18.04 after installing security controls, I am unable to log a new user in and have it generate a desktop the background displays. There is no taskbar or icons. To create the user, I run ...
0
votes
1answer
416 views

How to know the users connected in an Ubuntu 18.04 / xrdp [duplicate]

I have an Ubuntu 18.04 that allows xrdp connections. Users normally connect via an rdp client, but I would like to know who is connected at any given time. I tried who , w , etc. but those commands ...
0
votes
0answers
219 views

Mimic deluser command in linux

To delete a user without deluser in linux we have to do these things Remove user from etc/passwd Remove user from etc/shadow Remove user's directory from /home/ (I used sudo rm -rf /home/username) I ...
1
vote
0answers
574 views

Ubuntu 20.04 starts with welcome screen every time, cannot login

This started when I was trying to change my default shell to fish, which didn't work properly (might be of relevance here maybe?). I logged out through the menu on the upper right and couldn't log ...
1
vote
2answers
259 views

how to copy or move all files and directory to the other user via terminal command

I have list of directory and file to my current user which is the user1 and i want it to copy or transfer it to the other jay which is user2? Im using a Ubuntu Server 18.04.4 LTS thanks
1
vote
0answers
261 views

Ubuntu 18.04.03 OVF installation - ubuntuguest login

I downloaded ubuntu ova Ubuntu Server 18.04.3 LTS and installed into a VMware. While I try to login now, it asks for ubuntuguest login. May I know the default password for this or how can I circumvent ...
4
votes
3answers
1k views

Imposes changing root user home directory any disadvantages?

I have main user, e.g. dave with home directory /home/dave. And it has lots of configs for various programs it can run like vim, bash etc. When I login as root user, all my configs are not used since ...
0
votes
1answer
51 views

Remove main user password without loosing ability to sudo

I noticed that after I removed my main user's password that I can't sudo or install new programs because it asks for a password. Ideally I want it to ask for a password to sudo but not to log in or ...

1
2 3 4 5
7