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

learn more… | top users | synonyms (1)

0
votes
0answers
10 views

Deny a user the right to use udisksctl

I'm using a system based on Ubuntu 14.04 There are multiple partitions on /dev/sda. /dev/sda1 is where the system resides, /dev/sda2, ..., /dev/sdaX are NTFS partitions. There are two users admin and ...
1
vote
1answer
17 views

About multi-user accounts, multiple programs in Ubuntu

I have just been using Ubuntu 14.04 for a few days... Could anybody tell me whether: If User A logs into the computer and installs an application, will then user B who logs into the same computer, ...
0
votes
2answers
30 views

using su for a user which does not have a password

I am creating a user using useradd command in Ubuntu which does not require that I set a password for the user. how ever when I try to use su command to login as that user, su requires me to enter a ...
49
votes
5answers
245k views

How to enable root login?

I would like to enable the root account on my Ubuntu installation. I realize the security implications of this.
6
votes
2answers
24k 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 ...
0
votes
0answers
7 views

How can I give koala access to /var/www/html?

I'm trying to use Koala (http://koala-app.com/) to compile sass in /var/www/html. When I try to add my style.scss file all of the files are greyed out. I've added my account to www-data. When I run it ...
0
votes
0answers
8 views

Power Management settings for all users

is there a way to set power-manager settings to all users? i.e. I don't want to create a new user and forget about disabling use-time-for-policy.
0
votes
0answers
45 views

Running Java as another user

I have a directory called Minecraft for Minecraft servers. I've set it's owner and group with chown to minecraft:minecraft. This user and group exists. /etc/passwd contains ...
1
vote
2answers
25 views

Is there a default folder for sharing files with other users?

For files that I want to share with all users on a system is there a folder where by default they have read access? If I have to create one, is there a best practice location for it?
1
vote
1answer
20 views

Diffrent sets of applications for each user

I want to try out some alternative desktops, see whats going on, but I have a annoying issue, when I install a desktop package I get all the applications and stuff that come with it just added to the ...
24
votes
4answers
36k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
3
votes
2answers
115 views

Permissions, owner, group inheritance?

I don't understand restrictions in terms of directories nesting. For example, /var/www/folder/index.html directories. What permissions, owner, group should every directory and file have? Is there ...
0
votes
2answers
31 views

Give user permissions for root folder [duplicate]

hi so I have installed xampp on my Ubuntu laptop and I want to give the user "John" full permissions on the folders /opt/* How can I do this? Right now you need to be root
0
votes
1answer
16 views

Login automatically after PC goes to sleep

My user account's state is this: However, when my laptop falls asleep, it prompts me for a password when I awaken it up (by moving the mouse for example). How to avoid that?
4
votes
3answers
241 views

How can I log file access from users?

I have to give someone access to my computer, but I want to know afterwards which files he accessed... Can I create a log file for that? Is there an existing program for that? I know how to track ...
2
votes
1answer
31 views

Possible to run graphical sessions on multiple TTYs?

On a default Ubuntu (15.04) installation, We have 7 TTYs that we can switch with Ctrl+Alt+F [1-7], where TTY1-6 are terminals and TTY7 is the graphical X session. I would like to have more than one ...
1
vote
1answer
4k 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
1answer
31 views

Landscape is missing user information in web interface

We have a custom installation of Ubuntu Landscape 15.01 in our network (using the instructions from here: How do I install Landscape for personal use?), and installed several servers that connect to ...
0
votes
2answers
29 views

Run sudo commands from standard account

I've recently had an increased interest in how multiple users are handled in Ubuntu, and have hit an interesting problem: running commands as sudo from a standard account. If I run a GUI application ...
0
votes
1answer
33 views

PostgreSQL User Authorization/Configuration Issues

I've installed postgresql 9.3, but can't get any users authorized. I also can't use initdb or pg_ctl. I can't find pg_hba.conf either.
2
votes
2answers
228 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.
1
vote
1answer
39 views

Strange user accounts displayed

I was following this tutorial to manage my server's users & groups : I have one group aside from the default "admin" called "guest". I used the following commands to display the users & ...
2
votes
1answer
291 views

Why I can't change my username in Terminal? [duplicate]

I started working recently with Ubuntu and changed my username. I changed the "v" tiny by capital "V", but in Terminal remains the same.
0
votes
0answers
31 views

Can I add another user to my main user group without side effects?

I'm trying to set up SSH access on my computer. I want only SFTP to be enabled, so rssh seems like an option. I have the following plan: (My default user is called sebastian) chmod -R go-w ...
101
votes
19answers
28k views

Why is it bad to login as root?

I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. ...
2
votes
1answer
19 views

Use common data folders for two users instead of separate ones

I have a 15.04 machine with basically 2 user accounts, an admin and a restricted user. What I want is that both of them have separate home directories (for system/application settings etc.), but use ...
1
vote
0answers
25 views

Expired Account on Ubuntu 14.04

my admin account on my computer expired. I set the expiry date myself exploring different account modifications but apparently forgot to reset it. I would like to reactivate it or create a new user ...
4
votes
2answers
136 views

Clone user account but change privileges

I have a fully set up admin account on my system (15.04) I daily used. For security reasons (I know I should have done this long ago, but better now than never), I want to switch over to use a ...
0
votes
0answers
12 views

How do I add an existing ubuntu user to a new domain?

Our organization is making some changes in their security model and they have created a domain server with which each machine would be linked. For this, they have created a new user on my laptop which ...
0
votes
1answer
74 views

User Groups Best Practices in Ubuntu Server

I reciently decided to manage my own web server (Ubuntu/Nginx) and as best practices I went and disabled the root user and created a new one with root privileges. When I created the new user I didn't ...
1
vote
0answers
36 views

Approximately how many people uses Ubuntu and linux in general? [duplicate]

It really interest me one thing. Approximately how many people uses Ubuntu and linux in general? Since it has cc 1,50% market share. How much downloads Ubuntu has?
1
vote
0answers
18 views

Why does running awk on /etc/passwd gives nobody? [duplicate]

When I run the command awk -F: '$3>999 {print $1}' /etc/passwd I see this: nobody tim askubuntu Why is there a user called nobody? The only 2 user accounts I have are tim and askubuntu.
1
vote
2answers
53 views

how to create users on the fly

This is just a bad idea that I just had. Is there a way create users accounts on the fly? Say I have a Ubuntu vm created, and I want to give a bunch of people access. But for whatever reason I ...
0
votes
1answer
31 views

I moved my home folder

I was trying to move my home folder to another account so hopefully my programs would have run faster on a new user. But apparently that did not work out well and I can not login to either accounts. ...
13
votes
4answers
9k views

I deleted the “/etc/passwd” file and cannot log in

I was trying to change my username and also my home directory (/home/username) and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this ...
2
votes
3answers
3k views

How to recover a deleted /etc/passwd file? [duplicate]

I deleted the /etc/passwd file and cannot login now. I don't know the root password and tried lots of passwords, but none of them worked. How can I fix this?
3
votes
1answer
178 views

How to create a file in a specific location for every user?

I'm running an Ubuntu LTSP setup at a school with about 60 unique users. Occasionally, we need to share a document, create a directory or place a config file in every user's account. Obviously, it's ...
2
votes
1answer
26 views

Cannot get an access to one of my user accounts [duplicate]

I have two administrator and one guest user accounts on my computer. I have set password to one of my administrator accounts and forgot. Can I get back access to that account trough the second ...
0
votes
1answer
41 views

Allowing other users to use wine

I am using ubuntu 15.04. I have installed wine in the superuser account so that I can use MS office 2010. But I can't use it when I login the other normal user account. Is is possible to set the ...
1
vote
1answer
25 views

how to move home in ubuntu

I got a Ubuntu 15 VM and I am adding a second virtual disk for the home partition. I moved the old home to home.old. and have mounted the new home on the new disk. and the mount is successful. But ...
0
votes
2answers
4k views

change default username that appears in the terminal

i wanna change something@something-pcname:~$ to somethingElse@somethingElse-pcname:~$. i have already tried changing the user name from something to somethingElse but the terminal still displays ...
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 ...
3
votes
1answer
24 views

Setting up Samba Shares with users that have different read/write permisions

I have just set up a Samba Server and setting up my shares, I have a Media Share that looks like this in the config file. [Media] comment = Media path = /Media browsable = yes read only = no ...
4
votes
2answers
1k views

Can't login to my account, I know the password

I use Xubuntu 14.04 64 bit. I was watching a movie, the desktop froze (as usual duh!), I logged out using a terminal, and couldn't log in to my account after that, I'm using a terminal. I type my ...
1
vote
1answer
38 views

Can't access my data due to low disk space

I was getting low disk space message for the past few days and so I tried to delete unwanted files and transferred many files to my external disk. My other drives(C: D: E: and F:) have around 10GB ...
0
votes
6answers
223 views

Import users from CSV file

Is it possible to import users by using CSV file? or something like a LDAP connection to import all users?
19
votes
7answers
31k 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 ...
1
vote
2answers
351 views

Microphone only working for one Ubuntu user in Skype

I've had problems with Skype for a bit, but managed to fix some of them (using Skype from the repos to make it work with Pulseaudio, fixing cracking sounds as described in a blog post on itbubbles). ...
3
votes
0answers
184 views

How to change my own home directory?

I use this command to change my home directory: sudo usermod -d new-path -m myname But I got this error: usermod: user myname is currently logged in How could I change my own home directory and ...
0
votes
2answers
43 views

New program development - need help

I would like to develop a new program for Ubuntu that will monitor the user's activity ,If user frequently uses a particular software "X" in certain time (like 8:00 A.M - 10:00 A.M ) ,when the time ...