1
vote
1answer
207 views

How do I restrict created users to a directory and disable SSH for VSFTPD

I've been googling for my answers for a good few hours and I can't seem to get a direct answer to my questions. I have found many tutorials but many are vague. Anyways: I've recently setup VSFTPD on ...
0
votes
4answers
463 views

Disable CentOS users from everything but samba use.

I have a storage server running some samba shares. I need to create multiple users for each individual working at my company, but I only want them to be able to access samba from the client machines. ...
2
votes
2answers
2k views

Setting up user permissions for new user

I want to add a new user to my CentOS 6 server (let's call him Barry). I've made the user account Barry and added him to a group I created called webusers like this: groupadd webusers useradd -G ...
0
votes
2answers
1k 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 ...
2
votes
2answers
137 views

Allow developers to access command line on linux server

Is there a way to create a shell user for developers to login to the server and execute command line php scripts to see the output? They have to be restricted to a folder. In other words, I don't ...
-2
votes
1answer
131 views

mysql.user table corrupt even after re-install

I recently corrupted the mysql.user table in my mysql install on centos 5.6, so I removed the mysql and mysql-server packages and then removed /var/lib/mysql. Then, I re-installed mysql and ...
0
votes
3answers
725 views

Start ruby script at boot as particular user

wondering how I can have a ruby script started at boot, as a particular user. This is on centos, so I imagine i need to create a service. ?
5
votes
1answer
4k 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 ...
0
votes
3answers
300 views

How do I get MySQL to run at startup under user `mysql`?

I'm using MySQL on CentOS and I want it to run at startup under the mysql user. I tried /sbin/chkconfig --level 35 mysqld on from my cool-RR user, but it seems like this makes mysql try to run as ...