Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Browsing all 17776 articles
Browse latest View live
↧

playing with cap_linux_immutable and chattr +i

I am looking for a way to make a file immutable, bar a reboot. Of course, chattr +i works nice, but you can then just undo that by typing chatter -i on the file.I managed to remove cap_linux_immutable...

View Article


How would I set up a VPN with access to a Samba share?

I've been searching for how to do this for hours, no avail.I want to be able to access a shared folder on my Ubuntu server (hal) over a WAN, I want to be able to mount it as a drive in Windows....

View Article


undupfs 0.1 - deduplicating layered filesystem

submitted by aviddd [link][3 comments]

View Article

CLI Command Execution Tips

submitted by periphery [link][comment]

View Article

Need Help with Puppet Custom Facts

I was able to write a custom Fact to pull the environment of all of my servers. It works, however there are two issues i am facing. 1) When I run facter -p I get the below result:[root@ASHENTLPUP-P01...

View Article


recommendation for lpic-1 and 2?

i want to take the test but i keep hearing mixed reviews on books here and there. what does r/linuxadmin recommend for study material? submitted by nandrizzle [link][21 comments]

View Article

A "simple" Call-home Function via SSH Reverse Connect

submitted by Cynofield [link][3 comments]

View Article

Shell script runs manually, but does not complete as a cronjob.

I have a shell script that backups a database, 7zips it, and uploads to my Amazon s3 account. It works if I run the shell script, but as a cronjob it stops after it dumps the database (doesn't continue...

View Article


Freeradius2 user config issue

hey guys,I am trying to setup a freeradius in my existing environment to co-exist with my openldap and kerberos server.I have got it running to the point where it authenticates based on a dialupAccess...

View Article


Securing Linux

I am going to be implementing a new ERP environment on Oracle Enterprise Linux (there will be about 20 VMs when everything is done). I'm mainly a Windows / VMware guy but I'm the only Sys Admin on...

View Article

[noob][bash] Behavior in a for loop

I've been lurking /r/linuxadmin pretty much since I got this job (support for a web hosting company) about 3 months ago. I've written a couple of for i loops because, well, they're cool. About a week...

View Article

LPIC vs RHCE - Discuss

Just hoping to hear what people have to say about both, would like to specifically focus on the UK job market.Many people swear by RHCE but the LPIC does cover more than one distro e.g. Fedora and...

View Article

Maintaining PreOwned Linux VMs

I have received several Linux VMs that I am moving into our own infrastructure. These machines were managed and maintained by several 3rd parties, and packages were installed I cant account for. What...

View Article


Mailman+Postfix on RHEL6 - Halp

I'm trying to set up a new mailman server on a box running RHEL6. I already did a "yum install mailman postfix" and it seems to have successfully installed both packages but I can't get postfix to...

View Article

SSH - user from internal, group from anywhere

Hi,I have a a public SFTP server where I would like to limit SSH access as much as possible.Root Login is already disabled, the sftpusers group is chrooted to their /home/$user.Now we have an...

View Article


boot failed because lvm failed. how can i revocer ?

we have a server that runs on oracle linux. Currently system is not bootable. You can see error screen at http://imgur.com/o5bxPxu.server is using lvm+oracle rac cluster for disks. some disks (sdm and...

View Article

Very Basic Linux Monitoring

I'm running a home server with Ubuntu 12.04 LTS as the host, and various other Ubuntu VMs running as guests in LVM.Basically, I'm after a very basic monitoring solution for all my VMs that only shows...

View Article


Cross-Compiling on ARM from x86_64: Undef ref to rplmalloc/realloc

Hi I'm trying to compile autossh for a Moxa IA240 embedded arm computer.All the details and the toolchain can be found here: www.moxa.com/product/IA241_IA240.htmI installed the toolchain, installed all...

View Article

How do I list all the ACLs of a directory tree?

Hello, I have a Debian Fileserver with ACLs. With getfacl -R I get all the files, but I only need the directories.I tried to only list the directories and then input that to getfacl:ls -R | grep ":$" |...

View Article

When removing a HD from a VM, can I scan the system to show the change?

Hi all, I have a feeling I'm going to be using and abusing this sub as I continue my studies :)Next question: when I add a HD to a VM I can run the command 'echo "- - -" >...

View Article
Browsing all 17776 articles
Browse latest View live