1
vote
0answers
46 views

Limit size using Quota per file for a user

I am working on a linux machine . i have a user name dave. i want to implement quota on /home/dave . that dave could not create more than 2 MB file in this main directory. user can create any sub ...
1
vote
1answer
86 views

Which way is more secure: apache:admin or folder group owner:apache?

I have been learning in recent days how to set up var/www/ permissions. I understand the common solution is set a group owner of all new folders to apache via sticky bit. How about giving the Apache ...
1
vote
2answers
131 views

How can I allow users to change their local passwords?

We use an LDAP-server, but we also use local accounts. [jdoe@tst-03 ~]$ passwd Changing password for user jdoe. Changing password for jdoe. (current) UNIX password: Enter login(LDAP) password: This ...
2
votes
3answers
237 views

libvirtd: kvm: User Permissions Centos 6

I need to have user access control over how they can use the Virtual machines and what they can do via Virsh on a KVM based hypervisor. So far what I learned from http://wiki.libvirt.org is that I ...
2
votes
1answer
149 views

Puppet - groupid (gid) for mysql group differs between prod and dev

I just puppetized mysql and ran into a weird issue where the gid for the mysql group on dev differs from production. Apparently on production I have a user that doesn't exist on the dev environment ...
2
votes
2answers
182 views

FTP user on CentOS with '@' symbol in username

Our previous web server was Windows based, and it hosted multiple domains. As a result, if a user with name "username" wanted to log in via FTP to "example.com", they'd provide their username as ...
1
vote
2answers
389 views

Copying file from one user to another with PHP

I'm sure the answer to this is pretty simple, and it might not be PHP-specific, but I'm trying to use PHP's copy() function to copy an image from one user to another as part of a custom CMS setup. ...
0
votes
4answers
155 views

New administration user's $PATH seriously differs from the root's

I'm administering a rented CentOS 5.6 Dedicated Machine as root like initially setup but I'm aware it's extremely bad practise, so I created an User named administrator, placed into groups ...
1
vote
1answer
849 views

How can I make a user and give read only access?

I need to give SSH read only access to a certain directory so they can look at my PHP code. The directory is /var/www/html/websitenamehere/ How can I make a user and let them login via SSH to see ...
1
vote
1answer
672 views

'Permission denied' when attempting to access mailbox

I created a new user through useradd <username> -M and added them to the virtusertable and generic-domains When I log into the new user though, when I try mail, I get the error ...
0
votes
2answers
1k views

How do I make a new user with the same permissions as an existing user? In particular for CentOS

Exactly as the question title. I have an existing user, and I basically want to clone it for a new user. Is there a particularly easy way to do this? Think I make a group with that user's ...
1
vote
1answer
2k views

vsftp give user only access to a certain folder

I use CentOS 5.5 and I installed vsftp. I created a user "myUser" and every time I use Filezilla and log with this user I get directed to the users home-folder, but still have access to pretty much ...
0
votes
1answer
63 views

Isolating a new user to a specified directory (CentOS 5.3)

Basically, I'm running this command: useradd -d /var/www/website.com/Pirate -ou 10003 -g psacln -s /bin/bash Pirate I want the user, Pirate, to only have access to /var/www/website.com/* in order to ...
0
votes
4answers
3k views

useradd with 755 permissions

I d like to set the home directories permissions as 755 when i add the user via useradd. How can i do this? Thanks.