Questions tagged [user-management]

Questions about managing the UNIX users, groups and permissions.

Filter by
Sorted by
Tagged with
0
votes
1answer
49 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
151 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 ...
0
votes
0answers
49 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 ...
0
votes
0answers
10 views

I want to be able to login with ftp to a different directory

So currently i am using vsftpd to do my ftp login. But I want certain users to go to certain places. Like i want every user to go to their home directory and then i want my user to go to root. ...
1
vote
2answers
86 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
0
votes
0answers
88 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
568 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
42 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 ...
2
votes
0answers
57 views

How to get laptop and desktop to always appear as the same machine?

I am setting up a desktop and laptop for someone. Both will be used by the same person for the same things. The person in question is not very skilled with computers. The laptop has a mere 100gb of ...
0
votes
0answers
67 views

Ubuntu password

Yesterday bought an Asus Vivo Notebook with Ubuntu pre-loaded. The password was set to the store. At home, I just changed the name from the store to my own. I went through the software then switched ...
2
votes
1answer
161 views

Getting rid of the libvirt-qemu user in the login screen

I've just installed kvm on my Kubuntu 18.04 and I got a new user listed on my login screen. Apparently, this is an old bug. Some posts here and there suggested that I should create this file: /var/...
0
votes
1answer
55 views

Create new User with Completely different workspace from the others

I have just one user(For example User_One the name) and a root on my system and i want to create a second user (For example User_two the name) who I want him to have : *His own desktop with his own ...
0
votes
2answers
154 views

Create user that can only shutdown?

Is there any possibility of creating a user, that can ONLY shutdown PC, but cannot write, read, use any other console, or command?
1
vote
0answers
57 views

Messed up my user account while probably changing default shell, need fix please

I can't exactly explain what's gone wrong, but i was trying to change (back) my default shell via chsh -s and was confronting the "PAM: Authentication failure". Then I read and tried different ...
0
votes
0answers
57 views

How to create user without any application access

I want to create a user with less privileges like that new user should only have the certain application access, all other application menus should be disabled or hide from the main menu. For ...
2
votes
1answer
544 views

Standard users are unable to share their respective “Public” folders

The only user that is able to share the "Public" under their home directory is the original user that was created at installation. Sharing is accomplished through the file manager by right clicking on ...
1
vote
0answers
140 views

Login multi user

I have already set up Ubuntu and logging in to multiple users using SSH. Can I log in to multiple users at same time in Ubuntu 18.04 using the GUI as sometimes the GUI is useful?
1
vote
1answer
73 views

Change user account properties

Creating a couple of new users on an Ubuntu 16.04 I omitted to enter user full name and now I have several users who on the login screen are seen simply as "Comment". System settings doesn't offer the ...
0
votes
0answers
128 views

User not listed in root's home folder (Ubuntu 19.10)

I've upgraded from 19.04 to 19.10 and after adding the following, I've gotten myself in a login loop, where I can enter the password and the screen goes blank: $ gedit ~/.profile Added the following ...
0
votes
0answers
351 views

How to allow a remote user to connect over ssh on ubuntu 18.04

Before you yell me out, I already checked the answers on the web but couldn't install the system that I want correctly. Here is what I want: Allow a remote user to connect (to my pc) over ssh and ...
0
votes
0answers
136 views

student@127.0.0.1: Permission denied (publickey)

I’m using Ubuntu 19.04 OS as my main host machine and Ubuntu 18.04 LTS as guest machine installing it using vagrant as shown in this course anyway using vagrant v2.2.5 when I try to log into the ...
0
votes
0answers
46 views

Configuring User listing on 18.04 gdm3 login screen in a specific order

Is there a way to define the user listing order on 18.04 login screen, such that few selected user accounts will be shown at selected places or any other way of ordering. Ex: Suppose a user account ...
0
votes
0answers
20 views

Does usermod have an equivalent similar 'useradd' to 'adduser'

usermod has some security holes which I would like to avoid with a 'higher' level program which could prevent a uid change to root.
0
votes
1answer
75 views

Adding new standard user

I am using Ubuntu 18.04 and I want also to allow to use my PC my brother. It would not be a problem if it had a guest account but since 18.04 has no guest account I am wondering what data is ...
1
vote
2answers
201 views

I mistakenly renamed my home holder with sudo. Cannot login to system

I was changing my username. In the process I made a mistake of using following command. $ sudo mv /home/user /home/waqar I thought it would simply rename the home folder. But now cannot even login ...
1
vote
1answer
61 views

A newly created user is unable to access sound devices

I have created a new user, went to user groups and checked 'use audio devices'. However, when i log into that user account i see that no sound can be played. When i go to audio mixer it says that it ...
2
votes
0answers
34 views

When I restart Ubuntu 19.04 it is asking to complete setup process

When I restart my system then it asks me to complete the setup process, like choose the language, create user, keyboard layout. But I already have users. To come out of this process, I have to force ...
0
votes
0answers
26 views

Modifying the user profile schema

I am trying to modify the Ubuntu user accounts schema to match my user management preference, and for the life of me I can't find a damned thing. My Goal Add user fields to the "User account ...
0
votes
0answers
26 views

Users management - allow local installation

I'm building a workstation that will be used by different users. I don't want to make them sudoers but I'd like for them to be able to install anything they within their account (no system wide ...
0
votes
1answer
114 views

How to check unlock history in Ubuntu 18.04? [duplicate]

I am running on a laptop with Ubuntu 18.04. Please guide me how to check the history of when my PC was unlocked.
0
votes
0answers
89 views

Setting a user to login automatically via the command line [duplicate]

I have a user (interface) on Ubuntu MATE 18.04 I need it to log in automatically and without requiring a password to do so. The built-it screen on the case of my Raspberry Pi is too small for this to ...
0
votes
0answers
44 views

How to create a user for testing untrusted applications?

I want to create a user for running (testing) unsafe applications (including native Linux, Java and WINE). I want to prevent those applications from accessing anything except /home/thisuser, keyboard, ...
1
vote
1answer
87 views

No home folder for user

Although I have explicitly specified a home directory for a newly added user, after the login, there is no home for that user. mahmood@ubuntu1604:~$ sudo useradd test -d /home/test -s /bin/bash ...
0
votes
1answer
58 views

Why would 'groups' and 'groups [myname]' give different results?

I am have trouble getting docker to work, and I suspect it has to do with permissions and membership of the 'docker' group. I have run the command to add myself to the docker group sudo usermod -aG ...
1
vote
0answers
44 views

Customized environment for new users in XFCE

I come back to the community because I have a sad problem. I just migrated from Xubuntu 14.04 to Xubuntu 16.04. The environment was personalized. That is to say, every time a student (I am in a high ...
0
votes
0answers
66 views

Kubuntu 18.10 does not allow me to change avatar in my account

For some reason, whenever I try to change the account avatar in Kubuntu, my change gets rejected and my avatar gets changed to the default. I even tried using an avatar already supplied by Kubuntu and ...
6
votes
1answer
479 views

Why did I need to *reboot* to change my group membership [duplicate]

Attempting to install MythTV on Ubuntu 18.04, I ran... sudo usermod -a -G mythtv roger ...and logged out and back in. This should be sufficient. But: my group memberships didn't change. I had to ...
3
votes
1answer
644 views

List only local user accounts with a single command

I am using Ubuntu 18.04 and I need to list all the user accounts on the computer but not all of the accounts, only the local users. the command cut -d: -f1 /etc/passwd gives: root daemon bin sys sync ...
0
votes
1answer
360 views

Roaming Profiles Equivelent

I was in the process of setting up a network made up of 6 linux machines and 1 linux server, and I was wondering if there was a way to create user accounts that can be accessed from all machines ...
0
votes
2answers
910 views

LDAP accounts not given same rights/permissions/policies as Local accounts

Just tried switching from Linux Mint to Ubuntu 18.10 but encountered numerous problems with accounts. All the steps to recreate are below in details. I would love to know how Ubuntu 18.10 ...
2
votes
1answer
130 views

Partitioning /home for desktop workstation (HDD+SSD)

I just switched my wife's home computer to Ubuntu 18.04 from Windows 10, and she's liking the transition so far. It's an Ubuntu-only machine (no dual boot, only one OS distro, may need to set up a VM ...
0
votes
0answers
36 views

Ubuntu WAP/ROUTER mobile devices macaddress access and auth. with 24hrs expire pass words

How do you set up your Ubuntu to controll WAP/router from HUAWEI? I need to provide auth. psswrd (expiring every 24hrs) and Macaddress access for mobile devices
1
vote
1answer
79 views

User changing after login

On Ubuntu 18.04 I think webmin screwed up my system. When I login with ssh on my server with my own credentials, the system change my user to www-data. Obviously this account is heavily restricted. ...
1
vote
1answer
230 views

How to rename a user with an eCryptfs encrypted home directory?

I just want to change the username of a user with an encrypted home directory. Is there a simple way instead of the suggested restoring and so forth? How can i move an encrypted home directory to ...
0
votes
1answer
471 views

unable to read/write to newly created files linux

I have setup laravel on a linux server and my apache is owned by root and www is owned by www-data and any new file created is owned by root user in the storage dir here is the screenshot of ...
0
votes
0answers
39 views

Problems with user settings

i have 2 users, mine and my moms, but the thing is that, from my mothers account i can enter the files and apps for my account (mine is the principal one btw) i dont want my mother to acces my files, ...
1
vote
1answer
379 views

Terminal shows that my user is only a member of its group, but it is not true - how to fix?

I went to strange situation on my laptop (running Ubuntu 16.04.5 LTS). All terminals show that my sudo-able user is only a member of its group: $ whoami norbert $ groups norbert $ id uid=1000(...
-1
votes
1answer
244 views

How to transfer all user settings and preferences to root and delete all users except root?

How to transfer all files, settings and preferences from a user to root and delete all users but root ? I find it tedious and time-consuming to work on ubuntu 18.04 "LTS" gui when I'm not root. Root ...
1
vote
0answers
41 views

User group membership appears to be empty [duplicate]

I appear to be having issues with group membership for the single user on my Ubuntu laptop. I found this initially when trying to access a USB stick and finding I was getting access denied. I checked ...
1
vote
0answers
23 views

How do I restrict a specific SSH user to only connect from a list of machines in a specific file?

I have a virtual machine with ubuntu 16.04 and i'm trying to restrict one user to only be capable of accessing the server through SSH if he's connecting from one fo the machines defined in a new file, ...

1
2 3 4 5 6