Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.
Questions tagged [users]
611 questions
241
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,139
135
votes
3 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,739
- 10
- 34
- 33
119
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,214
105
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
- 2,032
65
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…
RayofCommand
- 1,491
- 8
- 26
- 37
49
votes
8 answers
How do I list all superusers?
On a linux box, how do I list all users that possess identical privilege to the superuser (and even better, all users in general along with if they are able to escalate their privilege to that level or not)?
Eric
- 493
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
39
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
- 589
37
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
- 431
33
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
- 687
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,891
30
votes
13 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
- 479
29
votes
5 answers
Adding an administrator user to SQL Server 2008
How do you add an administrator user to SQL Server 2008?
kokos
- 399
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,655
25
votes
1 answer
Usermod -aG vs gpasswd -a as a best practice
I am aware that usermod -g is not best practice from many posts like this however they normally explain the usermod should not be used as it changes the primary group of a user. These posts don't seem to take into account the -aG switch which just…
ZZ9
- 936