Hi,
Thanks for your reply. I just included 'VerifyreverseMapping No' inside
/etc/ssh/sshd_config and when I tried to restart the sshd it says :
=========================================
Starting sshd:/etc/ssh/sshd_config line 63: Deprecated option
VerifyreverseMapping
=========================================
Can you please advice what is the correct way to disable it.
thanks
Lin
On 4/3/06, Jim Perrin <jperrin(a)gmail.com> wrote:
>
> On 4/3/06, siva m <tech.sivam(a)gmail.com> wrote:
> > Hi,
> > I have CentOS 4.3 running on my AMD Athlon XP(32 bit) PC and Windows
> 2000
> > running on my other Intel P3 PC(These 2 PCs are connected using a
> network
> > switch). Basically I use the one running Linux as back end server and
> > everything was fine so far. But recently I am experiencing some delay in
> > loggin in to CentOS through SSH.
> >
> > The Putty client which I use generally opens up asking for username
> > prompt(no delay in that) but after entering the password it takes
> atleast
> > 10-15 seconds gap before I logged in.
> > It was fine before and I am sure I didn't made any changes to linux
> > configuration. Can anyone please help me with this issue.
> >
> > By the way I always use the IP address like($ ssh user(a)192.168.0.xxxwithout
> > any hostname)
>
> This is where ssh is doing a reverse DNS lookup, which is failing and
> timing out. Set up DNS , or turn off the reverse lookup check in the
> sshd config. Of the two, setting up DNS is the best option, but
> involves a bit more work.
>
> --
> Any sufficiently advanced technology is indistinguishable from magic.
> -Arthur C. Clarke
> _______________________________________________
> CentOS mailing list
> CentOS(a)centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Andrew Allen wrote:
> On Sat, 2007-10-20 at 17:56 -0700, Steven Vishoot wrote:
>> --- Andrew Allen <andy.allen(a)virgin.net> wrote:
>>
>>> I'm trying to install Skype on a CentOS 4.4 system
>>> and I've followed the
>>> instructions on the Skype website at
>>>
>> http://www.skype.com/download/skype/linux/repositories.html
>>> but when I run yum install skype it fails with a
>>> whole string of error
>>> messages, ending with
>>> Error: failure:
>>> RPMS/libsigc++20-2.0.17-1.el4.rf.i386.rpm from
>>> rpmforge:
>>> [Errno 256] No more mirrors to try.
>>>
>>> Has anybody managed to install skype successfully -
>>> if so, how please?
>>>
>>> Thanks,
>>> Andy
>>>
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS(a)centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>> You can try yum clean all and retry yum install. Just
>> a thought.
>>
>> Steven
>>
>>
>> Get your Art Supplies @ www.littleartstore.com
>
> Thanks Steven,
> After I did yum clean all, yum install skype got a lot further and
> looked as if it was going to work! But then it failed on
>
> Finished Dependency Resolution
> Error: Missing Dependency: libQtCore.so.4 is needed by package skype
> Error: Missing Dependency: qt4-x11 >= 4.2 is needed by package skype
> Error: Missing Dependency: libQtGui.so.4 is needed by package skype
> Error: Missing Dependency: libQtDBus.so.4 is needed by package skype
> Error: Missing Dependency: libstdc++.so.6(GLIBCXX_3.4.4) is needed by
> package skype
> Error: Missing Dependency: libQtNetwork.so.4 is needed by package skype
> Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package
> skype
>
> So how do I resolve this missing dependency problem using yum please?
While I do not normally recommend using statically compiled binaries or
installing programs that are not RPMS, in this case there is no real
choice, other than breaking your system by upgrading qt ... which I
would never recommend.
I can not make a "Redistributable" RPM, as Skype is not GPL ... so
please don't ask :D
But, what you can do is download the Linux "Static" version:
http://www.skype.com/go/getskype-linux-static
You can put it in any directory initially (you will want to save it, I
personally put all non-RPM installed software in a directory under
/root/ so that I know what is installed ... Then you need to untar the
file like this (you need to be root to do this):
====================================
COMMANDS
====================================
tar -xvjf skype_static-<version>.tar.bz2
cd skype_static-<version>
mkdir /usr/share/skype
cp -a * /usr/share/skype/
cd /usr/share/skype/
mv skype /usr/bin/
mv skype.conf /etc/dbus-1/system.d/
chown <your-username>.<your-group> skype.desktop
mv skype.desktop ~<your-username>/Desktop
====================================
END COMMANDS
====================================
You should now see skype on your desktop, and you can right click the
launcher and change the icon (pictures in /usr/share/skype/icons) now.
Thanks,
Johnny Hughes
On 06/08/2015 11:34 AM, Kay Schenk wrote:
> On 06/07/2015 11:05 PM, g wrote:
>> On 06/07/2015 07:25 PM, Kay Schenk wrote:
>> <<>>
>>
>>> So, I'm not sure how to interpret what you said. Can I get the same
>>> results from a CentOS install using some combination of options?
>>
>> because your are playing with multi flavors,
>> [i bet you like going to baskin-robbins for ice cream ;-) ]
>> a solution for you would be what i did some years back and i was
>> playing with diff flavors, my "/home" partition was mounted in
>> new install as /home2 and i let installation setup a /home in /.
>>
>> after install and booting it, as root i moved the newly created
>> "user" home to the /home2 directory, renamed it to the 'user-flavor',
>> then linked that back into the install /home and renamed it to
>> "username" and changed ownership to "user"
>>
>> which then gave me:
>>
>> /home/username --> /home2/user-flavor
>>
only thing that some might call a disadvatage is
only thing that some might call a disadvatage is
only thing that some might call a disadvatage is
>> so that in /home2 i had:
>>
>> /home2/geo-fc3
>> /geo-fc4
>> /geo-mandrake
>> /geo-flavor-x
only thing that some might call a disadvatage is
only thing that some might call a disadvatage is
>> /geo-flavor-y
>>
only thing that some might call a disadvatage is
>> i hope you can see how i did this. i am of terse thinking and
>> do not always go into detail enough.
>
> Another creative approach and one I'd thought of also!
> But...not my first choice.
did you do more than just think about it?
just what do you want for a 1st choice?
advantages of /home2 is you have a user home directory for all your
flavors sitting in 1 partition that will not get erased because
you are allocating it's own mount point when you install.
because you are using thunderbird for email client, you can set up
Mail, ImapMail, News paths in there own director,
same applies to firefox bookmarks, passwords, certificates, etc.
such as;
/home/moz/
/moz/firefox
/moz/thunderbird
then link them to your 'flavor' user directory. same goes for your
address book files abook.mab and abook-XX.mab, and other directories
and files that are not path critical.
only thing that some might call a disadvantage is all moz progs will
be same, unless you happen to need something in an add-on that is
path specific.
there are many other progs that are not 'hard set' with path names.
--
peace out.
If Bill Gates got a dime for every time Windows crashes...
...oh, wait. He does. THAT explains it!
in a world with out fences, who needs gates.
CentOS GNU/Linux 6.6
tc,hago.
g
.
Trying to keep this alive - I'm up against a wall here!
I can use smbclient and not only see files, but actually download them (with
get) but I can't mount said Windows share locally to a drive - I universally
get a "permission denied" error.
1) I've tried mounting via a line in fstab.
2) I've tried smbmount with every option I could find.
3) I've tried using mount with every option I could find.
How could it work in smbclient with the same credentials, but not as an smb
mount? Is there something about how the Linux localhost is being announced,
perhaps?
-Ben
On Thursday 02 February 2006 18:45, Benjamin Smith wrote:
> I have a Windows Server 2003 system I'm trying to back up to a Linux host.
>
> when I access the share with smbclient, I can "see" the files (`ls` returns
a
> list of files, etc)
>
> smbclient -U shareuser //server/sharename password
>
> But, when I try to actually mount the drive, I get "permission denied"
errors
> trying to access the drive. (EG: using `df`) Running the following command
> takes about 10 seconds:
>
> smbmount //server/sharename /mnt/servername -o \
> credentials=/path/to/credentials,ro
>
> I've also tried an alternate format:
>
> mount -t smbfs -o username=USERNAME //server/sharename /mnt/servername
>
> Same results both ways. I found a CentOS forum where somebody had problems
> with the RPM package, but retrograding to the package(s) he recommends
didn't
> change anything.
> http://www.centos.org/modules/newbb/viewtopic.php?topic_id=2307
>
> I'm running the latest samba-client & samba-common on CentOS 4.2. SELinux is
> in warn mode. Here's the /var/log/messages when I mount:
>
> Feb 2 19:42:16 sol kernel: SELinux: initialized (dev smbfs, type smbfs),
uses
> genfs_contexts
> Feb 2 19:42:16 sol kernel: smb_retry: no connection process
> Feb 2 19:42:46 sol kernel: smb_add_request: request [c554bee0, mid=0] timed
> out!
> Feb 2 19:42:46 sol kernel: smb_delete_inode: could not close inode 2
> Feb 2 19:42:46 sol kernel: SELinux: initialized (dev smbfs, type smbfs),
uses
> genfs_contexts
> Feb 2 19:42:46 sol mount.smbfs[21755]: [2006/02/02 19:42:46, 0]
> client/smbmount.c:send_fs_socket(410)
> Feb 2 19:42:46 sol mount.smbfs[21755]: mount.smbfs: entering daemon mode
> for service \\heliodorite.sunset.net\iissites, pid=21755
>
> Running with debug=8 didn't provide much that was helpful. Any ideas where
to
> go from here?
>
> -Ben
> --
> "The best way to predict the future is to invent it."
> - XEROX PARC slogan, circa 1978
> _______________________________________________
> CentOS mailing list
> CentOS(a)centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
--
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978
That worked thanks
2010/4/4 Ryan Wagoner <rswagoner(a)gmail.com>
> Do an ls -lha public_html in the user's folder and look what group
> the files are owned by. Then do chown username:group -R public_html.
>
> Ryan
>
> 2010/4/2 cahit Eyigünlü <cahit.eyigunlu(a)gmail.com>:
> > the main problem that i have copied files directly to public_html folder
> and
> > it is returnin 500 internal error now ,
> > and i need to allow the web user of this folder to read write content of
> > this folder
> >
> > 2010/4/3 Niki Kovacs <contact(a)kikinovak.net>
> >>
> >> cahit Eyigünlü a écrit :
> >> > do you mean that for example a folder of root will be owned by cccc
> >> > chown -R root:cccc /path/*
> >> >
> >>
> >> I think it would be wise to read some basic *nix documentation.
> >> Something like :
> >>
> >> * Linux Cookbook (Carla Schroder)
> >> * Definitive Guide to CentOS
> >> * Foundations of CentOS
> >> * Red Hat Enterprise Linux 5 Administration
> >>
> >> It's not much use trying to fly a plane by pushing all the buttons and
> >> see what they do. This advice is meant in a friendly way.
> >>
> >> Cheers,
> >>
> >> Niki
> >> _______________________________________________
> >> CentOS mailing list
> >> CentOS(a)centos.org
> >> http://lists.centos.org/mailman/listinfo/centos
> >
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS(a)centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
> _______________________________________________
> CentOS mailing list
> CentOS(a)centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
got it. The old mysql instance was still running..i killed it..nuked
it's files..reinstalled and i have base control now..
William Warren wrote:
> Thanks for your reply. Nothing in my yum conf or repos has been changed.
>
> Jim Perrin wrote:
>> On 5/15/06, William Warren
>> <hescominsoon(a)emmanuelcomputerconsulting.com> wrote:
>>> I installed plesk(first mistake at least here..<G>) and it got in my way
>>> in some area more than it helped. The first thing it did was deny root
>>> access to mysqld and i could not find the username and password for
>>> adding another database. I removed plesk and mysql. when i used yum to
>>> reinstall mysql i was then told root @ localhost was denied. I removed
>>> mysql again and nuked all of the mysql files i could find that were left
>>> behind. Now when i reinstall it won't even start. Any ideas?
>>
>> You may need to consult your yum configs and repo files and look for
>> excluded packages. I know cpanel does this, but I'm honestly not sure
>> about plesk.
>>
>>
>> What does it mean if your sig is longer than the body of your message?
>>
>
--
My "Foundation" verse:
Isa 54:17 No weapon that is formed against thee shall prosper; and
every tongue that shall rise against thee in judgment thou shalt
condemn. This is the heritage of the servants of the LORD, and their
righteousness is of me, saith the LORD.
-- carpe ductum -- "Grab the tape"
CDTT (Certified Duct Tape Technician)
Linux user #322099
Machines:
206822
256638
276825
http://counter.li.org/
Andrew Allen wrote:
>> While I do not normally recommend using statically compiled binaries or
>> installing programs that are not RPMS, in this case there is no real
>> choice, other than breaking your system by upgrading qt ... which I
>> would never recommend.
>>
>> I can not make a "Redistributable" RPM, as Skype is not GPL ... so
>> please don't ask :D
>>
>> But, what you can do is download the Linux "Static" version:
>>
>> http://www.skype.com/go/getskype-linux-static
>>
>> You can put it in any directory initially (you will want to save it, I
>> personally put all non-RPM installed software in a directory under
>> /root/ so that I know what is installed ... Then you need to untar the
>> file like this (you need to be root to do this):
>>
>> ====================================
>> COMMANDS
>> ====================================
>> tar -xvjf skype_static-<version>.tar.bz2
>>
>> cd skype_static-<version>
>>
>> mkdir /usr/share/skype
>>
>> cp -a * /usr/share/skype/
>>
>> cd /usr/share/skype/
>>
>> mv skype /usr/bin/
>>
>> mv skype.conf /etc/dbus-1/system.d/
>>
>> chown <your-username>.<your-group> skype.desktop
>>
>> mv skype.desktop ~<your-username>/Desktop
>>
>> ====================================
>> END COMMANDS
>> ====================================
>>
>> You should now see skype on your desktop, and you can right click the
>> launcher and change the icon (pictures in /usr/share/skype/icons) now.
>>
>> Thanks,
>> Johnny Hughes
>>
> Thanks Johnny,
> I'll try installing skype the way you suggest - and thanks to others
> who've sent helpful replies. One question though - don't want to appear
> stupid, but what exactly is qt - I don't think it's the kernel (is it)
> but it's obviously a major part of the OS? By the way, are these
> deficiencies resolved in CentOS 5, which I have on my laptop (CentOS 4.4
> is on my PC)?
>
> Actually, I've just tried that and the launcher's now on my desktop - but how do I launch skype? When I (right) click on it nothing happens or try to launch from the command line, I get these errors:
>
> skype: error while loading shared libraries: libsigc-2.0.so.0: cannot open shared object file: No such file or directory
Are you sure you did not get the Dynamic instead of the Static version
of skype ... or maybe somehow get the version out of your RPM.
=======================================
qt is this:
Summary : The shared library for the Qt GUI toolkit.
Description :
Qt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
for the X Window System.
Qt is written in C++ and is fully object-oriented.
=======================================
Basically ... all of KDE and many other applications are built using QT
... and they would all need to be rebuilt if you upgraded QT. Only a
couple high visibility packages (like kernel, python, gcc and glibc) are
more important to the operation of your workstation than QT.
Thanks,
Johnny Hughes
Collins Richey wrote:
>On 7/30/05, Ralph Loizzo <ralphloizzo(a)sbcglobal.net> wrote:
>
>
>>Okay. I've been able to set my laptop's screen brighter by working with
>>the program spicctrl and the sonypi device.
>>
>>But everytime I boot, I login under my username then have to do the
>>following every time...
>>First I go into the bash terminal, then su because I can't do this under
>>my login name
>>
>>mknod /dev/sonypi c 10 250 #because sonypi is not listed in /dev - it
>>disappears everytime I shut down
>>
>>then I type
>>
>>chmod o+w sonypi #because I want to be able under my login name, not
>>root, to set the brightness
>>
>>then i exit su
>>
>>and type spicctrl --setbrightness=150
>>
>>and it works...
>>
>>
>>
>
>As the following post indicated, you need to learn more about udev and
>how to setup devices using udev.
>
>However, as a workaround, your can put the commands you have to issue
>manually in /etc/rc.d/rc.local and they will be issued each time you
>boot. Be aware:
>
>1. You don't need sudo for commands in rc.local.
>2. you need to code the absolute pathname to each command.
>
>Try it, and you can forget about the problem until you learn a lot
>more about udev.
>
>
>
Well I went ahead and changed rc.local instead of rc.sysinit (which i
had tried before)
and it worked!
I will investigate udev at a later time, but at least now I can see my
screen!
Thanks to you Collins and also to Shawn
On Wed, 2008-12-10 at 17:50 +0100, Ralph Angenendt wrote:
> Hi,
>
> quick(?) question: Has anybody seen that problem below? More important
> question: Did anybody solve that?
>
> This is my smb.conf (well, only the most important parts):
>
> [global]
> workgroup = FOOBAR
> server string = My Server
> map to guest = Bad User
> preferred master = No
> local master = No
> domain master = No
> dns proxy = No
>
> [on3]
> comment = Audio-Video-Imports
> path = /local/mir/import/on3
> force group = users
> read only = No
> create mask = 0664
> directory mask = 0775
> guest ok = Yes
>
> The path has:
>
> drwxrwxr-x 3 mir users 4096 10. Dez 16:35 /local/mir/import/on3/
>
> Meaning: group users and user mir are allowed to write in there. Works
> fine from windows clients. Guest user gets mapped to "nobody".
>
> Doesn't work from linux:
>
> [root@shutdown ~]# mount -t cifs -o user=nobody,guest //mir-qs/on3 /mnt/tmp/
> mount error 13 = Permission denied
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
>
> root@mir-qs:~# uname -a ; rpm -q samba
> Linux mir-qs.br.de 2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 19 20:05:04 EST
> 2008 i686 i686 i386 GNU/Linux
> samba-3.0.28-0.el4.9.i386
>
> Machine is up to date.
>
> Error message on the server is
>
> make_connection: connection to on3 denied due to security descriptor.
>
> Googling around led me to the belief that someone fooled around with
> srvmgr.exe from a windows machine and that I should remove
> /var/cache/samba/share_info.tdb and restart samba. Which doesn't work.
>
> Now if I take out the "force group = users" everything works as
> expected. Except that I cannot write in this share - nobody isn't in the
> group users.
>
> I don't want to add nobody to the group users, nor can I go and change
> anything on that server regarding users and groups in the file system.
>
> Ah yes, smbclient works fine, but I really do not want to use that
> either.
No offense but LOL same problem I had with Linux clients. Here is what I did;
The only way I got this to work is add the mount entry to fstab.. auto-mount would not work right it would end up hanging the Linux client.
//ethans27/SAN1 /mnt/SAN1 cifs user,uid=500,rw,suid,username=nobody,password=nobody 0 0
BTW I'm forcing the use of a specific user in my smb.conf file. I see you have force group but you may have to include the force users=.
One irritating thing I come to find out is the directoru perms have to coexist with whats in your smb.conf.
[root@ethan ~]# rpm -q samba
samba-3.0.28-1.el5_2.1
A gentle reminder please :)
On 20/02/2012 12:06 AM, Wuxi Ixuw wrote:
> I am new to Linux so I do not have any special preferences.
> Yes I have a root access and the VPS is un managed.
> I am newbie to the Linux world.
> I will have a new website or maybe 3.
> I've found that un managed costs vary a lot, as I've found various
> ways for settings ... some using Xen, others using OpenVZ, and other
> using Virtuozzo and I found that it all vary regarding Ram allocations
> for each VPS.
> Also afraid to stuck with some over sell VPS as I had it before with
> shared hosting.
> For un managed hosting VPS will it be easy to secure the server from
> being hacked? or it is an impossible job for a newbie guy like me?
> Also for later on regarding updates or patching ... will it be good as
> well or not?
> Finally I've found most people using Ubuntu server LTS, so do you
> advise of using it or any other distribution?
> I've read a lot of reviews that most are advising for using CentOS or
> Debian, but I've found the majority are already using Ubuntu server.
> Thanks and too much appreciated your time reading and value your inputs.
>
> Note:
> After a lot of reading I've found that the steps should be as follow:
> (the funny thing that I've read and know what I should do but each
> time I am trying to run a command using PUTTY I get an error)
> - change root password to a secure one.
> - create another user with admin access with a strong password as well.
> - disable root remotely access.
> - use secure connection to the VPS by using PUTTY key instead of
> username and password login .
> - change the port to a high one with unusual figure like 26127 or any
> else
> - disable ftp and use another secure one.
> - install a fire wall, CSF firewall and Mod_security or anything else
> equal or more.
> - keep the whole thing up-to-date.
> - secure the whole VPS as much as possible.
> - finally use a trusted script on the website and his why I will use
> Drupal (mostly the core ones and nothing else without any modules).
>
> This is what I've got so far from reading many tutorials and still get
> a lot of errors when I follow them (howtoforge.com) is one of the
> famous websites I've visited.
>
> Sorry for being long ... But I am really hope if you here be able to
> help or guide me.
>
> - Late Edit -
> I've forget to mention that some steps I've forget to mention are:
> - using back ed control panel (like ISP config, VirtualMin) is
> facilitating the task but make VPS less secure, so using the command .