Questions tagged [accounts]

Questions that relate to an area (or home directory), in which a user can store files pertaining exclusively to that user's activities, which is protected from access by other users. Related questions includes public profile issues, authentication to system services and the ability to be granted authorization to access accounts.

111 questions
67
votes
3 answers

How do I disable remote SSH login as root from a server?

For security purposes my company wants me to not allow anyone to be able to log into our Ubuntu server as root remotely over SSH. We still want the root account to exist, we just do not want it to be able to be logged into remotely. How would I…
Rob S.
  • 1,651
17
votes
5 answers

How to add a guest account without a password?

Sometimes I have friends in my house that want use my computer. How can they use a guest account without typing a password?
vrcmr
  • 6,397
10
votes
4 answers

Why there are many guest accounts on my system?

After I saw this answer, I realized that there are many guest accounts on my system: grep guest…
Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
9
votes
1 answer

Give permission to user ONLY to install applications

I've been using linux for 6 years, but only now I had the task of creating 2 accounts into one PC. Those 2 accounts are Admin(Mine) and User(My Mother's), the problem is, when she tried to install an application Ubuntu ask for the admin password,…
aliasbody
  • 1,021
8
votes
5 answers

How to change administrator username?

I have accidentally typed my name wrong when I created the administrator account. Although I managed to change the user name at the login screen, I am unable to rename the /home/oldusername to /home/newusername. I tried most of the online tutorials,…
Fazlan
  • 273
8
votes
2 answers

Why should we expire a locked account to totally prevent access?

From man usermod: Note: if you wish to lock the account (not only access with a password), you should also set the EXPIRE_DATE to 1. Why should we expire a locked account to totally prevent access to the account? What will happen if…
Sinoosh
  • 2,101
7
votes
4 answers

usermod says account doesn't exist but adduser says it does

I run the command usermod -a -G dialout amashreghi but I get amashreghi doesn't exists, however, when I try to add the user using adduser adduser amashreghi It says that amashreghi already exists. What's going on?!
Zoomba
  • 173
  • 1
  • 1
  • 5
7
votes
2 answers

How to add an account to StackApplet?

I have recently installed StackApplet and I want to add my account to it. However, I can't do so as I am unable to select a site properly. See this screenshot: When I press on the option Site nothing appears. Instead, a blank dock appears…
romaan
  • 302
7
votes
2 answers

How to turn off the automatic lock?

I want Ubuntu to ask for my password when I log in but not lock me every time I am away for 5 minutes. How can I disable the automatic lock?
Lazer
  • 659
6
votes
2 answers

Should I keep the OEM's default account?

Since a few days I've a new laptop running Ubuntu Linux. During the installation I had to create my own user account. After rebooting, I saw, that the manufacture created a second user called oem (original equipment manufacturer) which has admin…
user416570
5
votes
3 answers

How to remotely lock out users from logging in temporarily

I'm not sure how to word this. I would like to be able to, remotely, lock down my kids' access either for an amount of time, or have lock/unlock control. Basically, I want to lock out an account temporarily until I unlock it remotely.
peck
  • 786
5
votes
3 answers

How to make folder writable to 2 users in different groups?

I have a folder (/var/www/test7.com), which must be readable/writable by www-data AND test7 users. test7 user should not have access to other websites. How can I do that?
5
votes
0 answers

Ubuntu 18.4 : How to choose the sudo-account to use on "Authentication Required"?

When we need admin rights to do some stuff on Ubuntu 18.04, we are prompted with an Authentication Required window, asking for a sudo-account's password. My problem is that it seems we can't choose which sudo-account we want to use. This is a…
PyRo
  • 51
4
votes
1 answer

How to remove hacked account on Ubuntu server

My server has 2 accounts are hacked and now if I try to removed them by any way, after that 1 min, they will be re-added automatically with the highest permission in visudo NOPASSWORD=ALL So how can I find out the root code do it and remove them…
4
votes
3 answers

AccountService and UID < 1000

currently I'm using Ubuntu 16.04 and have set my User UID to 501 (interop with Mac). However even after setting login.defs: UID_MIN 500 UID_MAX 60000 # System accounts #SYS_UID_MIN 100 SYS_UID_MAX …
1
2 3 4 5 6 7 8