Questions about managing the UNIX users, groups and permissions.

learn more… | top users | synonyms

1
vote
0answers
29 views

Users and Groups graphic application crashes on Ubuntu 16

I need to modify 'User Privileges' at 'Advanced Settings', in 'Users and Groups' application. To get this application, I installed from terminal, 'gnome-system-tools', at Ubuntu 16.04, and reboot the ...
0
votes
1answer
47 views

What is the difference between the group root and the group sudo? Why root user by default is not a member of the group sudo?

I am quite confused regarding this matter. As far as I know the user root has all the privelages. Also all the users of the group sudo has all privelages. But the user root by default is not a ...
1
vote
1answer
66 views

Why Network Manager is not available to new user accounts in 16.04? Why nm-applet does not start for new users?

Network Manager (nm-applet) is not available in the panel for new user accounts, and manually running nm-applet does not start the network manager. I needed to create 2 accounts for different users, ...
0
votes
0answers
17 views

Avoid duplicates in active users

Currently I use gnome-shell and ubuntu 16.04. Everytime (even after reboot) I have at least 5 active users at same time. Here my command line output. Total count: users | wc -w 5 Users list: ...
0
votes
1answer
43 views

How to recover deleted user with data in Ubuntu 14.04

I am using Ubuntu 14.04 desktop edition. By mistake one user account deleted, which contain some data on desktop. Please help me to recover deleted data from user account or whole user account with ...
1
vote
2answers
31 views

Why do I not have any directory except 'home' with new user? [duplicate]

I created a new non-root user and did the following: useradd -m newusername passwd newusername usermod -a -G sudo newusername chsh -s /bin/bash newusername I need to install software as a non-...
0
votes
1answer
46 views

How do I add a new admin user? [duplicate]

Ok, I just installed Ubuntu 12.04 and I was an administrator, but then someone made a standard user and deleted the admin account. How do I make a new admin user without it asking me to enter a ...
1
vote
1answer
29 views

Accidentally created another root user. How to delete or change permissions?

I need a non-root user to do certain (safe) things. I didn't pay attention, and used useradd -ou 0 -g 0 new_user_name, which gave root permissions to the user. It also has the same UID of 0. Before ...
0
votes
0answers
13 views

Problem with lock screen authentication?

A couple of days ago I was facing an error, something like: "Keyring change and it was always asking me to change my password". I think I fixed it from users, accounts, passwords and keys settings. ...
0
votes
1answer
44 views

Editing /etc/sudoers to allow Winbind Group members to Only sudo to 1 Local User

I have multiple Ubuntu Linux hosts that need to connect to Active Directory for user management (unfortunately an actual LDAP server was not an option here...) and have configured Winbind to handle ...
0
votes
1answer
107 views

Problems with User Management - Kubuntu 16.04

I have one user set up (in addition to myself.) I want to add another one.In user management (in settings) I can't see the user I've already set up! Also, I entered details of another user, which were ...
5
votes
1answer
53 views

Adduser to Lubuntu

I am trying to add a user called 'quinn' to Lubuntu. I've opened a command prompt (as I have done a million times before) and entered sudo -s to be root, entered my password and this is what happens: ...
0
votes
1answer
37 views

Permission denied for ubuntu shell user to list home directories of users

When I use shell I can't list the directories of local home users created by useradd or through virtual min ls -ls /home/someuser/ permission denied but I can list directories created by root. ...
1
vote
0answers
69 views

How can I limit user login to a certain number of password attempts? Ubuntu 15.10

So basically I want to be able to set it to time out after a certain number of password guesses. If this is possible, would this apply to sudo command attempts as well?
3
votes
0answers
48 views

How can I set a daily limit on a specific user's login time? [duplicate]

I need to restrict the use of a machine to two hours per day (total, across multiple sessions of being physically logged in at the console). Is there any way I can do that? Edit: I suppose I could do ...
0
votes
1answer
43 views

Unable to log in after graphics driver change

After switching from the proprietary to the open source AMD GPU driver via the "additional drivers" menu, my display was not recognised properly after rebooting. It was automatically set to 93Hz (60Hz ...
0
votes
1answer
47 views

How to create new user with Public key authentication?

I have Ubuntu Server 14.04 LTS. I have Public key authentication enabled by default. I used the following command to create new user: sudo useradd -m -c "John T." john -s /bin/bash The command ...
1
vote
2answers
96 views

Sudo command locked

I have problem, when I try to use sudo command I immediately get these messages: Sorry, try again. Sorry, try again. Sorry, try again. sudo: 3 incorrect password attempts There's no chance to ...
0
votes
0answers
26 views

Giving r-x permissions to directories of other users

I have an Ubuntu 14.04.1 server with the such permissions scheme (given below in user:group format): root: root super: sudo master master1: master master2: master user1: simple1 user2: simple2 ... ...
0
votes
1answer
16 views

-ingroup vs --ingroup

Instead of: sudo adduser --ingroup hadoopgroup hadoopuser I did a: sudo adduser -ingroup hadoopgroup hadoopuser am OK to go? Or the single - will cause a problematic user.
-1
votes
2answers
60 views

New user, new computer: system asked a password to uptade

I'm a new user, recently bought a new machine with Ubuntu. It's my first time with this OS. The first task I tried to do was update the system. I was asked about a password, but I don't know any. ...
1
vote
1answer
1k views

Can anybody explain output of getent passwd command?

mymac is my personal user account on juggernaut machine mymac:x:1000:1000:juggernaut,,,:/home/mymac:/bin/bash What does that x, 1000 , 1000 mean? And the commas that follow? In analogy, also ...
1
vote
1answer
23 views

Can I customize users privilege?

I want to create a new user for my friend and let him access to my raspberry pi remotely from another city using SSH. I want to let him do what ever he wants except accessing respi-config other users ...
-1
votes
1answer
36 views

Is it possible to have an “Inkognito” user?

I would like to be able to have a user where the following are true: The user is a "normal" user, i.e. non-superuser After a user logs out, the system "restores" the system If anything was deleted,...
0
votes
0answers
9 views

Change user to connect to a local network

I have tried to connect to a iMac from a PC running LinuxMint Cinnamon (both machines are wire-connected : Ethernet). When I clicked the machine I want to connect to from the Network directory, I've ...
0
votes
1answer
868 views

cannot remove directory rm: cannot remove ‘/opt/odoo/.gvfs’: Device or resource busy

I've created a system user using this command sudo adduser --system --home=/opt/odoo --group odoo and when I tried to remove it later using this command userdel -r odoo I got this error userdel: ...
0
votes
0answers
36 views

qsub doesn't submit jobs and qlogin can't start interactive shell

I'm a newbie in SGE cluster management, and after adding a new user to the cluster, it seems it can neither submit jobs with qsub nor start an interactive shell with qlogin. I guess it might have no ...
1
vote
1answer
48 views

open new tab as same user?

I often use sudo to administer other users on my system. How can I open a new tab in gnome-terminal with the same user name? Usually, when I open a new tab, I need to run sudo su THEUSER again. ...
3
votes
2answers
35 views

Disconnect user accounts from OS?

Let's say I have a server with Ubuntu and 10-15 user accounts on it. After some time the server crashes with whatever reason. Of course, you could look at the back-up and reset it to the time before ...
0
votes
0answers
46 views

How to disable/remove user saved desktop sessions?

I am running Ubuntu 15.04 with Linux Mate desktop environment. I've been trying to find settings concerning user session management but can't find any settings, not even on the Configuration Editor (...
2
votes
0answers
36 views

Why does `passwd -l` (--lock) also prevent ssh key-based login?

I locked a users password with passwd --lock [userName], the man page and this answers tells me, that a locked password doesn't prevent other means of logins (e.g.: ssh key-based). Quote from man ...
0
votes
0answers
87 views

389 Directory Server with Windows Clients

I'm trying to use Ubuntu as a Directory Server for Windows clients. I currently have 389 Directory Server installed but dont know where to take it from there. Hope someone can provide me with ...
2
votes
2answers
310 views

Deleting Users and their directories Would delete everything from my system?

When I had joined my organization. I had installed a fresh copy of Ubuntu 12.04 by fully removing its Windows installation. After regular upgrades and updates now it's been Ubuntu 15.04. Today, I am ...
0
votes
1answer
75 views

Install Ubuntu With Specific UID

I have run into more problems than I can bother to count by changing my UID. I'm so frustrated that I'm just going to format and start all over again. This time, I want my installation to make the ...
0
votes
0answers
13 views

UID Change Broke Mount

I changed my UID of my system and now I'm running into permission problems with hard drives mounted onto my computer. I'm so very tired of trying to get feedback on this topic. When installing Ubuntu, ...
1
vote
1answer
145 views

Set or determine the UID range for guest accounts

For a special purpose it seems like I need to know the UID (user ID) of my guest accounts. As guest accounts are created and (usually) removed automatically whenever one is needed, the UIDs are not ...
1
vote
1answer
78 views

how can we track user activity?

Is there a way to track the applications a user uses, while they are logged in? Our company is experimenting with laptops whose use is for going to conferences, and business trips. We are in the ...
1
vote
1answer
56 views

Difference between admin/normal accounts except the right to use “sudo”?

This may sound stupid, but I wonder if there is any difference between normal and administrator user accounts (created with the Unity Control Center) except the right to use sudo to become root.
0
votes
1answer
60 views

How to find who created user and with which command or which program?

I see a new user is made. How to know who created and how (from which program)?
0
votes
1answer
231 views

How to create Guest User Account in Ubuntu without Password?

I have a desktop computer with kubuntu. How can I create a Password-less Guest Account. [Files and History must be deleted at logout]
0
votes
1answer
34 views

Changed user name in CLI. But even after rebooting, user name is the same [closed]

Changed user name in CLI. But even after rebooting,user name is the same in GUI. Why it didn't get changed..? Shall we try to change in GUI mode itself? The users are common to both CLI and GUI right?
2
votes
1answer
2k views

groupdel: cannot remove the primary group of user 'administrator'

When I try to delete the group pro1 (groupdel pro1) it shows the error: groupdel: cannot remove the primary group of user 'administrator' And when I create new user from AD server, the user's ...
0
votes
1answer
237 views

Changing the permission of utmp and wtmp

I would like to change the permission of /var/log/wtmp and /var/run/utmp to 660 so that users cannot gain more info about the system (in this case, the logged in users). Does this have any negative ...
1
vote
2answers
370 views

How are the various ulimit values for a process set?

How are the various ulimit values for a process set? I am especially interested in the number of open file descriptors. How is that set for a given process? If it is based on the user who started the ...
1
vote
1answer
86 views

New user home directory not recognized / accepted upon login

I can't log in to my home directory after user creation: I reinstalled my system fresh (Ubuntu 14.04.3). Created an admin user. Added my main user with adduser me. I get feedback along the lines: ...
31
votes
1answer
647 views

Restore man user

For some dislexic reason (or haven't slept enough) I typed deluser man instead of the more common man deluser ... as you can imagine, I just deleted man user! Never happened before... How can I ...
1
vote
1answer
168 views

What is Ubuntu's automatic UID generation behavior?

I'm interested in the case where a new user is generated and no UID is explicitly given, leaving Ubuntu to automatically assign a UID. I know that by default Ubuntu will generate a UID above 1000, ...
-1
votes
1answer
562 views

How do I install a software as admin for the standard user to use?

Background: I installed Ubuntu 14.04.2 LTS and would like to install and use Aptana (and Java). Google pointed me to the guide how to do this and i successfully did this under the initial Ubuntu ...
0
votes
0answers
20 views

Log In failure with different user accounts

My Ubuntu 14.04 is partitioned with administrator and guest user account. Whenever i log in with the administrator and inputs the correct password, there is a dialogue box which says, "System Program ...
1
vote
2answers
532 views

How do I restrict a specified SSH user to connect only from one IP or hostname?

I have a monitoring server that requires the SSH connection details of a non-sudo user account of each box it monitors. Is there a way that I can configure a specific user account such that it can ...