Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,214
» Latest member: topupaman
» Forum threads: 4,029
» Forum posts: 16,404
Full Statistics
|
Online Users |
There are currently 567 online users. » 0 Member(s) | 565 Guest(s) Applebot, Bing
|
Latest Threads |
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 406
|
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 85,337
|
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 39,718
|
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 1,857
|
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 5,326
|
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 41,317
|
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 115,480
|
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 53,485
|
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 43,772
|
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 41,715
|
|
|
Restricting users, commands... |
Posted by: qstraza - 2006-05-02, 05:36 PM - Forum: Security and Firewalls
- Replies (5)
|
 |
Hello! ;>
i would like to restrict users so that they cannot use specific commands. Like user cant execute "top" or "irssi".
I dont want that root will be the only user who could execute binaries. But that i could restrict only that users that i want to.
I know about iptables, to block outbound ports... but this is not what i want.
I have some script to restrict that but it is not so secure...
Code: #!/bin/sh
if [ $USER == "user_name" ]; then
echo "Permission denied";
else
/usr/bin/irssi1 $@ # real irssi executable
fi;
i renamed "irssi" to "irssi1" and named this script "irssi"
So my question is how to restrict users that cannot execute commands on some other way;>
thx
|
|
|
/dev/hdb1 already mounted or /bla busy |
Posted by: Navrax - 2006-05-01, 11:49 PM - Forum: Filesystem Management
- Replies (6)
|
 |
Allow me to start off by saying that I have tried everything in my knowledge.
Basically, I'm trying to mount my /dev/hdb1 secondary hard drive (that I thought was mounted from the beginning, which subsequently lead up to the filling up of my hda) but I have been unsuccessful in every attempt.
Code: [u]mount /dev/hdb1 /blah[/u]
mount: /dev/hdb1 already mounted or /blah busy
I've booted the Gentoo Universal LiveCD, and succesfully mounted /dev/hdb1 to /anywhere and it showed up in # Mount. I think that this is a kernel problem, it's a working 10.0gb hd...
Code: #mount
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
Code: # fdisk -l /dev/hdb
Disk /dev/hdb: 10.2 GB, 10245537792 bytes
16 heads, 63 sectors/track, 19852 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 19852 10005376+ 83 Linux
Code: # fsck /dev/hdb
fsck 1.38 (30-Jun-2005)
e2fsck 1.38 (30-Jun-2005)
/dev/hdb: clean, 11/1251712 files, 39293/2501352 blocks
I'll also add my /etc/fstab...
Code: # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / ext3 noatime 0 1
/dev/hdb1 /srv10 ext2 users 0 0
/dev/hda2 none swap sw 0 0
/dev/dvd /mnt/dvd auto defaults,noauto,ro 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/sda1 /mnt/jump-drive vfat noauto,user,exec,sync 0 0
/dev/hdc4 /mnt/zip vfat defaults,users,gid=users,umask=0000
# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0
PLEASE, SOMEONE, IF ANYBODY CAN HELP ME WITH MOUNTING MY HDB I WOULD GREAT APPRECIATE IT, I THOUGHT MY "/SRV" WAS MOUNTED TO /DEV/HDB1 AND IVE BEEN FILLING UP MY HDA!! IF ANYBODY WANTS MORE INFO, PLEASE REPLY, THIS HD WORKS, IT Must be something wrong with the kernel, or that dm-linear error, Please...Someone!!! :(
|
|
|
dmesg Errors |
Posted by: Navrax - 2006-05-01, 11:15 PM - Forum: Filesystem Management
- Replies (3)
|
 |
I have been having a great many problems with mounting hard drives, etc, and I think that this error may have something to do with it. Does anybody recognise this ?
Code: device-mapper: dm-linear: Device lookup failed
device-mapper: error adding target to table
|
|
|
Upgrade MySQL 4.0 to 4.1 |
Posted by: MelRay - 2006-05-01, 09:07 PM - Forum: LAMP
- Replies (1)
|
 |
Hello all,
I don't quite know where to start on this upgrade. I want the upgrade to get two servers running the same version of MySQL. I have mysql 4.0 in /usr/local/mysql/ so how would I remove that install and replace with 4.1?
The whole reason for this is because of a snort error (I know jack about snort);
ERROR: database: mysql_error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
After reading the solution for some folks, with the following
mysql> UPDATE mysql.user SET Password = OLD_PASSWORD('newpwd') WHERE Host = 'SomeIP' AND User = 'root';
mysql> FLUSH PRIVILEGES;
Did not work
and
mysql> SET PASSWORD FOR 'root'@'SomeIP' = OLD_PASSWORD('newpwd');
ERROR 1133 (42000): Can't find any matching row in the user table
obviously did not work, I read I can just upgrade mysql to 4.1 to resolve the password problems, the trouble is...I have never upgraded mysql.
Help?
|
|
|
No... not again... I've done it again... |
Posted by: Black Ghost - 2006-05-01, 07:20 AM - Forum: Hello
- Replies (5)
|
 |
Well. I've gone and done it now. While none of you are familiar with my history concerning Linux and various distros, I've been using them off and on for the past ten, maybe eleven years. And a year or so ago, I promised myself--promised, I tell you!--that I wouldn't go back to using Linux. So many things just aren't the familiar 'Bindows' feel. But then there's the aspect of learning more about something that I find interesting, and that is something I just cannot resist.
So, I've gone and done it again... gone back to Linux. But this is my first time joining any sort of support forum, so perhaps I'll have more luck this time around. Woe is me, I'm losing my mind...
Anyway, I'm here, saying hi to all of you strangers (Hi there.) and hoping that any issues I have I'll be able to find the answers to. Here's for luck and insanity!
|
|
|
Installing Sun Java and The Firefox Plugin In Debian |
Posted by: Corkster - 2006-04-30, 02:18 PM - Forum: Web Browsers
- Replies (1)
|
 |
Thankfully there are facilities available which make it a simple job to install Sun's Java as a Debian package.
Two packages we're going to need are java-package, and fakeroot. These can be installed simply:
Code: apt-get install fakeroot java-package
Once the relevent packages have been installed you will need to download the Sun release of the Java package from [/url]http://java.sun.com
At the time of writing the most current version can be found here:
- [url=http://java.sun.com/j2se/1.5.0/download.jsp]http://java.sun.com/j2se/1.5.0/download.jsp
Once you agreed to the license presented to you, and have downloaded the file you will have something like jre-1_5_0_06-linux-i586.bin.
To turn this into a Debian package you should run:
Code: fakeroot make-jpkg jre-1_5_0_06-linux-i586.bin
This command will first prompt for confirmation, then :
- Ask you for your name
- Ask you for your email address
- Display a license agreement:<ul><li>Press Space to scroll down, or q to quit.
- Type "yes" to indicate you agree with the terms.
</li>
</ul>(The name, and email address, you give will be inserted into the Debian package information - and not sent to Sun.)
Once these questions have been answered the process will inform you that your package has been built shortly afterwards. The final output you should expect to see will look something like this:
The Debian package has been created in the current directory. You can install the package as root (e.g. dpkg -i sun-j2re1.5_1.5.0+update06_i386.deb).
As the instructions tell you it is now possible for you to install the package by becoming root and running:
Code: dpkg -i sun-j2re1.5_1.5.0+update06_i386.deb
One final step might be for you to ensure the Java software works for Mozilla Firefox, or the Mozilla browser.
The package you've installed should include a plugin for your browser. At the time of writing the most recent Sun Java version we've been using will install a plugin for you at the following location:
/usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so
Create a symlink to this directory in your home directory:
Code: ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins/
If you wish to do this for all users on the current system instead run, as root:
Code: ln -s /usr/lib/j2re1.5-sun/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
(You might find that the plugin has been automatically installed for all users - so it's worth checking whether you need to complete this last step yourself.)
|
|
|
Invision Board 2.1.5 |
Posted by: skafiskafnjak - 2006-04-30, 02:41 AM - Forum: LAMP
- Replies (10)
|
 |
Is anybody here willing to help me how to install and run Invision Power Board on my Linux server from home?
I currently use Ubuntu as Linux distro.
I have 850Mhz PIII, 380mb of SDRAM and 18gig SCSI drive.
If I need to do some special Linux installation from the scratch I am ready to do that as well.
Thanks
|
|
|
KDE Themes / Gnome Themes |
Posted by: xarquid - 2006-04-29, 05:11 PM - Forum: Xorg Problems
- Replies (1)
|
 |
Does anyone have a good guide to Gnome and/or KDE Themes and how to install and use them?
I like a lot of the themes I see at *-look.org (i.e. kde-look.org) but I download them and attempt to install/use them in the Look & Feel Options in KDE but they do not load/work when I select certain files (mainly XML). The same thing happens when I try to install/use them in GNOME.
Just wondering if anyone has a useful guide or site for either of those X desktop managers and how to use themes with them. Also, any other good sites with up-to-date themes would be useful too :)
|
|
|
|