Practices and procedures aimed at performing bulk and/or fine-grained operations on user accounts, permissions, allocated resources.

learn more… | top users | synonyms

4
votes
1answer
9k views

PowerShell - Finding all of users' group memberships and kicking it out of them

as title says, I have to find all the groups that the user is a member of, and deleting its membership from all of them. I've tried this: get-adgroup -filter * | where {(Get-ADGroupMember $_ | ...
2
votes
2answers
7k views

PowerShell - Limit the search to only one OU

Ive got this cmdlet and I'd like to limit the results to only one OU: Get-ADUser -Filter {(Enabled -eq $false)} | ? { ($_.distinguishedname -notlike '*Disabled Users*') } Now Ive tried to use ...
3
votes
3answers
4k views

PowerShell script that should find disabled users that are not in a specific OU outputs users from that OU as well

Hey I've got this cmdlet here: Get-ADUser -filter {(distinguishedName -notlike "Disabled Users") -and (enabled -eq $false)} -searchBase "ou=FirstOU,dc=domain,dc=com" I've built it to find disabled ...
0
votes
1answer
34 views

Powershell waiting for more parameters when asking for all users from a specific OU?

I want to get all the users from OU "myusers" so I have this cmdlet right here: get-aduser -filter * -searchbase"ou=myusers,dc=domain,dc=com" But when Im running it, powershell prints a >> ...
0
votes
1answer
39 views

What account should own the files on a shared ubuntu webserver? [duplicate]

I have multiple users with FTP access to my ubuntu server, each running their own website. Apache is running as default after installed through apt-get. I believe www-data is the apache user. If the ...
-1
votes
2answers
75 views

Count of Unix users: how many is too much? [closed]

I know about Postfix MTA configuration concepts: there's tree of them and the last one is most-appropriate only because it doesn't require new Unix user to be created for new mailbox creation. From ...
1
vote
0answers
54 views

Can end user using Forefront Identity Manager to leave security group?

In our company, users logon their desktop with AD and access Sharepoint using Windows authentication. Our users frequency changing teams. After they changed team, their access to old Sharepoint team ...
3
votes
2answers
13k views

What's the best way to see logged in users on Windows Server 2012?

Right now I use a powershell script to see the currently logged in users. But I don't see if there session is idle, active or inactive. I can see when the session was started but that's it. Is there a ...
1
vote
0answers
83 views

Set git config for a group instead of user or systemwide

We have configured git config --system init.templatedir /path/ on our system to automatically create required githooks for each new repository created via git init. However, there is another group of ...
3
votes
1answer
17k views

How to disable user's password via puppet securely?

I have my SSH servers setup to use only Public Key authentication with password authentication disabled. When adding users through puppet I would like to disable user passwords. So far I have came ...
1
vote
1answer
47 views

Lock user account and still be able to log in through ssh public key?

is it possible to have a user account in Linux that can only login through its SSH public key? I thought to simply do sudo passwd -l myuser and lock the account (so I don't need to generate some ...
0
votes
1answer
125 views

How do I apply NTFS permissions to protect user profiles?

I want to set NTFS permissions on a users home directory so that one user cannot access another users home directory. How do I go about doing that? I need to be able to apply this to hundreds of users ...
6
votes
1answer
443 views

Providing normal users(non-root) with initialization and shutdown auto-run capabilities

I'm hosting an experimental/testing Linux box, running Debian Wheezy 7.4.0 distribution. Different users log into the machine over ssh to their accounts and are allowed to run the development tools ...
-1
votes
1answer
459 views

User authentication; PAM or Radius? [closed]

At college I'm part of a group of students that keep a server infrastructure running for the students. Lately we've been having a lot of trouble with the servers, and we decided that it's probably ...
1
vote
1answer
44 views

Where does adduser's Directory Information Go?

When I use the command adduser it asks me for all sorts of directory-like information such as: Full Name Room Number Work Phone etc. Where is this information stored and how does one retrieve or ...
5
votes
2answers
415 views

Issues With Printer GPO

I have a Windows Server 2008 R2 print server. The client machines are Windows 7 Professional. I am having issues with user accounts not getting the printer added when they login. Things that I have ...
2
votes
2answers
211 views

Account name changes

The way we currently handle account name changes is quite cumbersome and wondering if there is an easier way to go about things. Name change request comes through and we create a new AD account, ...
0
votes
1answer
54 views

Script to apply Simple Finder restrictions to Mac OS X user?

Is it possible to script (e.g. with AppleScript or bash shell script) applying the Simple Finder and an associated application whitelist to a local user account on Mac OS X? We are using Mac OS X ...
2
votes
1answer
206 views

Share Ruby Programs between Linux users

Our Linux (Mint) system has 2 admin users - mint & admin. What do we need to do for admin & mint to be able to share gems? Mint has chef, berkshelf & knife-ec2 installed via bundler in ...
3
votes
1answer
2k views

When does password expire when unchecking “Password never expires”

On a Windows Server 2008 R2 AD, if you uncheck the account option "Password never expires" on a User Account, does the password expire instantly, or does it get set to the period defined in the ...
2
votes
2answers
1k views

How do you tell if a user is “allowed to log in” on Linux?

The question is simple, I want to list all the user accounts which can log in to my system, but I'm not sure if that all the users in /etc/passwd are "could login" users? Details: I can see users ...
16
votes
3answers
17k views

Force authenticated user immediate logoff (emergency case)

In Active Directory if you want to prevent a user from logging in you can either disable their account or simply reset their password. However, if you have a user who is already logged in to a ...
1
vote
1answer
185 views

How can I either through vbscript or GPO push a Windows 7 Logon Screen to all my users

I know how to change the login screen, it's easy. But I would like to figure out a way to do it through GPO or login script. I have tried running the script as the computer start-up script as well as ...
0
votes
3answers
1k views

deny local logon for a new user through command line windows server 2008

I am creating a local user account that I want to be able to connect over ftp, but not log on to the server, I believe the way to do this is to deny local logon but am unsure how to achieve this via ...
1
vote
1answer
194 views

command to add permissions to a folder for a local user in windows server 2008

as part of an installer I need to create a user with limited permissions to add the user I will use net user "<username>" <password> /add /fullname:"<username>" I now need to ...
0
votes
2answers
114 views

Should I set the password when creating new user using useradd command?

I know that when creating a new user by useradd, I could set his password by -p option, but it seems insecure, then what the right way to create a user and set his password? I do this in two steps: ...
0
votes
0answers
33 views

NFS-mounting utmp

I've got a Slackware Linux cluster I'm planning on using for general-purpose shell accounts. Accounts are managed such that there are no UID or username conflicts among nodes. Given this, would ...
1
vote
0answers
54 views

Limit size using Quota per file for a user

I am working on a linux machine . i have a user name dave. i want to implement quota on /home/dave . that dave could not create more than 2 MB file in this main directory. user can create any sub ...
4
votes
0answers
127 views

solaris : useradd does not work but has exit code 0 [closed]

One of my Solaris 10 servers will not add new users. Existing users are able to log in. The useradd command appears to work normally but it does not add the user. I checked my other Solaris servers ...
5
votes
1answer
62 views

Multi-user bzr server

I'm currently investigating whether it is possible to serve bzr in a setup similar to what gitolite does for git. This means a single unix account, with different users managed via their ssh public ...
0
votes
1answer
31 views

Is there a decent way to manage accounts across disparate web services?

I'm in the position of needing to manage the accounts of multiple people across many different types of services, including onboarding and offboarding users. Being that we're using multiple different ...
1
vote
1answer
585 views

Access secured windows folder with java on a linux server

We're trying to mount a secured windows share on a linux server, but until now we're unable to do so. This is the setup we're having: A linux server that runs a java application A windows share that ...
2
votes
3answers
558 views

How to handle centralized user authentication without LDAP?

I'm attempting to create a centralized database for my users for my server and web accesses, so that I can allow those users to log in through ssh if they have access, and through my web services to ...
1
vote
3answers
38 views

vSphere: change users on virtual machine

Is there any way to affect user accounts an a virtual machine, directly from vSphere Client? Let's say I have a virtual Ubuntu machine and I'm not able to log in onto this machine. Can I somehow use ...
2
votes
1answer
3k views

Limit number of concurrent user logins in Windows Server 2008 Active Directory

Is there the possibility to limit Active Directory users' max concurrent login sessions? I've read many articles and discussions about the solution, but none of them seem to be working. Many had ...
9
votes
1answer
1k views

Simple, centralized user management on a small LAN - NIS or LDAP?

I'm setting up a small LAN for my team. It will, for all intents and purposes, not be connected to any external networks. I would it to have centralized control of user accounts (at least, I think I'd ...
1
vote
1answer
108 views

How to inactive Active Directory users, 1 month after their FIRST LOGIN, instead of defining a solid expiration date

We want to give access to some Active Directory users, so they can remotely have access to our server and download from a special folder of the server. The licenses we give to users, are time base. ...
1
vote
1answer
116 views

Is using Capistrano for user maintenance tasks on university lab feasible?

I've been looking around for tools to replace some legacy scripts for creating and maintaining accounts in a university computer lab ecosystem consisting of things like: LDAP and Kerberos for ...
0
votes
1answer
92 views

How to inactive windows users, 1 month after their FIRST LOGIN, instead of defining a solid expiration date for them

We want to give access to some Windows Server users so they can remotely have access to our server and download from a special folder of the server. The licenses we give to users, are time base. ...
1
vote
1answer
110 views

Using Kerberos only for SSO

I've installed Kerberos on the Debian machine that hosts an internal application, to be able to use it to authenticate users against our AD. This works. However, Kerberos seems to feel responsible ...
4
votes
1answer
327 views

Should I manage Linux Groups in LDAP on a per machine basis?

I am currently running an OpenLDAP Server managing my Linux Users as posixaccount and posixgroup elements like so: dn: cn=shellinger,ou=groups,dc=company,dc=com cn: shellinger gidNumber: 5001 ...
0
votes
1answer
845 views

Audit of who ran what command via ssh with shared account

We use shared accounts on our servers. Each uses a different ssh key. Is there a way to create an audit trail of who ran what commands? We can distinguish real "users" by the ssh key used.
1
vote
1answer
92 views

Which way is more secure: apache:admin or folder group owner:apache?

I have been learning in recent days how to set up var/www/ permissions. I understand the common solution is set a group owner of all new folders to apache via sticky bit. How about giving the Apache ...
1
vote
1answer
73 views

user and groups for LAMP

I have written a script that installs a LAMP environment and a few other helpful programs. All of this has been installed under root. I would now like to create a new user called webmaster that will ...
0
votes
1answer
1k views

CentOS 6 restrict user ssh access to his home folder

I am trying to restrict a newly added user to his homedir /home/username. Don't want him to be able to cd out of it. I have this my sshd_config: Match User username ChrootDirectory %h ...
3
votes
2answers
107 views

How to set permissions to use 'ls'

I have a folder (which is owned by another user but the same group) and I want to view it's contents, but I always get the following error message: "ls: cannot open directory .: Permission denied" ...
2
votes
3answers
655 views

Replace gitolite3 user with git

I am installing gitolite3 on a server, with ssh and http pulling/pushing/alltherest. During the process, a user and group gitolite3 is created. When I run: $ ssh gitolite3@server info I get the ...
0
votes
0answers
48 views

Handling user state across servers

I have two servers running Apache for the same domain name. Server A runs most of the web site (www.domain.com), except for one sub-directory (www.domain.com/photos/) that is set up as an HTTP proxy ...
1
vote
2answers
280 views

How can I allow users to change their local passwords?

We use an LDAP-server, but we also use local accounts. [jdoe@tst-03 ~]$ passwd Changing password for user jdoe. Changing password for jdoe. (current) UNIX password: Enter login(LDAP) password: This ...
0
votes
1answer
34 views

Custom user and custom permission on Linux

I've this need, I have to install ubuntu on a machine for a specific purpose, and I have to create a particular locked user account. On startup i need to display the login box (so I have to admin the ...