Questions tagged [users]

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

Filter by
Sorted by
Tagged with
239 votes
10 answers
303k 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 ...
Andrey Fedorov's user avatar
126 votes
3 answers
425k 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 ...
Roman's user avatar
  • 2,609
114 votes
6 answers
119k 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 ...
paulgreg's user avatar
  • 4,164
97 votes
8 answers
245k views

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 ...
Steve Robbins's user avatar
64 votes
7 answers
355k views

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 ...
RayofCommand's user avatar
  • 1,451
47 votes
8 answers
322k views

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 ...
Eric's user avatar
  • 473
43 votes
9 answers
10k 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 asking ...
Eli's user avatar
  • 741
38 votes
4 answers
426k 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 ...
Andrija's user avatar
  • 579
35 votes
4 answers
151k views

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

How to know all the users that can access a database?
user79483's user avatar
  • 411
33 votes
5 answers
48k 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 ...
Michael Prescott's user avatar
32 votes
18 answers
6k 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 ...
Chris Magnuson's user avatar
29 votes
13 answers
59k 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?
Jakub Troszok's user avatar
29 votes
5 answers
147k views

Adding an administrator user to SQL Server 2008

How do you add an administrator user to SQL Server 2008?
kokos's user avatar
  • 399
26 votes
8 answers
2k views

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 ...
Tim Brigham's user avatar
  • 15.6k
24 votes
1 answer
11k views

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 ...
ZZ9's user avatar
  • 918
23 votes
5 answers
43k 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?
user avatar
22 votes
4 answers
67k 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 ...
Xen's user avatar
  • 468
22 votes
4 answers
181k 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?
Alon Gubkin's user avatar
20 votes
2 answers
18k 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 directory....
steveyang's user avatar
  • 683
18 votes
3 answers
46k 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 run ...
The Pixel Developer's user avatar
17 votes
8 answers
56k 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. ...
Pistos's user avatar
  • 3,153
17 votes
4 answers
11k views

How to exclude some users from Linux Top screen?

In top screen, by default it shows all users' processes. How to exclude some users(for example, root and nobody) from the top real-time screen?
garconcn's user avatar
  • 2,418
16 votes
3 answers
161k views

List user's folder access permissions

I have a user in a domain who has access to multiple subfolders in multiple folders. His rights were defined pretty granularly. Now he's leaving the company but will continue to work for a firm as a ...
imagodei's user avatar
  • 499
16 votes
5 answers
22k 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, ...
duckworth's user avatar
  • 700
16 votes
1 answer
1k views

Check that a given user has a given privilege

Given a pair of a user and a privilege I need to determine if a user has 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 ...
Andrew Savinykh's user avatar
15 votes
5 answers
36k views

FTP doesn't allow /usr/sbin/nologin user

I want to setup a ftp for couple of ftp-only users with vsftpd. I configured the FTP to enable local user access. It works fine. But once I edit the users' shell to /usr/sbin/nologin, it couldn't log ...
steveyang's user avatar
  • 683
14 votes
2 answers
37k 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 to ...
saji89's user avatar
  • 255
14 votes
4 answers
12k views

How to use update-alternatives per user

Is there any way to use update-alternative "user wide" ? I mean that it would be great to set preferences per user. Does Debian provide some tools for that?
Maxime's user avatar
  • 251
14 votes
1 answer
7k views

Maximum number of users on Linux

What is the maximum number of users accounts I can have on Linux?
Fabian Jakobs's user avatar
14 votes
3 answers
18k views

What happens to a users files when I delete the user in linux?

Thats pretty much the question: I would like to know who owns the files belonging to a deleted user
alfish's user avatar
  • 3,147
14 votes
3 answers
651 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)?
Umber Ferrule's user avatar
13 votes
2 answers
2k 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 ...
Myforwik's user avatar
  • 261
13 votes
2 answers
80k views

User in Administrators group has not the same rights as Administrator (Win 2012 R2)

I have created a user admin and putted this user in the Administrators Groups (local, there is no AD). But This admin user has not the same rights as the Administrator user itself. Example 1: a file ...
Maarten's user avatar
  • 131
13 votes
6 answers
53k views

Nagios - new user doesn't get enabled permissions

I follow simple steps from guides all over the web: a) add an user to Nagios via command htpasswd htpasswd.users username b) in cgi.cfg file add this user to lines: ...
Jakub Turcovsky's user avatar
13 votes
2 answers
7k 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 ...
drumfire's user avatar
  • 1,709
13 votes
4 answers
27k 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 ...
ambiguousmouse's user avatar
11 votes
3 answers
50k views

How to create user "nginx"?

Im just installed nginx from source but when run /etc/init.d/php_cgi start, there is a message:Starting php-cgi: spawn-fcgi: can't find user name nginx ...one more I dont know about their permission....
user avatar
11 votes
5 answers
69k 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
Eslam's user avatar
  • 111
11 votes
2 answers
15k 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 ...
valk's user avatar
  • 507
11 votes
2 answers
566 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 best-...
ewwhite's user avatar
  • 198k
10 votes
4 answers
29k views

How to create extra root user? [closed]

I have tried making a root2 user which should have the same permissions as root by doing useradd -g root root2 passwd root2 usermod -G root root2 usermod -aG wheel root2 but root2 can still not cat /...
Jasmine Lognnes's user avatar
10 votes
2 answers
11k views

Run as different user

On a RedHat system, i'm trying to launch a program with a different user who dont have any shell. In /etc/passwd, shell is /sbin/nologin. I have tried: su myuser -c /home/myuser/script.sh Result: ...
Karl's user avatar
  • 103
10 votes
4 answers
60k views

How do I specify NetworkService or LocalService for a Windows Service on a Domain Controller?

This question is a not duplicate of these existing questions: AUTHORITY\NetworkService does not exist (question is for Windows Server 2003 How can I run a process as "NT Authority\NetworkService&...
Dai's user avatar
  • 2,289
9 votes
2 answers
21k views

How to enable ssh access without public/private keys?

I am building a progressive cyber challenge for my club members (the challenges work), but what I was trying to do to make the progressive part is have each challenge reveal the password for the next ...
AJ Henley's user avatar
  • 103
8 votes
4 answers
16k 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 ...
user379468's user avatar
8 votes
2 answers
300 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 ...
P P's user avatar
  • 81
8 votes
5 answers
396 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
1 answer
101k views

What Command(s) List a User's System Permissions in Linux?

QUESTION: What Command(s) List a User's System Permissions in Linux? CURRENT_OS: CentOS-5.X MORE_INFO/QUESTIONS: Looking for commands that will NOT be seen as aggressive or change the system, ...
blunders's user avatar
  • 833
7 votes
4 answers
771 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 :)
Lucas Kauffman's user avatar
7 votes
2 answers
11k 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 ...
PJ.'s user avatar
  • 3,027

1
2 3 4 5
13