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

learn more… | top users | synonyms (1)

16
votes
1answer
882 views

Get email notification for using 'sudo' by a specific user

I have a server set-up and I let somebody that I trust with a little bit of sudo access have it. However, I also want an email anytime that they use sudo. I know that I can use Defaults ...
2
votes
0answers
253 views

How can I distribute mandatory settings (system and LibreOffice settings)?

The last PCI settings: Users may not change their screen saver timeout, it has to be set to 5 minutes. And locked so that no configuration can be made by the user. Users must always unlock their ...
0
votes
1answer
21 views

Adding users and giving special permissions

I have tried different things with chmod and adduser commands but it will take too much time for me to do this. Here is what I try to do: Lets say I will add 3 users to my system. Each user can read ...
-1
votes
0answers
17 views

Difference between users listed under home directory and those not [on hold]

I see some of the users I can find under /home directory in centos but not rest of the users. Users that are listed under /home directory, I can login as those users with command su username To ...
3
votes
3answers
3k 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.
13
votes
1answer
34k views

How to change user GID and UID in Ubuntu 13.04?

I need some help changing user GID and UID in Ubuntu 13.04 in order to map an NFS mount, it is my understanding that these need to be the same on local machine as well as LDAP side. Thank you.
6
votes
2answers
36k 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 ...
3
votes
2answers
21 views

How to transfer all my files to another user, including permissions

I have to create another user and transfer all my files to "him". The problem on Linux is that the new user will not be able to access them/edit them. Is there a fast command to transfer all files AND ...
2
votes
3answers
5k views

Problem with Winbind/Samba

I've been having an issue on my network that has completely vexed me. I have three workstations running Ubuntu 13.04, one Windows 7 workstation, and three servers on Ubuntu Server 12.04. One of the ...
0
votes
0answers
18 views

How do I mark a group in polkit as administrator?

I am using authentication via smb and want all users of the admins group as local administrators. For this I created the /etc/polkit-1/localauthority.conf.d/60-local.conf file as described in ...
0
votes
1answer
43 views

Software package fails installing because of permissions

I'm busy installing WS02 on Ubuntu 16.04 LTS Server edition, right now I am facing some problems regarding permissions I guess below is my terminal log. I checked the directory with $JAVA_HOME and ...
2
votes
4answers
325 views

How to find which users are currently logged in?

uptime shows among others 4 users, should I be worried? According to man uptime uptime gives a one line display of the following information. The current time, how long the system has been ...
0
votes
0answers
15 views

How to reduce Bandwidth using squid delay pools in a LAN

I have a LAN with user PCs that managed by linux squid proxy server. IP ranges : User1 category : 192.168.1.2-192.168.1.12 User2 catogory : 192.168.1.13-192.168.1.23 User3 catogory ; ...
0
votes
0answers
12 views

VNC connect to background user

Is it somehow possible to allow local VNC connection to background user to other people while I'm myself working as the main user?
8
votes
1answer
297 views

How to add new Users to Ubuntu tablet BQ M10?

I have just unboxed my all-new BQ Aquaris M10 Ubuntu Edition and started it for the first time. The device comes with Ubuntu 15.04 pre-installed. While playing around, I was unable to find any setting ...
0
votes
3answers
27 views

Do files/directories belong to a user AND a group?

I'm trying to understand how file permissions work in Ubuntu. However, I can't understand the difference between user and group permissions. In here it says: Owner permissions − The owner's ...
6
votes
4answers
7k views

What is each logged in user doing?

To expand on this question: users command lists 5 of the same users...what are they doing? How can I track down what each user is doing or what service/app/request spawned another login of that user? ...
4
votes
2answers
703 views
0
votes
2answers
51 views

How to display the group-memberships for every user of the system?

I need a command that displays the system’s users and groups from /etc/passwd and /etc/group. For each user I want to display the username, UID and all groups the user is a member of. I tried cat ...
1
vote
1answer
35 views

Find out which program requested authentication

I get password prompts like the one below every now and then. Usually they say: Authentication is required to change your own user data But I have not requested to do so. This often happens ...
0
votes
0answers
42 views

Ubuntu Live User Password

We've all seen the question before; "What is the password to the live user on Ubuntu?" This is always coupled with the same, correct, answer; "There is none." But how does that work? If I were to ...
1
vote
1answer
261 views

How do I create default folders for new users?

What I want to do is this : When I create a new user in Ubuntu, I want him to have a copy of a folder, let's call him "abc", in his own home directory. Is there any way to automate this or do I have ...
0
votes
0answers
22 views

Member of group cannot cd into directory

I have a folder testfolder with owner tuser1 and group testgroup. ls -l shows this: drwxr-x--- 24 tuser1 testgroup 4096 Apr 17 13:33 testfolder tuser2 also belongs to testgroup. getent group ...
33
votes
5answers
12k views

How to NOT become a root user? Are administrators root?

I installed Ubuntu on my PC. To log in, I use the username and password I created during installation. Does this mean I am a root user? If yes, then how do I become non-root? It looks like non-root ...
3
votes
3answers
4k views

Can't Clone a User Profile?

I have a user profile all setup with all settings the way I want them. I want to copy the entire configured profile to a new user account. This is what I'm doing (user is already added to system): ...
30
votes
7answers
67k 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 ...
12
votes
2answers
24k 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 ...
14
votes
5answers
11k 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 ...
0
votes
0answers
16 views

Problem with an user

I was trying to follow a video tutorial to install ldap in Ubuntu with a client and a server. The tutorial's girl said about create an user in a new file, "usuario.ldif". This is what I wrote: dn: ...
0
votes
1answer
17 views

Recovering user data after misinformed username change

I wished to change my username. To acheive this, I made the unfortunate choice to simply edit "/etc/passwd", replacing the respective username. Now I cannot log in anymore as that user. I assume this ...
1
vote
0answers
46 views

Firefox 45.0.1 doesn't play videos when run as a different user on ubuntu 15.10

If something similar has already been posted somewhere: sorry about that; I am noobish... I have a newly installed Ubuntu 15.10 and I'm trying to run firefox as a different user (lets call this user ...
0
votes
1answer
32 views

PAM configuration error can cause “The system is running in low-graphics mode” error

I want to add this information to the question 'How to fix “The system is running in low-graphics mode” error?', but I'm newly registered and don't have the reputation to comment on that question. ...
22
votes
8answers
67k 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.
3
votes
2answers
944 views

Root Script Execution at Non-Root User LogIn/LogOut

A script that requires root privileges needs to be executed when a non-root privileged user signs in/out. How do I handle this?
228
votes
7answers
344k views

Add user to existing Group

I want to add the Apache user (www-data) to the audio group. I've read the man page for useradd, but I'm not having any luck. I'm running xubuntu 11.10. Here's what I'm doing: $ sudo useradd -G audio ...
1
vote
1answer
55 views

Disable features for a specific user

I want to disable all features on a specific user, on my Ubuntu 15.10. I want him to: Don't change the wallpaper I followed this How to restrict users on changing their wallpapers? , but my ...
2
votes
1answer
84 views

How to check the list of packages and applications installed along with the name of the users that installed them.? [duplicate]

I have a Ubuntu desktop which is accessed by many other users. Is there an option or a command to check all the packages/application that was installed by a particular user. Thanks
0
votes
0answers
33 views

Ubuntu Mate Default Settings for User

I want when I create a new user, this user loads automatically a default setting file with a pre-made desktop environment. I had tried to add my config to ...
13
votes
5answers
20k views

Solving permission problems when using external EXT4 hard disk with multiple linux installs

Hello I have a external hard drive and since I only use Ubuntu and Fedora I decide to format my hard drive to ext4 everything is fine. The problem is when i mount the drive i need to change the ...
0
votes
0answers
21 views

Running my process in a different user

I have a simple Node JS script running on my Ubuntu VPS on the root user, the VPS will be used for nothing else, doesn't use excessive CPU or RAM or allocated memory space. Should I create a new user ...
10
votes
5answers
2k views

Why does switching users completely hang my system every time?

I have a fresh install of 11.04 64bit, with 2 administrator accounts and 4 normal accounts. The 4 normal accounts (the kids' accounts) don't have passwords, they can login simply by clicking on ...
0
votes
0answers
75 views

how do I set the libreoffice icon style for new users?

My organisation wants to have a common icon-style for libreoffice - they want to change from "Tango" to "sifr" for all new users. Obviously a user can set the icon-style themselves via The ...
15
votes
6answers
31k views

When I add myself “vboxusers” group I an no longer in the “admins” group

I'm using Ubuntu 11.10 and I installed VirtualBox. This required me to add myself to the vboxusers group but when I add myself to vboxusers group I am no longer be in other groups and especially ...
0
votes
0answers
16 views

How to reset the default users [duplicate]

I was having some trouble with virtualenv and sudo and such and I found a solution which involved running chown on a directory. Instead of doing what the instructions said I did the completely wrong ...
3
votes
1answer
33 views

Where does Ubuntu store the default groups new users are added to?

Is there a file that contains the list of default groups that all newly created users will belong to? An answer to the following question provides a work-around for creating users with certain group ...
8
votes
2answers
8k views

I unexpetedly deleted administrator account and the other accounts are asking root password

I unexpectedly deleted my user account (the only administrator for the machine). I have another account which is standard account now i cant access my hard disk or anything with that standard account ...
0
votes
0answers
20 views

Firefox plugin pauses after switching user account in Ubuntu 14.04

I am running automatic scripts (Instagram Liker) using iMacros (A Firefox PLugin) on an Ubuntu Machine. I have two accounts on the same computer. One for running my scripts and the other for family ...
7
votes
4answers
368 views

Terminal: List all directories for which a user or group has write permission

I'd like to list all the directories for which a user or group has write permissions. I found this question on ServerFault, but it addresses a Windows Server, so I'm optimistic there's something ...
1
vote
1answer
65 views

Not able to add user image in Ubuntu 14.04

There is an option to add user image/photograph under User Accounts in System Settings. But whenever I try to add an user image, the system settings freeze and I have to kill it using xkill command. ...
1
vote
2answers
3k views

unable to delete user

I tried to delete a user: # deluser someuser Removing user `someuser' ... Warning: group `someuser' has no more members. userdel: user someuser is currently logged in /usr/sbin/deluser: ...