Humans using a system. They try to break everything. Always handle with caution. Expect the unexpected.
Questions tagged [users]
605 questions
8
votes
2 answers
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 be a severely locked down user. Only able to see…

P P
- 81
- 1
8
votes
1 answer
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, meaning that I attempt to change the system OR access…

blunders
- 813
- 7
- 14
- 30
8
votes
5 answers
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 awareness simply doesn't work.
I'm thinking of new…

chmeee
- 7,370
- 3
- 30
- 43
7
votes
3 answers
top is only showing current user processes
Recently got a dedicated server running CentOS 6.7, we have ran updates and noticed that top is only showing processes for the current user.
[myuser@server2 ~]$ top -b -n1
top - 20:19:20 up 1 day, 10:09, 3 users, load average: 0.80, 0.50,…

Linx
- 398
- 4
- 10
7
votes
6 answers
The opposite of su: run a command without root privileges
I'm writing a shell script where most commands don't require root privileges.
The script should be ran by the administrator. But I would like to be able to "su" to a normal user account for the parts of the scripts that don't require root…

John Smith Optional
- 502
- 2
- 9
- 18
7
votes
3 answers
How can i create a user with password in EC2 instance?
I have an EC2 instance on which i have set up a Git server. Now to access this server from eclipse plugin outside, i need a username/password for an instance user.
All i can see is that i have user but a ssh key file/ppk file using which i can…

Finn
- 209
- 1
- 2
- 5
7
votes
4 answers
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
- 16,880
- 9
- 58
- 93
7
votes
4 answers
How do I grant full permissions to a user with mysql?
How do I grant full permissions to a mysql user? Im running MySQL 5.1 on Redhat. I tried using cpanel, but when I use jet profiler it says I do not have full permissions.
I am not too good with ssh, so please be detailed.

jigs
- 91
- 1
- 1
- 2
7
votes
1 answer
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 server administered via webmin.

redknight
- 857
- 3
- 9
- 13
7
votes
2 answers
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 don't want to run everything under root…

user38484
- 313
- 2
- 5
- 10
7
votes
2 answers
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 path for a normal user, but for 'root', the command…

PJ.
- 3,017
- 5
- 21
- 15
6
votes
4 answers
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.

Keng
- 475
- 3
- 6
- 10
6
votes
3 answers
What user account should we use for scheduled tasks on a server with sensitive material?
I'm working in a team with 10 developers. We have servers set up which performs backup, automated build of software, automated deployment and more. Some of these servers contains sensentive material, such as login details to production systems…

nitramk
- 203
- 1
- 3
- 6
6
votes
3 answers
using screen in another user with su
So, if i do this:
su -c 'screen -dmS screenname script to run' - user to run as
It won't work. The screen command is working if excecuted from root, so there is no problem there.
If I do:
su - user
screen
I get:
Cannot open your terminal…

totokaka
- 202
- 2
- 8
6
votes
1 answer
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 rw-r--r--, the ownership of that directory is…

tarnfeld
- 471
- 2
- 7
- 13