Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.

learn more… | top users | synonyms (1)

112
votes
8answers
130k views

How do I share a Git repository with multiple users on a machine?

I have a Git repository on a staging server which multiple developers need to be able to pull to. git-init seems to have a flag very close to what I'm looking for: --shared, except I'd like multiple ...
49
votes
6answers
33k views

Where can I find data stored by a Windows Service running as “Local System Account”?

I'm using a service which stores data on disk. The service is running as "local system account". Where is the stored data for that system user? I'm thinking about C:\Documents and Settings\Default ...
38
votes
9answers
7k views

People think a “hidden” save file dialog box means the computer is frozen

I have had reports of my remote workstation freezing for several months, and it turns out that this is happening: User goes to print something to PDF (or save it). The file dialog box comes up ...
30
votes
18answers
4k views

What is the best way to address users storing and streaming music within your company?

We have a number of users who have MP3s in their home directories which are stored on our centralized file server. This has a negative affect on how long our backups take, how much drives space we ...
28
votes
4answers
199k views

How to check who is currently logged on to windows workstation from command line?

Environment is in domain, server is Windows Server 2003, workstations have Vista and XP installed. I need the way to check remotely who is currently logged on workstation, preferably from some simple ...
21
votes
2answers
57k views

How can I show user's privileges in MySQL?

I know that I can set user's privileges in the following simple way: grant all on [database name].[table name] to [user name]@[host name]; But how can I see existing privileges? I need to see data ...
20
votes
4answers
79k views

Adding an administrator user to SQL Server 2008

How do you add an administrator user to SQL Server 2008?
17
votes
5answers
67k views

How do I list all users with root?

On a linux box, how do I list all users that have root priveleges (and even better, all users in general along with if they have root or not)?
17
votes
4answers
16k views

Is a reboot required to refresh permissions after adding a user to a new group?

On ubuntu server, I've noticed more than once now that after adding a user to a group that user doesn't have group permissions until I reboot the system. For example: User 'hudson' needs permission ...
14
votes
12answers
19k views

Memory usage per user in Linux?

Let's say i have 20 users logged on my linux box. How can I know how much memory each of them is using?
14
votes
3answers
398 views

In Linux, is there a way of seeing which user updated a file?

Does Linux record who last changed a file (rather than created it)? If so, how do I find this out? If not, is there some way of monitoring file(s)?
13
votes
3answers
720 views

Which MySQL users are necessary?

My MySQL server has a number of strange users which I did not add. Are these all necessary? 'root'@'127.0.0.1' 'root'@'localhost' 'root'@'SERVERNAME' 'root'@'::1' ''@'SERVERNAME' ''@'LOCALHOST' If ...
13
votes
5answers
15k views

How do I change the default location for a users home directory in Vista?

I would like to move the default location of my c:\Users\USERNAME to another drive. What is the easiest way to do this and how? I know that I can move each of my "Special Folders" like Documents, ...
13
votes
4answers
41k views

How can I set full premissions to a user in a specified dir?

How can I set full permissions to a user in a specified dir in linux?
12
votes
5answers
21k views

Difference between profile and home path

What's the difference between a user's home path and their profile path in Windows Server 2003?
12
votes
3answers
21k views

What User Should NGinx and PHP be running as?

Permissions are something that have confused for me a while with Linux. So at the minute both my NGinx and PHP-FPM instances are running with the user and group : www-data Is this standard? I ...
12
votes
2answers
5k views

Puppet: how to create and manage unix users and groups

This last week I spent all effort into learning Puppet. Now I suffer from a mental buffer overflow and little confidence of ever being able to tame this beast. I came across many annotated examples ...
11
votes
2answers
424 views

Outlook Email Abuse - Guide for email etiquette?

I've spent a lot of time performing mail migrations for companies that either had very little IT focus, or no fulltime staff to handle common issues. As a result, policies governing email use and ...
10
votes
2answers
27k views

Unable to remove user: “user is currently logged in”

When trying to remove the user, it returns "user is currently logged in". I already killed the user using pkill -KILL -u usernameHere and several other commands, but it does not help. How can I ...
8
votes
2answers
262 views

Special SSH Configuration

At the moment in my sshd_config I have it set so that passwords cannot be used and only keys can be used to login. I need to enable passwords for one user. This user is yet to be created and has to ...
8
votes
5answers
311 views

Modern security awareness campaigns

I'm looking for different ways to do security awareness for 'normal' users. As they usually have not much attention span and not a single bit of interest on the subject, they usual formal means of ...
8
votes
3answers
13k views

Allow scp/ssh for www-data user

I am on Amazon EC2 using Ubuntu 10.04.2 My web folder is owned by www-data so I want to be able to log into my server as www-data for ssh and scp. Thanks! Adding the line to my /etc/ssh/sshd_config ...
7
votes
1answer
14k views

How to view connected users to open vpn server?

I'm developing a web site for managing open vpn users with django framework. But I need to now is there any way to extract active users from open vpn? My server is running Ubuntu 12.04.
7
votes
2answers
36k 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 ...
6
votes
4answers
466 views

How to know what user belongs to what ip on debian

is there a way to get an overview of users logged in on my server and the ip they are connecting from ? I have the IP already, I want the user that is associated with it :)
6
votes
2answers
4k views

What is the difference between `su` and `su -` in CentOS?

I tried to switch to 'root' in CentOS by running su. It does change to 'root', but it doesn't seem to be a real 'root' user. For example, by default, ifconfig command in /sbin is not found in the ...
6
votes
6answers
10k views

How do I find all files and directories writable by a specific user?

Under Linux, how can I find all the files and directories that are writable (or, actually, not writable) by a particular user? Edit: To clarify, I meant under a particular subdir, not systemwide. ...
6
votes
1answer
5k views

How can I limit the login times in linux for certain users?

How can I limit the login times in linux for certain users? For example I have to a user that only needs to be enabled from 8am till 5pm? Is there a way of automating this. My environment is a Centos ...
6
votes
1answer
380 views

Centralize authentication and user's home folder

We have about 7 Linux servers and from time to time we setup a new one... For each new install we have to create the same users and ask them to change their default passwords to new ones ... Plus for ...
6
votes
1answer
189 views

Directory with read and write for a user is permission denied, but fine with execute permissions

I have some weirdness with my users/permissions. I currently have a user named world that has the groups world www-data admin. I have a directory at /var/abc which has the permissions 0644 or ...
6
votes
2answers
25k views

Debian: how to create a user with root privileges (sudo)

How do I create a user with root privileges in Debian? Maybe it sounds a bit silly, but I don't think I need user directories, only some rights to run services (mainly web server, mysql, etc.). I just ...
5
votes
5answers
2k views

Users vs. Active Directory Users

What's the difference between users and active directory users in Windows Small Business Server 2003? Which should I use to manage user accounts under which circumstances?
5
votes
1answer
1k views

Maximum number of users on Linux

What is the maximum number of users accounts I can have on Linux?
5
votes
1answer
4k views

In what condition, should I create a system user instead of a normal user?

From the adduser command, I saw the option --system to create a system user. A system user will use /bin/false and by default belong to nogroup. It also won't copy the /etc/skel to the home ...
5
votes
1answer
7k views

Ubuntu 11.04, adduser myuser: admin group is missing

Hi I'm trying to add myuser to sudoers after a fresh install with root account, # adduser myuser admin which gives: adduser: the group `admin' does not exist. however this works: # adduser ...
5
votes
1answer
1k views

Should the 'nobody' user on my headless Ubuntu server have shell access?

I've read conflicting stuff on a few forums etc. regarding this. When I enter the following line: grep nobody /etc/passwd I get the following output ...
5
votes
1answer
763 views

What happens when you uninstall a per-user installation?

What happens if an MSI installation is set to install as per-user, and 3 different users log on and each install the app? Will Windows Installer recognise that the same MSI has already been installed ...
5
votes
1answer
248 views

Using UTF-8 in the /etc/passwd file. Any known issues?

I was recently asked to modify the GECOS field in the passwd file for a certain user so that it will contain his name with his original accented characters. My first was reaction was "sure, why not?" ...
5
votes
1answer
454 views

RemoteApp: Logging in as user x disconnects user y

I'm having a pretty bizarre problem with a Terminal Services server used for RemoteApp. In our network the server works as it should, but at a client's office if two users log in simultaneously, the ...
5
votes
1answer
3k views

How do I config postfix to use multiple google apps user accounts?

I have a postfix installation and have setup relaying through google apps, but when I send mail to postfix it relays it to google apps using the ONE account I have specified in the main.cf. Is there ...
5
votes
0answers
176 views

Check that a given user has a given priviledge

Given a pair of a user and a privilege I need to determine if a user have the privilege on the server. The following is true in my setup: The server is a part of a domain but not a domain controller ...
4
votes
3answers
966 views

Can I sudo a command on behalf of another user?

I'm using drupal and Aegir. Aegir automates many tasks of site creation. Aegir has control of Apache, I'm logen in as root, and I want to restart the Apache server, but I want to do it on Aegirs ...
4
votes
2answers
652 views

restrict ssh to run commands for some users

I have a machine where only some users should be allowed to login and execute commands over ssh, rest all users can ssh and run commands but should not login i.e no tty for other users. Can someone ...
4
votes
6answers
3k views

SVN limitations - Number of users and repositories?

I would like to know if SVN has a specified limitations of how many users and repositories it can sustain? Thank you.
4
votes
2answers
7k views

How to set postgresql user password in bash script

I want to set a password for the default Postgresql server user, postgres. I did it by using: sudo -u postgres psql # \password postgres I want to do this step in many machines, so I would like ...
4
votes
3answers
1k views

How much network overhead (and file locking issues) can I expect for 25-50 users on a Visual FoxPro 9 ERP DB via SMB/CIFS?

Alternate question title: How can I translate “This software gives me the creeps” to a business case to upper management for not buying it? I am the IT Department for a small company which has ...
4
votes
5answers
21k views

How to add a domain user to the local admin group remotely?

I need to add a domain user in the local administrator group remotly and I have to the local admin password
4
votes
6answers
2k views

Powershell assistance for Active Directory Cleanup

I just started a contract to clean up an Active Directory system for a large company. I was told it would be quite the busy work but after reviewing the system and seeing how disorganized and messy it ...
4
votes
4answers
573 views

List users in all specified unix groups

Is there an easy way to get a list of users who are in all specified groups? For example, if I have the following users: fred - rainbow, dell jane - hp zippy - rainbow, hp, dell george - hp, dell ...
4
votes
4answers
8k views

How do I tell if a certain AD user has admin rights on Windows Server 2003?

How do I tell if a certain AD user has admin rights on a Server 2003 box? I'm using Enterprise Edition.