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

learn more… | top users | synonyms (1)

2
votes
1answer
256 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
20 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 ...
97
votes
19answers
27k 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. ...
-1
votes
0answers
29 views

How to not put process in background when I switch user? [duplicate]

I use the root account as my working account where I cannot play sound because of the root. So I switch to my non-root user, start Youtube and listen to the music. The problem is, when I switch back ...
2
votes
1answer
17 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
19 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
132 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
10 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
45 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
1answer
33 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
45 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
28 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
162 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
35 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
3k 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
18 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
3k 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 ...
1
vote
1answer
22 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
200 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?
17
votes
7answers
29k 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
344 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
171 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 ...
0
votes
1answer
67 views

How to hide / remove “postgres” user in Ubuntu 14.04?

I recently installed postgresql. (I know very little about it, but may try it out at some point.) I noticed that a user named postgres (which I do not recall creating manually) is now listed both on ...
1
vote
0answers
27 views

How to access user's activity log

How can I get the log that says programs which are opened by user with time stamp . I would like to develop a system to monitor and give suggestions using this user activity log.
3
votes
1answer
1k views

Need help installing LibreOffice 4.4 on Ubuntu 15.04

From a new Ubuntu 15.04 install: When launching any application of the LibreOffice suite the LibreOffice splash screen starts with the following error box: LibreOffice 4.4 - Fatal Error The ...
0
votes
1answer
44 views

Upstart error cd: can't cd

I have the following upstart code and it gives me the following error /proc/self/fd/9: 2: cd: can't cd to /home/sam/Website/ I tried putting outside the script block as per this response ...
13
votes
4answers
33k 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.
0
votes
0answers
28 views

User account history showing incorrectly

I have found that in System Settings > User Accounts that if you select an account and then select the button called History (which is meant to show the login history for that account), it will ...
1
vote
2answers
258 views

How can I disable the Terminal Emulator for certain users?

How to prevent specific users from using the terminal emulator?! I make a trick by writing a script in .bashrc which request a user to enter a password to be able to use the terminal emulator. But ...
0
votes
1answer
14 views

How to set default account-expiration date for all new users?

How can I set a default account-expiration-date for all new users? I know we can do it for every new added user with the --expiredate, but I want that it is default and done for every new user! ...
0
votes
0answers
32 views

How can I rescue or restore parts of a user's X session or plasma config which was corrupted by a full disk?

What happened: I was downloading about 2GB of driver files when I ran out of disk space. My computer started running very slowly and eventually I had to hard reset. I'm running Kubuntu 15.04. / is ...
0
votes
1answer
25 views

Strange output when deleting user

I just added a new user to the system (Ubuntu 14.04 LTS server) using adduser --force-badname myNewUser After deleting it again with: deluser --remove-all-files myNewUser the system was ...
3
votes
0answers
60 views

How to add flags and/or arguments to a command in the 'sudoers' file

How would I add flags and/or arguments to allow users in the sudoers file to run certain parts of commands, such as only allowing a user to run sudo rm and not sudo rm -rf? I am using 14.04. # # ...
0
votes
1answer
47 views

Restore permission default of /usr folder [duplicate]

I ran a stupid command: sudo chown -R ngoclb:ngoclb /usr. Then I couldn't use sudo command and login to Ubuntu. To fix this issue, I using recovery mode to chown /usr to root (sudo chown -R root:root ...
9
votes
1answer
1k views

How to change file ownership when chown says “invalid user: ‘–R'”?

ubuntu64@ubuntu:/$ sudo chown –R hduser:hadoop mongodbdata chown: invalid user: ‘–R' When I try to change the ownership of the file, I am just getting invalid user: '-R' error.
2
votes
3answers
213 views

Lost user login on upgrade to Ubuntu 13.10

I just upgraded to 13.10 this weekend (I know 14.04 is out, I'm not doing that yet) and have lost my login. There used to be two user accounts I could choose to log in from on the startup page, mine ...
0
votes
0answers
80 views

Windows domain users cannot login Ubuntu 14.04

I have an assignment that requires windows domain users to be able log in with their designated username and password, but it's not working for me. And Yes, I have enabled and configured that file to ...
0
votes
2answers
38 views

I need to make a batch of users

I had written some code that would allow me to make a batch of users based on a file with usernames in it. But it eventually went from just a few lines to about 50, and I deleted it. There has got to ...
0
votes
0answers
25 views

Ubuntu admin user privileges error

When trying to change settings in the network toolbar dropdown, I get this error: Connection activation failed (32) Not authorized to control networking.` When trying to mount a USB drive: Unable ...
0
votes
1answer
18 views

defining which user untar and make the programs for files

I have untar and compiled the source files for the software. How I know whether I was in root or user while these process? directory name includes the source file:GAMIT path: /home/sorbilene/GAMIT
0
votes
1answer
21 views

Does a user creating text file need to be in a specific place?

I've got several scripts which wont work for me but work for others. Their purpose is to add users to the system, and then assign them to groups. I wrote it as a nano bash file; does it need to be ...
-1
votes
2answers
54 views

How do I print all the usernames that have same UID in `/etc/passwd` by using awk?

How do I print all the usernames that have same UID in /etc/passwd? This is my command $ awk -F: '{print $3, $1}' us.txt | sort 0 daemon 0 pepe 0 root 2 bin 2 jacinto 3 paco