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

learn more… | top users | synonyms (1)

3
votes
2answers
7k views

How can I prevent users accessing anything but their own home directory?

How can I prevent users accessing anything but their own home directory? For example, I have a NTFS partition mounted under /media/ntfs, so if the user logs in through ssh he can reach this ...
6
votes
1answer
18k views

Granting a sftp user access to a /var/www directory

I've created a user and made his home directory /var/www/mysite/ftpdir I've also added a Match user entry for this user in sshd_config with a ChrootDirectory that points to /var/www/mysite I've ...
2
votes
1answer
103 views

Ubuntu no longer prompts for root privilege (but doesn't give it either)

So on 14.04 LTS I was playing around with some settings to solve another problem, and somehow managed to screw things up and now Ubuntu no longer asks for root privileges before trying to perform ...
-1
votes
0answers
11 views

Disable desktop settings in xubuntu [on hold]

i wand to ask how i can remove desktop setting in right click, i am using xubuntu. I have disable panel preferense by using kiosk ,but i have stack here. Olso how can i prevent users by updating ...
2
votes
1answer
42 views

What is the normal reason for changing user ID?

A little discussions alike this what is a fame of Askubuntu hints me to ask for community opinion due to this is a "multipolar" theme and adequate answer written normal English at the normal user ...
0
votes
1answer
58 views

Prevent standard users from seeing and running some apps

How to control just some apps to be available on other accounts, Not all of them?
0
votes
2answers
25 views

How do you create a shell script?

I need to create a shell script that will create a user then put it into a group. How do I do it?
0
votes
0answers
29 views

adding and deleting users problem

I have a problem with users this problem is that I can't add or delete them. When I try to add or delete them I have those logs: I searched it on the internet and I found that these problems are ...
-1
votes
1answer
29 views

Do something in terminal that involve changing user [closed]

I want do something in terminal that involve changing user like: sudo su do something do something exit do something do something sudo su do something do something exit I've tried to do something ...
2
votes
1answer
2k views

Allow chown command to www-data user

Is there a way to allow chown command to be run by www-data but limiting it in a way that the files owner can be changed only to uids greator than that of www-data user? I already researched a lot ...
0
votes
1answer
18 views

How do I set-up user quotas limits on the file system?

I need to set-up a local file system limit of 2 - 5 GB per user. How do i configure that limit?
0
votes
1answer
19 views

How do i set password expiry for all users?

I need to set the password expiry time for ALL users at once with the terminal, or at least by group. Is there any way to do this? Without using suspicious or sketchy software/sites? Thankyou!
0
votes
2answers
24 views

Directly logged into Guest account

I have just one user in Ubuntu and that is guest and cannot do anything else. I installed Ubuntu and it directly logged me into a guest account. How do I create new accounts without proper access?
0
votes
0answers
14 views

Can't switch users anymore

I'm running Ubuntu 14.04 LTS and update regularly. I have 3 users on the system. I can log in to one user, but no longer can switch to another user without getting black screen and apparent crash. ...
0
votes
0answers
19 views

Give read/write rights for newly created files inside folder for users in group

I have created a user named ftpuser and a folder for him /home/ftpuser/files I added an existing user 'auser' to 'ftpuser' group sudo usermod -a -G ftpuser auser Last, I gave group ...
13
votes
1answer
20k views

Default groups for user in Ubuntu?

Installed HP Linux Imaging and Printing by using install script and something crashed. Now I'm only member of my own group and lp. Which are the default groups for users in for example Ubuntu 12.10? ...
1
vote
0answers
18 views

Samba 100 Users

I teach a class and would like to give 150 students their own folder and have each student's folder secure and accessible by only the student and myself. Is it possible to set up a Samba share with a ...
0
votes
1answer
35 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 ...
1
vote
1answer
26 views

How to find the running network services and the port and user

I want to find a list of all network services running on my system, including details of the port and services and the users. I know that I need to use netstat, ps and fuser. but I don't know how to ...
-2
votes
2answers
32 views

I'm a compete linux noob [closed]

Where is the best place to start learning/studying about Ubuntu and What topic(s) should I focus on first ?
0
votes
0answers
17 views

Ubuntu User Log In

I am not very experienced with Ubuntu and now i messed up my system :'(. I had several problems and each time i tried to fix one it get worse. First i had problems with MySQL, i had an error 2002. One ...
0
votes
1answer
76 views

Difference between Login in Ubuntu 14.04 tty1 and Initial Login

I have installed Compiz Settings Manager and misconfigured something, its consequence was all things disappeared from window other than background. I found a solution for this issue. Now problem is ...
11
votes
6answers
15k 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 the passwd to create a the password. I check that an ...
1
vote
1answer
27 views

Can the root user change the owner of a file that he doesn't own?

My web server uses the user www-data to access/change files. This causes permission issues for php file upload etc. for files owned by root (or by any other user). I'd like to use the 755/644 ...
-1
votes
1answer
25 views

I can't create a group for my users how do i do it?

How do i create a group for users i have already created on Ubuntu? I have tried several things but it won't work.
0
votes
1answer
45 views

XAMPP installed as root. How to choose a different user?

I just installed XAMPP onto Ubuntu 14.04. However, it installed itself as root instead of the user I created for this purpose. I assume that this is a BAD IDEA and would like to change this. How can ...
2
votes
2answers
110 views

How do I log out specific sessions?

I have read this these generic instructions to log users out, but I want more detail. When I run the command users I see multiple instances of the same user. IE: Joe Joe Joe Joe Joe How do I know ...
34
votes
4answers
39k views

How to add user without /home

I want to create a new user to run a service on the system but don't want to have /home and other configuration files for it. Like there is a user for postgres but it doesn't have any /home directory. ...
2
votes
1answer
3k 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 ...
3
votes
1answer
81 views

How to remove the ugly blue log in?

Due to following some guy's answer, now when I tried to log into the ubuntu, I was given an ugly blue login window: I thought I can get rid of it by setting automatic login and found some hints on ...
2
votes
1answer
81 views

Not able to create user on Ubuntu 14.04 (32 bit)

I'm sorry this post is so long, but I wanted to make sure that all the stuff that might be relevant was readily available. I've been trying to create a new user account on my laptop, and, even though ...
11
votes
2answers
1k views

What are the disadvantages of having a dot in a user name?

A student just asked what could be the downside of having a dot (. ) in the name of the user. For example: john.doe How will this affect the system or any apps for that matter?
1
vote
1answer
122 views

SSH allow windows AD groups(with Special charactors)

I have join my linux to windows domain succesfully, and now everyone in the domain could able to login to the server by using ssh. But we only want to restrict certain users from a group to login. ...
-1
votes
1answer
86 views

Jailkit freezing

I'm trying to jail ssh users on my Ubuntu 14.04 server. So after installing Jailkit version 2.17 (with the help of this tutorial) I'm now trying to follow this AskUbuntu answer to use Jailkit. After ...
0
votes
2answers
43 views

Ubuntu 14.04 userdel -f does not remove user

I faced with small difference in behavior of userdel utility on Ubuntu 10.04 and 14.04 and now struggling trying to fix it. I have kind of "hardening" script which should remove user via userdel ...
0
votes
3answers
97 views

How to remove a newly created user in Ubuntu 14.04

I added a user just for learning purpose how to add user using the command sudo useradd usernamefollowed by my password, the user is created successfully. Now I don't want it and running the command ...
1
vote
1answer
1k views

Cannot delete user - running '/usr/sbin/userdel' failed: Child process exited with code 16

When I tried to delete a user using the User Accounts window under Settings, I get the following error message: running '/usr/sbin/userdel' failed: Child process exited with code 16 How can I delete ...
0
votes
1answer
57 views

Add user with users-admin

I can't seem to get the users-admin command to work properly under Ubuntu 14.04.1 LTS. When I open it, everything looks fine, but pressing the Add button does nothing, no reaction at all. At a ...
6
votes
4answers
16k views

Deleted Myself from Admin Group - Now Getting Error usermod: cannot lock /etc/passwd; try again later [duplicate]

Possible Duplicate: Cannot lock '/etc/group' in recovery mode I have a laptop with Ubuntu 11.10 that is shared between myself and two other family members. My user id was setup as ...
3
votes
3answers
6k 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 ...
1
vote
2answers
76 views

How to edit read-only file in etc?

I'm a brand new user so I'm not sure of my way around the system yet. I want to change my computer's name, so I tried to edit the name in /etc/hostname, but it is a read-only file. Adding the '!' ...
1
vote
1answer
136 views

Cannot mount any file system/USB stick with Nautilus side bar after changing UID of my user

There are a lot of answers in here that describe how to change a user's UID. This is necessary to match it to my NAS and to ease NFS mounts and permissions. BUT: I had to do this on Ubuntu 13.04 and ...
8
votes
2answers
18k views

How do I give www-data user to a folder in my home folder?

I have a folder: /home/myuser/folderA I want to give www-data user write access to the above, while 'myuser' continues to have normal access (as it is myuser's home folder anyway). Which commands do ...
1
vote
1answer
37 views

Looking for network surveillance tool

I sometimes use / test software that cannot be found in the apt tree. The software comes from all over the internet. When executing the software I create an extra user for this particular software and ...
2
votes
2answers
110 views

How can I log out idle users?

I have some kiosk PCs that pretty much work like the Ubuntu guest session. The kiosk users home has a union filesystem mounted on top of it so the can't change anything but can still save files while ...
2
votes
4answers
12k views

How to add users to vboxusers

So I want to use my flashdrive in Windows XP, which I am currently running in Virtualbox, but when I open up the settings to enable usb usage, I get an error: Failed to access the USB subsystem. ...
0
votes
2answers
3k views

Upgrade to 13.04, user picture shows up on lightdm. Can I change it?

So, I recently upgraded my Xubuntu to 13.04, and afterwards I noticed that there is now a picture of me on the lightdm login screen. I have no idea where this picture came from, I don't remember it ...
0
votes
0answers
45 views

How can I restrict a user to specific command?

I will restrict my user chipi to only one executable command. I will allow him only to use ./ftprestart.sh: $ cat ftprestart.sh sudo service proftpd restart How can i do this? I searched a lot ...
1
vote
2answers
60 views

Renaming user name

I made a mistake in the username at the time of installation. So I changed the name of the user after logging in by creating a guest account with SUDO rights. But when I checked the list of users ...
1
vote
2answers
31 views

How can I see the list of users..?

I'm fresh to Linux , to be precise this is the first day I'm sitting before Ubuntu OS. I added users for a learning purpose & now I want to see all the users in the system. How do I see the users ...