Questions tagged [users]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
69 views
+50

New Kubuntu 20.04 user accounts without group memberships

I recently experienced strange problems when creating user accounts on freshly installed Kubuntu 20.04 PCs. The user account created during installation of the OS works as expected. It is member of ...
21
votes
1answer
15k views

I accidentally removed myself from sudoers, how can I fix this? [duplicate]

I have one admin account and recently I have accidentally added myself to a single group (usermod -G without -a). So, I am not in the sudoers file any more. However, it is not possible to log in to ...
-1
votes
0answers
18 views

anyone had any experience with DFI GHF51? [closed]

Here is the thin. My supervisor gave me a motherboard called GHF51 ,and asked me to study it. At first, I google it,and I found it can support Ubuntu and OpenCV. I didn't see any user reported GHF51 ...
0
votes
0answers
31 views

ubuntu LiveCd enable user login

I am customizing Ubuntu 18.04 and want to boot from a USB drive. As the LiveCD does automatically log in, I Want to enable user login while booting. Can someone pls help me to enable user login for ...
108
votes
11answers
253k views

Home directory not being created

I am trying to understand system administration on Ubuntu. So, as an example, I create a dummy user using sudo useradd -d /home/linda linda and passwd to create the password. I check that an entry ...
0
votes
0answers
33 views

Manage users and groups on Ubuntu Server 18.04

Is there any way to manage 10 users divided into 3 groups on Ubuntu Server 18.04?
0
votes
1answer
42 views

Limit user1 access to allow wired connection only, allow user2 access to wired and wireless access

I have a VPN client router installed behind my normal router. My laptop is hard wired to the VPN router and is connected wireless to the normal router. I would like to limit user1 access to the web to ...
0
votes
0answers
32 views

Lubuntu login screen doesn't show users

Hello i have just bought a cheap vps with ubuntu on it and installed lubuntu for UI with tasksel, now i rebooted and tried to log in but it shows me the login screen asking me to choose my user, but ...
0
votes
0answers
15 views

Networking and managing users

I want to teach Programming to student from low income families in Nigeria. So I wish to know how I can network computers so that each student will have a unique login details and can access the ...
0
votes
0answers
25 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 ...
37
votes
4answers
74k views

How to run crontab as user:www-data?

My LAMP is setup to work as user:www-data and all files and folders are created with that permissions. I have setup for crontab as user@ubuntu. So i do crontab -e and use this command: */5 * * * ...
4
votes
4answers
3k views

Ubuntu 20.04 user not listed to login

I recently upgraded to Ubuntu 20.04 and today, after turning on my computer, by default, Ubuntu showed that welcome screen where you create your user and whatever. I thought my OS crashed because it ...
0
votes
1answer
3k views

ubuntu server and samba

I am trying to set up a Ubuntu server 12.04 nas using samba file sharing. I first tried to set it up with webmin and when that didn't work, I tried to set it up manually using the vi editor modifing ...
0
votes
1answer
34 views

`sudo -iu user` getting error `-sh: 1: source: not found`

When I switch from my root account to my new sudoer account I get the message -sh: 1: source: not found. # sudo -iu user -sh : 1: source: not found I then do bash and I get the user showing $ bash ...
4
votes
1answer
1k views

Why does `passwd -l` (--lock) also prevent ssh key-based login?

I locked a users password with passwd --lock [userName], the man page and this answers tells me, that a locked password doesn't prevent other means of logins (e.g.: ssh key-based). Quote from man ...
1
vote
1answer
20 views

How do I have `w` command output 10 characters for USER?

w command shows who is logged on and what they are doing which outputs only first 8 characters at most by default for USER. How do I let it output more characters, say 10?
0
votes
3answers
72 views

Bash: Copy to home directory

A bash script is used to copy a file to startup directory. It works fine when the username (ashok) is explicitly given: #!/bin/sh sudo cp /usr/share/applications/syncthing-start.desktop /home/ashok/....
0
votes
0answers
46 views

Bash script: Create a New User, then Delete the Existing User

I am trying to write a script, to create a new user, then delete the existing user. The script does not show any errors or warnings, but the existing user is not getting deleted, when running from ...
0
votes
0answers
49 views

Ubuntu 20.10 Lost all files with usermod when added user 1001 to group 1002 accidentally

I was adding a new user {rasa} to my Ubuntu studio 20.10. I was adding rasa uid:1002 gid:1002 groups=rasa (1002) To the audio group for privileges to change cpu to performance and set jack settings. ...
0
votes
1answer
28 views

giving write permission to a user inside a protected area

For instance, I don't need to be a super user to write inside a /home/username/dir folder, yet system locations like /usr/bin/folder1 or /etc/bin/folder2 are protected, in that they require super user ...
0
votes
3answers
122 views

No permission to access to any usb drive

On Ubuntu 20.04 recently cloned from a USB drive to my internal SSD, I can't access to any USB drive. It gives me for every USB sticks I plug into my computer. I verified that I had access to them ...
0
votes
2answers
820 views

LXC change default non-root user

I am running an lxc container for an app, but need to change the default user to the same as my host system. I setup the container following these instructions: https://blog.simos.info/how-to-run-...
2
votes
1answer
4k views

Why does Tor unexpectedly exit every time I open it?

Every time I try to run tor it unexpectedly exits and I get this in my terminal: (process:28965): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Aug 04 01:38:35.833 [...
-1
votes
1answer
21 views

Add user to virtual box to fix Vm USB problem

Could someone explain why does the user needs to be added to the virtual box, please/ How to add users to vboxusers to enable USB usage The problem is described and solved in the above link.
1
vote
1answer
666 views

How to create new user with sudo access [duplicate]

My attempts at trying to create a new user on Ubuntu 15.04 desktop have been unsuccessful. Sure, I get the new user and the login works and all seems fine. But then I can't use anything requiring sudo....
1
vote
0answers
21 views

After boot gui login forgets about user

Hello ubuntu community, I hope you can help me to learn more about ubuntu and get my system starting correct again. What happend I used the system with ubuntu 20.04 LTS for two month without any ...
0
votes
0answers
106 views

Finger print login option is not shown in ubuntu 20.04 in lenovo thinkpad e14

I am using ubuntu 20.04 and my lenovo thinkpad e14 supports fingerprint scanner but in user setting doesn't show any add your fingerprint option. I tried so many things like fprint gui and other stuff ...
0
votes
2answers
41 views

Change directory owner/group from root to a user

when trying to change the ownership of a directory i get the error: chown: changing ownership of '/home/tadpoles': Operation not permitted I even get the above message when i do sudo -s and ...
9
votes
8answers
33k views

sudo mysqldump : Permission denied

I am trying to run sudo mysqldump with user account but I get : Permission denied message If I switch to sudo su then it works. The question is why sudo gives permission denied? should i give ...
0
votes
2answers
82 views

Error when creating a new user

I tried to create a new user account. The following error occurred when I tried to run sudo adduser bob [root@IU:~# sudo adduser bob Adding user `bob' ... Adding new group `bob' (1007) ... ...
63
votes
2answers
193k views

What is the www-data user?

I'm working through How To Serve Django Applications with uWSGI and Nginx on Ubuntu 16.04. At the end of the "Create a systemd Unit File for uWSGI" in the article they discuss the www-data user. What ...
15
votes
2answers
23k views

Correctly setup apache virtual hosts with multiple users

Thanks in advance for any help you may provide. I've self taught myself using linux (ubuntu), apache, virtual hosts and a few bits with regards to security, though I've yet to put these all together ...
125
votes
4answers
264k views

How to remove a user from a group?

I added a user account to the admin group and discovered I added wrong user. So I now have to remove the account from the admin group. How can I remove an account from a group without deleting the ...
0
votes
1answer
52 views

CHMOD and how the permissions thing works? [closed]

So I got few questions about CHMOD and permissions in general. I know there are 3 groups: user(the creator of the file, the admin user (?) ) groups others My questions are: Can I create more than 1 ...
2
votes
1answer
2k views

Which groups should I normally belong to?

I accidently removed my user name from most of the groups it belonged to. I indeed miswrote sudo usermod -aG agmenor agmenor by forgetting the -a option. I found this question to add myself back to ...
0
votes
2answers
44 views

How to allow another user in a group to read a file [duplicate]

I need help in this question please I have tried several times. Create a file, /home/jack/secretf7b079, containing the string secret5cd51b. Make sure the file is owned by jack. Use a group to enable ...
17
votes
3answers
7k views

Why is syslog a user?

When I check the /var/log, I find something very strange me@me:~$ ls -lt /var/log |head -6 ' total 160368 -rw-r----- 1 syslog adm 19919118 Jan 15 16:55 auth.log -rw-r----- ...
49
votes
7answers
64k views

How to change default user in WSL Ubuntu bash on Windows 10

I installed the WSL Bash on Windows 10 and set my user to e.g. 'abc' but now I want to change it to something else. How can I change the user name of the user I'm logged in as? When I open bash it ...
0
votes
1answer
4k views

Can't get to desktop after login

I need some help: I shut down my laptop (Ubuntu 14.04), forgetting I was installing software, and now I can't get to unity after logging in. I just see my background picture. Logging in a guest works,...
0
votes
0answers
34 views

How do I switch between users, without logging out?

I am using Lubuntu, my desktop environment is lxQt and screensaver is xScreensaver. I'm trying to figure out a way to switch between users, (e.g. when pressing Meta + L). Even though, it is possible ...
0
votes
0answers
20 views

Sudo password is not wokring although user in sudo group

I have a user and I check by writing groups username it shows me your user is in sudo group. But When I wrote sudo some_commands it doesnot accept my password by saying Incorrect password . I thought ...
0
votes
0answers
1k views

Cannot enable USB in Ubuntu 20.04 running on VirtualBox 6.1

I want to enable USB Controller in Ubuntu 20.04 running on VirtualBox 6.1 My USB is 3.0 so I installed VirtualBox Extension Pack (all supported platforms) from http://www.virtualbox.org/wiki/Downloads....
0
votes
0answers
13 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 ...
0
votes
1answer
75 views

how to run firefox as a different user?

how do I determine whether this is starting firefox literally as a different user: nicholas@mordor:~$ nicholas@mordor:~$ xhost + access control disabled, clients can connect from any host nicholas@...
33
votes
8answers
65k views

Unknown user in statoverride file

I had an application installed on my htpc running ubuntu server called mediatomb, a few months ago I uninstalled it and replaced it with a Plex install. At the weekend when querying existing users on ...
0
votes
0answers
21 views

20.04 / Gnome: How to reset all configurations of a user [duplicate]

I have been running Ubuntu for years now with only LTS upgrades. root and /home are separate partitions so I have always kept /home and that served me fine until now. There is only the one user, ...
1
vote
1answer
688 views

Switched to postgres user after PostgreSQL install, can't switch back to normal user

I installed PostgreSQL using this guide: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-18-04 It says that the install command created a Linux user ...
17
votes
5answers
109k views

Command to list all users with their UID?

How can I list all users along with their UIDs? I want to do this from the terminal.
2
votes
1answer
58 views

Can't add group to user

For ROCm 4.0 in Ubuntu 20.04 I need to add the 'render' group to the user. I do this with pete@black:~$ groups pete adm cdrom sudo dip plugdev lpadmin lxd sambashare pete@black:~$ sudo usermod -a -G ...
104
votes
9answers
390k views

How can I find out my user name?

How do I know my username? I've installed Ubuntu, but I don't know my username, only my password. I can't access my laptop and it can't be opened.

1
2 3 4 5
28