I’m using below command to transfer files cross server scp -rc blowfish /source/directory/* firstname.lastname@example.org:/destination/directory Is there a way to transfer only files modified files just like update command for cp? Asked by Jae Choi rsync is your friend. rsync -ru /source/directory/* email@example.com:/destination/directory If you want it to delete files at the destination that no longer exist at the source, add the –delete option. Answered by Flup Check more discussion of this question. Bookmark on Delicious [...]Continue Reading »
I’m helping to teach two Unix courses next week. Users will be granted an account on a RHEL 5 machine, during which time they’ll add files to their /home folder, update their .bashrc and other dotfiles, and perform other general messiness that needs to be cleaned up. Students in the second session will be reusing the user accounts of the folks in the first session. I’d like to automate the cleanup of their accounts, so [...]Continue Reading »
This question already has an answer here: Why is my crontab not working, and how can I troubleshoot it? 1 answer I’m looking to run a job at these very specific times. Can this even be done in one expression? Asked by Steve Robbins You’d need two expressions to deal with the start on the half hour: 30-55/5 1 * * * user command */5 2-5 * * * user command Answered by mgorven Check [...]Continue Reading »
Im looking into the cost of putting a Cassandra cluster into a colo facility. Along these lines there would be 6-8 servers at the outset with expected growth over time. One option is just a series of Dell R320 (or similar). Another option would be blades or similarly built machines that share power. Looking at the details of an 8 node system I see it has 4×1620 watt power supplies. This gives a total of [...]Continue Reading »
Is there a way to disable the installation of Firefox extensions by non-admin users? Asked by Victor Rodrigues Sort of. You can apply lock down settings with mozilla.cfg. This, however, will prevent all users from using locked down features though. Administrators can of course swap in/out the config file at will. http://www.pcc-services.com/kixtart/firefox-lockdown.html Edit: Here’s the list of settings we deploy via lock down. It’s a K-12 environment, so your needs will likely vary. // lockPref(“app.update.auto”, [...]Continue Reading »
As far as I know, accuracy of NTP syncronization highly depends on the network. I’ve seen some numbers from 50 microseconds to a “below one second” over the internet. Well, this is a huge difference. I believe, accuracy dependence is a great question to study, but so far I failed to find any material, which clearly states that, say, some particular configuration grants that particular accuracy. It is said on http://www.ntp.org/ntpfaq/NTP-s-algo.htm: A time difference of [...]Continue Reading »
I’m looking to create an account similar to a Domain Admin, but without access to domain controllers. In other words, this account will have full Administrator rights to any client machine in the domain, be able to add machines to the domain, but have only limited user rights to the servers. This account will be used by a person in an end-user tech support kind of role. They should have full access to client machines [...]Continue Reading »
I’m using remote desktop on Windows Server 2008 r2 and I’m trying to find a way to prevent users from kicking off admin users. I understand that according to MS a regular user should not be able to kick off an admin user however if a user attempts to log in while the admin user is on (and all other sessions are in use) the admin user has 30 seconds to click the box telling [...]Continue Reading »
One of our clients is a Tier 1 PCI company, and their auditors have made a suggestion with regards to us as System Administrators and our access rights. We administer their entirely Windows based infrastructure of roughly 700 Desktops/80 servers/10 Domain Controllers. They are suggesting that we move to a system where we have three separate accounts: DOMAIN.CO.UK\UserWS DOMAIN.CO.UK\UserSRV DOMAIN.CO.UK\UserDC Where WS is the account that logs on to only WorkStations, is a Local Administrator [...]Continue Reading »
I need to reload my php.ini and there’s nothing in the help dialog about restarting it. Asked by Galen Assuming you have the appropriate RC scripts in place, /etc/init.d/php-fpm restart or restart php-fpm or service php-fpm restart or service php5-fpm restart Or whatever the equivalent is on your system. Edited to include suggestion from Matt Winckler. Answered by tylerl Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share [...]Continue Reading »
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?