logs archiveIRC Archive / Freenode / #centos / 2015 / September / 17 / 1
bassgoon
tang^, someone put a file in /etc/profile.d that just did an append to /etc/profile...
billings
what?
Zathrus
that sounds recursive
tang^
I want to make *sure* *everybody* gets this addendum
Zathrus
tang^: the HISTFILE *shall* be this way!
tang^
Zathrus: exactly
Zathrus
thing is... that would only take effect if root logs in.
bassgoon
Zathrus, the bash_history for one user is only "sudo su -"
over and over
Zathrus
that'll do it too
         

bassgoon
I found teaching people one simple trick eliminates a lot of that nonsense
!!
hah
and getting out of the mindset of having to use cd before doing anything in a dir
Zathrus
bassgoon: it's not going to help with the inherent idiocy of doing a "sudo su -" at all
bassgoon
I think a lot of times it's a convenience thing...I think
Zathrus
(Thanks Ubuntu)
bassgoon
it's better than sudo passwd...
JimmyNeutron
In CentOS 7.1, what're the differences between the installation "Server with GUI" and "Gnome"?
They look identical after installing
pj
bassgoon: you should take away that user's access to the "su" command via sudo, see if he learns to use sudo -i
wN
is there a super small premade centos qcow2 image? the one i have is like 8GB but i was hoping for something smaller.
Evolution
wN: 8G is pretty much the 'cloud' standard. compressed they're smaller, but that's fairly default.
wN: you can make one fairly easily.
davidmichaelkarr
Anyone know how to create virtualbox vm shortcuts on the centos7 desktop? I selected the option to create one, but it didn't appear to do anything.
wN
Evolution: thanks
the fedora image is 3G but i dont want to use fedora for these little projects. i'll just roll my own image. thanks :)
arinov
~help
!help
centbot
arinov: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. You may also want to use the 'list' command to list all available plugins and commands.
Evolution
arinov: what are you trying to get?
arinov
Evolution: i just have 10 minutes of time and i want to see how is help bot react and what is he can
tang^
oops, this is unfortunate... rebooted my centos desktop vm and logging in gives me an error about applying stored configuration for monitors
arinov
Evolution: actualy something about postfix+dovesot+postgres+spamassassin+clamav on centos 6 with epel
tang^
hmm, temporary
phy1729
How bad is it to have an rpm foo with some subpackages foo-a foo-b and then a separate package foo-bar ?
Evolution
arinov: that's not something you're likely to get in 10 minutes
         

Fetch
phy1729: pretty easy. Hardest part if figuring out subpackages
the separate package is just a separate package
wolfy
phy1729: it's not bad, it just depends on what is shipped in each package and of the "Requires:" that are in place in those packages
Fetch
does anyone know if an AMI is planned for 7.1 ?
phy1729
thanks
Is there a way to restore httpd.conf to default without needing the yum lock
wolfy
phy1729: yes, unpack it manually from the rpm
phy1729
Is there a nice way to get the rpm from the repos?
TrevorH
yumdownloader
phy1729
thanks
Socket-
hey all, i went to install openjdk on my centos 6.7 box, and it says the filesize is 189K, and it should be like 90ish megs. Any ida why this happens?
http://pastebin.centos.org/34441/
TrevorH
why do you think it should be 90M?
Socket-
cause 1.7 is around that size
Fetch
(also it's the jdk)
apb1963
I have a centos 6 server (and by "I" I mean we and by "we" I mean somebody I'm helping with his server) that was setup to use LVM. Now, a new hard drive has entered the equation for the purpose of making backups. I've been asked to make that happen. I know a little about LVM, and the question is - should I learn more? Do I have to setup this new disk under LVM for reasons I'm not aware of or can I Just format and mount the old fashioned way?
Socket-
Fetch: isnt the JDK suposed to come with the java binary
Fetch
apb1963: you can do it the old fashion way. lvm buys you snapshots
TrevorH
lvm is not a requirement but you should ask yourself if you would benefit from any of the flexibility it brings to the table
apb1963
Fetch: what do I do with snapshots? Restore them?? Honestly no idea.
Fetch
apb1963: nevermind I'm on glue, I was thinking about the other way around (having live data on lvm and snapshotting then copying the snapshots off)
apb1963
TrevorH: well I was asked that question and my response was a brilliant "ummm err... umm.. duhh I don't know."
Fetch: glue or not you know more than I do
Fetch: maybe that might be the advantage I don't know
Fetch
apb1963: lvm's like 3 commands to use an entire device in a pv / vg / lv, you get future flexibility and handy symbolic names in /dev/mapper to use
and you get smarter
TrevorH
perhaps you should do some reading on the advantages of lvm before you make a decision
apb1963
I used lvm years and years ago... and, I don't remember for sure, but I think it was for the purpose of taking "lots" of "little" disks and making one big one... for reasons I no longer remember. Of course big back then was like a gig or something
so I figured lvm wasn't really needed anymore, unless you had some special case use... such use being completely unknown to me.
TrevorH
it's also used for splitting a single disk into lots of smaller chunks that you can resize up and down at will
apb1963
hmmm
TrevorH
so since this is for the purposes of backups, will it be removeable?
apb1963
you mean the drive?
TrevorH
yes
apb1963
it's a dedicated server at a web hosting company
so I'm thinking..... no?
TrevorH
so it's not really much of a backup then
apb1963
I didn't think so
but hey, you can only shout yourself blue in the face for so long
so I said I'd do it the way he wants
basically he's afraid of losing data to a bad disk.
So two disks are less likely to both die at the same time.
tang^
less, but not guaranteed
TrevorH
this is true but two disks plugged into the same computer at the same time are both at risk of an abnormal power event etc
apb1963
that's a good point. One can only hope the data center for the web host has UPS inline
TrevorH
or that the PSU doesn't go on the fritz and feed 240/110V to the 12V line
apb1963
less likely, but not a bad point
alright so I guess I'll skip the lvm on the new disk. We can always add it later should the need arise. So what... now it's just an fdisk create a partition and mkfs? Been awhile.... pointer to a good reference?
TrevorH
you can't add lvm later, not if you use the entire disk for a single filesystem
apb1963
yeah I'd just wipe it later
not too worried about it
it's one entire purpose in life at this point is to be a backup drive.
ok, thanks for the info guys
Sokel
On EL6, when I create files in /etc/audit/rules.d, anything I create that ends with .rules doesn't take. They don't show up in the audit rules when I restart the service. On EL7, the rules appear on an auditd restart without issues. Is there an option I'm missing on el6?
pycoderf
is using rich rules the only way to block outbound traffic with firewalld?
iluminator105
hi i am getting this error in compile http://fpaste.org/268246/45011714/
Bahhumbug
@sourcebuilds
centbot
This venue is unable to provide assistance with building from source; you are strongly encouraged to learn to create proper packages that can be installed via rpm/yum.
ForceMultiplier
I followed this ( https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-a-centos-7-server ) to create a new user w/ sudo, but the server keeps saying "xxxx is not in the sudoers file"
TrevorH
open a new session to the server and try from that
pycoderf
if a directory is chmod 2775 and has a wrie list which a user is part of for samba why can they not write?
selinux context is correct
fenrus02
samba perms
« prev 1 2 3 4 5 next »