Questions tagged [users]

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

600 questions
232
votes
10 answers

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 people to pull to that repository, as well. The…
Andrey Fedorov
  • 2,049
  • 4
  • 16
  • 12
113
votes
2 answers

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 similar to those which are used in grant. In other…
Roman
  • 2,359
  • 9
  • 31
  • 32
108
votes
6 answers

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 User but I'm not sure about that. Can someone…
paulgreg
  • 4,064
  • 6
  • 30
  • 32
91
votes
8 answers

Show all users and their groups/vice versa

I know I have existing groups and users but I'm not sure about their association. Is there an shell command I can use to list all users or all groups and a command to list all groups/users for a specified user/group? So something like showusers…
Steve Robbins
  • 1,884
  • 4
  • 23
  • 26
62
votes
7 answers

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

Right now I use a powershell script to see the currently logged in users. But I don't see if their session is idle, active or inactive. I can see when the session was started, that's it. Is there an easy way to see how many users are currently…
44
votes
7 answers

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)?
Eric
  • 443
  • 1
  • 4
  • 4
43
votes
9 answers

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 asking where they want the file to go. They click…
Eli
  • 741
  • 1
  • 8
  • 16
37
votes
4 answers

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 command line and without sysinternals or third…
Andrija
  • 569
  • 2
  • 5
  • 9
32
votes
18 answers

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 need to have, etc. I thought about sending e-mails…
Chris Magnuson
  • 3,681
  • 9
  • 39
  • 45
30
votes
5 answers

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 to read directory 'root:shadow /etc/shadow' So I…
Michael Prescott
  • 635
  • 2
  • 9
  • 15
30
votes
4 answers

How to know all the users that can access a database (MySQL)?

How to know all the users that can access a database?
user79483
  • 351
  • 1
  • 6
  • 9
28
votes
5 answers

Adding an administrator user to SQL Server 2008

How do you add an administrator user to SQL Server 2008?
kokos
  • 389
  • 1
  • 5
  • 6
27
votes
12 answers

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?
Jakub Troszok
  • 449
  • 1
  • 5
  • 9
26
votes
8 answers

What should I do about a "misbehaving" user?

What should I do about this user? The user is: Downloading pornography Attempting unauthorized access Running hacking software Sending unsolicited email Installing software / tampering with the system etc This is intended as a generic answer for…
Tim Brigham
  • 15,347
  • 7
  • 68
  • 113
22
votes
4 answers

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 remove this user? Running CentOS 6.
Xen
  • 451
  • 1
  • 4
  • 16
1
2 3
39 40