Anything related with user accounts and user management on Unix-like systems.

learn more… | top users | synonyms

-2
votes
0answers
36 views

Longest/shortest Username in linux

I'm trying to configure a script that displays all the users on the computer, the groups they belong to, and the shortest/longest usernames. I have the first part set up with the users and groups but ...
2
votes
1answer
30 views

Difference between adding sudo user with adduser or gpasswd

To add a new sudo user I believe I can call: # to create a new user sudo adduser newusername and to allow this user to use sudo I can do: sudo adduser newusername sudo or sudo gpasswd -a ...
1
vote
2answers
61 views

How to show all registred users and their groups with one command?

I was writing a test on basic Unix commands etc, and there was a question show all registered users and their groups with one command. At the same time I can't use getent command.
3
votes
0answers
14 views

Where do I put my web services? [closed]

I'm administrating my server since a few year but I'm looking for good practice like: What is the best place web service like my wordpress website files? My etherpad-lite instance? Which user shall ...
0
votes
0answers
25 views

When does the “/mnt/username_home_dir” appear?

The problem I have to solve requires the access to the /mnt/username_home_dir directory, but there is no such directory present, despite me creating a user and auto-creation of his /home/username ...
8
votes
4answers
690 views

Why are there many accounts? I'm the only user

I am running an Ubuntu 12.04 desktop system. So far I have only installed some programs (I have sudo rights). When I check the list of users on the system, I see a long list, like more than 20 ...
2
votes
3answers
68 views

How to limit the number of active logins per user?

How can I limit the number of active logins per user? I've seen this on various servers before, and I was wondering how I could set this up myself. Perhaps in those cases, this was accomplished by ...
3
votes
3answers
61 views

How to add a user to a group in FreeBSD

How can I add an existing user to a group in FreeBSD? The command usermod does not work.
2
votes
4answers
272 views

Is there a way to show the history of the commands used in the shell?

If my Linux installation has three registered user accounts, is possible to check the history of the commands introduced by each one, and how?
0
votes
1answer
28 views

how to view failed login attempts?

I tried to view failed user login attempts since a specific time. But all methods I found by searching the internet does not work. I am using openSUSE 13.2. journalctl -a --no-pager ...
0
votes
1answer
36 views

Prompting for a password on sudo?

I'm creating users using Puppet. Here's the gist of what I'm doing in Puppet: user { 'ntkay': name => 'ntkay', uid => 10000, home => '/home/ntkay', managehome => true, ...
2
votes
0answers
39 views

Catch/diagnose user process being killed - Inexplicably logged out automatically

Context: I'm using bash in Mac OSX Yosemite. Problem: I'm executing a (python) script that I expect to use alot of resources and take a few hours to run, redirecting stdout and stderr to a log file. ...
2
votes
2answers
48 views

Any concerns with using high UID numbers (3000+) on RHEL5+?

The legacy systems has UID numbers up until the low 2000s. In implementing a new user management system, I am looking into options to avoid UID collisions. One option is to just have a list of UIDs ...
2
votes
1answer
33 views

Why am I seeing a number as owner / group instead a name?

CentOS 6.x / OpenVZ Recently my VPS provider moved my OpenVZ container to a new server. After that move, I've noticed that files/directories for one of my user accounts show an odd owner / group. ...
1
vote
2answers
39 views

dialout group missing

I have debian8, (Jessie) and I am trying to add a user to the dialout group. Alas, that group doesn't exist. I would prefer not to add the user to the root or sudo group. what should I do? ~$ ...
-2
votes
1answer
34 views

Print 25 usernames on the system starting in reverse alphabetic order. Print only the usernames,

how to Print 25 usernames on the system starting in reverse alphabetic order. Print only the usernames, nothing else. You should get the information from the /etc/passwd file.? in UNIX Command
-2
votes
2answers
41 views

How to Find the number of password entries that are on the server? in unix [closed]

Find the number of password entries that are on the server? in UNIX
3
votes
2answers
247 views

How to Find UID, GID, and any groups I belong to?

How to Find UID, GID, and any groups I belong to ?
2
votes
2answers
48 views

How does one permissibly access files on non-booted system's user's home folder?

I have a dual boot system with Mint 17.1 and Centos 6.6 I want to access a file in my CentOS user's home directory from Mint. (I cannot boot CentOS right now.) What is a clean/standard method for ...
0
votes
0answers
9 views

What's a good setup for a web server with limited developer accounts?

If possible, I want to avoid giving root access to developers. What would be the best directory/user/permission setup to make sure they can access the web server directories, but nothing else? Should ...
1
vote
1answer
35 views

Linux Create user with specials login options

Hello i need create some users with special privilegies that will be: A user that can only login with ssh, no local, it can do anything in pc search, find, etc like a normal user but only with ssh. ...
0
votes
1answer
25 views

Is there any way of knowing who [including remote users] can access a paticular file / folder?

In Windows you could enter file properties and see which users have an access to a patricular files. [Including remote users / groups that are part of your domain] In unix when you enter properties ...
1
vote
1answer
96 views

How to delete remaining files of removed user?

I know deleting user with userdel username can cause information leakage and other security issues (as tutorial book says, administrator should delete user with -r option). But i tried it to see what ...
1
vote
1answer
85 views

User created with different UID and GID

I'm creating a new user in my system, by calling: sudo useradd -m -G nas -s /bin/bash alf which supposedly should create a new user with the same UID and GID. However the passwd file is appended ...
1
vote
2answers
58 views

how to list users in a group and their passwords

How do I view a list of users in a specific group and their passwords or attributes? I know to use cut -d: -f1 /etc/passwd But this only lists users.
1
vote
1answer
31 views

which command will give complete user creation in RHEL?

I want to create a user in RHEL 6.5 and i have three commands (1)useradd (2)adduser (3)system-config-users which one will give the complete user creation.
1
vote
1answer
40 views

How to give user access to specific folder in home directory

I'm trying to set up a 'deploy' user on my VPS (running CentOS 6 and cPanel) which needs to have access to a specific folder from another home directory: /home/nazeem/public_html/staging. I've ...
2
votes
0answers
31 views

Is it possible to register “virtual” user/group IDs in a Linux system?

Is there a standardized mechanism in Linux which can be used to tie usernames to user IDs without actually creating a system account that can log in? It would seem something like this is possible, ...
1
vote
0answers
28 views

Linux user ssh connection disabled after execution of setfacl command

I have very little linux administration experience, after searching a lot stuff online, finally I decided that I must hope that someone helps. The problem is, I needed to share an account with a ...
3
votes
2answers
391 views

What is nobody nobody user and group?

On my server (Synology DS212) some files and folders have nobody nobody users and groups. What are the characteristics of this user and group? Who can write of read this file? How can I change it ? ...
2
votes
1answer
44 views

How to set up users, ownership and permissions across local and remote servers?

I've been learning the Linux OS over the last year or so and I am still very confused on how permissions vary from different configurations. I am trying to set up my local development environment and ...
-1
votes
2answers
57 views

Prevent autologin to the admin account

I am a new user of Linux. I have both window 7 and Ubuntu 14.04. For my family and friends, I make Guest account but when I restart my laptop and operates with Windows 7 then options are comes for ...
0
votes
1answer
47 views

Why does transmission adds a new user to the system?

When I installed transmission, I've seen here that I need to change the ownership of some groups to able this to work with my raspberry pi. First of all: why does transmission adds a new user to the ...
0
votes
3answers
74 views

Adding new user in Linux

I created a new user in Linux using useradd connectweb and I see the following in the /etc/passwd file connectweb:x:1002:1002::/home/connectweb:/bin/sh but when I try to navigate to the folder ...
0
votes
1answer
163 views

SCP without password prompt using different username [duplicate]

I have 2 servers, Server1 and Server2. On Server1 I have a user named user1. On Server2 I have the user named user2. I need to be able to write a script that runs on Server1, which will scp some ...
0
votes
1answer
16 views

What should file permissions be set to in order for an FTP editor to work?

I installed git on my server and cloned my development repository using the root user. The permissions appeared to have been set to: Files: -rw-r--r-- Directories: drwxr-xr-x I previously had ...
1
vote
3answers
64 views

Why is the home directory not created when I create a new user?

I created a new user (testuser) using the useradd command on an Ubuntu server Virtual machine. I would like to create a home directory for the user and also give them root provileges. However, when I ...
2
votes
1answer
38 views

Are there any user guaranteed to exist on the system

Beside the root (which I guess IS guaranteed), is there any other username guaranteed to exist on Unix system? Linux system? Fixed UIDs for those users? If not guaraneed, are there at least any ...
1
vote
0answers
74 views

Stop all processes by a user: children of supervisord are still running

I'm trying to delete a user but it keeps saying that user is currently used by process ID x I tried everything here and here, nothing works, how do I kill all the process by a certain user in order ...
3
votes
3answers
184 views

View list of users

I would like to see how many users are on my system. How could I view a list of all the users on the system?
1
vote
1answer
34 views

$USER not set ssh

On some of my debian wheezy servers there is a global variable $USER that contains the current logged in username and on some this variable is not set immediately at login. How do I set $USER so it ...
5
votes
1answer
112 views

When running 'su - username', pam_group doesn't add additional groups from /etc/security/group.conf but sshd login does?

I am having trouble determining why su doesn't behave as the PAM configuration would imply. In short, using su to become another user should load secondary groups according to PAM configuration, but ...
2
votes
4answers
71 views

How to find out which package a user belongs to?

In Linux distributions, some packages create user accounts. How can I determine which package created a given user? I want to know specifically for Fedora and Ubuntu, but answers for other ...
2
votes
4answers
307 views

Moving a directory from a user to another user, keeping the correct permissions

Let's suppose we have to users: alice and bob. Now Bob wants to move Alice's ~/Documents directory into his home folder. What's the best workflow to do that, updating the permissions (from Alice to ...
1
vote
0answers
22 views

How does autoconfig/autodiscover work?

I have a server with OpenLDAP/Kerberos authentication with 7 desktops/clients. Manually generating a new user and configuring a new profile (gnome, evolution mail accounts, evolution calendar/tasks ...
0
votes
1answer
36 views

Sudoers - group managing and reboot/shutdown

I've got a group (let's say name "group1", ID = 1234) and a user (let's say name "user1", ID="4321"). I want to do two things: I want that user to change passwords from other members of that group, ...
2
votes
1answer
70 views

Use current user environment variable in sudoers file

I want some of my users to be able to change their password with sudo command because at the time they log in, they are passwordless (ssh keys connection). My users have no password (and this is ...
0
votes
3answers
79 views

/etc/passwd permissions and GECOS field

The default permissions on Ubuntu (or even some BSD) distributions for the /etc/passwd file are 644. It is pointed out in questions like this that /etc/passwd is a sort of user database and it is ...
0
votes
1answer
15 views

Multiple users' access to directory

I'm running Arch Linux. My website's files are in /home/user/www/ directory. Another users also have their website's files in /home/foo/www/ directories. Now if I want to change something on their ...
1
vote
0answers
20 views

How to create a master user for creating default settings in production programs?

I am interested in creating a master user whose default program settings are inherited by later users, like a template user. I know this used to be done in multiple-user Unix terminal settings such ...