Questions about managing the UNIX users, groups and permissions.

learn more… | top users | synonyms

0
votes
0answers
13 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 ...
2
votes
0answers
18 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
27 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
62 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
36 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
29 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
69 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
24 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
13 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. ...
0
votes
1answer
484 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
22 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 ...
0
votes
0answers
8 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
542 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
32 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
41 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
30 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
41 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
29 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
79 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
289 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
58 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
12 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, ...
5
votes
1answer
109 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
65 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 ...
3
votes
1answer
51 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
56 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
151 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
33 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
174 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
309 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
76 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
641 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
105 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
460 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
358 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 ...
0
votes
0answers
41 views

How To Hide Drive From User Account In Ubuntu 14.04LTS

I am new to Linux and this is my very first question here. I have installed Ubuntu 14.04.2 LTS. I have three HDD, in one Ubuntu reside. I have created two user account in Ubuntu. I want to hide one ...
0
votes
0answers
19 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 ...
1
vote
2answers
286 views

How to use sudo from a standard user?

If I try using sudo as a non-privileged user, I get a message that the user is not in the sudoers file. I know the Administrator password, but I do not know, how to use it from a non-privileged ...
0
votes
1answer
53 views

How to add a member to my group with a permission to change my files?

Sometimes I use my CPU as a root user, but mostly as a non-privileged user. As a non-privileged user I also need to change files created by the root user.
0
votes
1answer
313 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 ...
2
votes
6answers
1k 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?
0
votes
1answer
498 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 ...
0
votes
1answer
348 views

Unable to create and delete an user account in the PC

When I try to create a new user account with command sudo adduser test-ser, I receive this error: sudo adduser test-user Adding user test-user ... Adding new group test-user (1069) ... Adding ...
2
votes
1answer
640 views

How to make a batch file add users to groups?

I need help with a GCSE project, I'm stuck on the last question. It asks for a bash script to create users, and then assign them to groups. I've already made the script add new users, but I'm unsure ...
0
votes
2answers
38 views

Administrators can change passwords of other administrators

I seems that a user set as an "Administrator" can change passwords of not only "Standard" users, but also other administrators. Is there a way to make it so that administrators (there are multiple on ...