Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,214
» Latest member: topupaman
» Forum threads: 4,029
» Forum posts: 16,404

Full Statistics

Online Users
There are currently 423 online users.
» 1 Member(s) | 420 Guest(s)
Bing, Google

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,507
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 39,860
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,322
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 115,611
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 53,564
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 43,865
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 41,742

 
  Force password change
Posted by: xDamox - 2006-04-19, 01:16 PM - Forum: Security and Firewalls - Replies (4)


Hey all,

 

I thought I would do a little tutorial on how to force users to change their passwords when they first

login to the system.

 

Ok lets get started, first we will need to choose a user or create a users to enforce password chaning in my example

we will have a user called: znx ;) and we want him to change his password when he logs in.

 

The thing we need to do is lock the account to make sure he doesn't login until we have finished so we

can issue the following:

 



Code:
usermod -L znx




 

Now that znx's account is locked we can change the password expiry date to 0 so he will be forced

to change the password:

 



Code:
chage -d 0 znx




 

Now znx's password has expired and we can now unlock his account with the following:

 



Code:
usermod -U znx




 

Done, that's all that is require to make the user znx change his password. When znx attempts to login he will

be presented with:

 



Code:
You are required to change your password immediately (root enforced)
Changing password for znx
(current) UNIX password:




 

Notice they have to enter their CURRENT password first before having to enter a new one.

Print this item

  why is linux-noob.com here ?
Posted by: anyweb - 2006-04-19, 12:20 PM - Forum: Site News - Replies (10)


have a read, it's a good article and it explains one of the main reasons i set this site up in the first place,



 

I setup linux-noob.com to be a place

where people could come and learn about linux

to ask questions (no matter what the question is)

and not be told to 'RTFM NOOB'






[/url][url=http://www.reallylinux.com/docs/snobsoped.shtml]http://www.reallylinux.com/docs/snobsoped.shtml

 

thanks to Enigma for the link, it's well worth a read

 

cheers

anyweb

Print this item

  Apache-Dev
Posted by: Nuno Barros - 2006-04-19, 10:56 AM - Forum: LAMP - Replies (2)

Where can I download the Apache Development Package?

Print this item

  what linux distro for media support?
Posted by: gobblox - 2006-04-18, 11:46 PM - Forum: Just Starting Linux - Replies (5)


I've been using FC5, and despite my best efforts for a few weeks cannot get it to play the major video formats (XviD etc).

 

The only thing keeping me from never using windows again, and forcing myself to really sink my teeth into linux is my inability to get videos to play.

 

Is there a distro that comes preloaded with things like Mplayer, (or anything with XviD and DivX support)?

 

apparently FC5 cant compile most programs without some pretty serious custumization, something to do with not supporting X11, or gcc 3.X. , which, curiously, i cant find anywhere for x86_64 systems

 

BTW; I'm a total nooblet, I might need to be spoken too like im a child if your giving any advice

Print this item

  Digital photo enhancement software?
Posted by: arbalest - 2006-04-17, 02:27 AM - Forum: How Do I? - Replies (4)

anyone know of any good software for digital photo enhancement? Like software that you could take a small picture, bad quality, blow it up with out it beign pixelated, and you can see almost every minute detail. I guess something like the FBI would use.

Print this item

  Building a POP3 Mail Server
Posted by: jsn06 - 2006-04-16, 07:40 AM - Forum: Tips and Tricks - No Replies

You want to set up a POP3 mail server

Print this item

  How to get your HP PSC device working in linux
Posted by: tek-69 - 2006-04-15, 01:24 PM - Forum: Tips and Tricks - Replies (1)


When I got my new HP PSC(printer,scanner,copier)1510 device the other day, I was not at all surprised find that the box it came in completely ignored the linux community. I don't mean it said "is not supported", just totally ignored. It was quite clear in stating no win95, no NT, no DOS. It was also happily announcing it's compatibility with XP, 98, 98se and even Mac(amazingly still not quite dead yet).

Why is all this important? It's not really, but it does show something that I love about linux, which is the fact that although very few companies openly support us, noone is willing to say they DON'T support us. Setting up your hp device to work with your linux system is really quite simple compared to other setups. The trouble I had was finding the information to do so. Hopefully this document will make it easier for someone else to accomplish what took me about half a day to research and implement.

The HPlip project(http://hplip.sourceforge.net) is what we'll be using to get things up and running. They have tarballs on the site if you prefer to roll your own. Usually I like compiling but with this particular project I decided to go with rpms. I will be using fedora core 5 for our example but it shouldn't be to hard to tailor this info for other distros. It's important to note that HPlip does not make or distribute the binaries available for the hplip project.

HPlip grew out of the HPoj project. Unfortunately they don't play nice together. If you have the old HPoj libs, you are going to have to make sure they are not used. To do this at the line type:



Code:
ptal-init setup




and follow the directions. It's very easy.

The first thing we need are the rpms. At this time the newest version of hplip is 9.10. I tried yum first and was surprised to find that it did not have the most recent versions. A little searching though and I found what we need. These are the most recent versions of the rpms we need:

-------------------------------------------------------------------------------

hplip-0.9.10-4.i386.rpm (This is the actual project, it is required)

 

libsane-hpaio-0.9.10-4.i386.rpm (This is to get your PSC's scanner features working with sane, xsane, etc. It is required if you want your scanner to work, and why wouldn't you want that?)

 

hpijs-0.9.10-4.i386.rpm (might not need this one, I didn't, but it is required by some PSC's, check the chart at the hplip site.)

--------------------------------------------------------------------------------

To get them:



Code:
cd ~
wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/hplip-0.9.10-4.i386.rpm          
wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/libsane-hpaio-0.9.10-4.i386.rpm
rpm -ivh hplip-0.9.10-4.i386 libsane-hpaio-0.9.10-4.i386




and optionally



Code:
wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/hpijs-0.9.10-4.i386.rpm
rpm -ivh hpijs-0.9.10-4.i386.rpm




Ok rpms are all installed. Make sure your PSC is plugged in, turned on, and connected to your box(you'd be surprised how often this step fails). Next thing we do is simply a double check:



Code:
vim /etc/hosts




Make sure that in that file you have a line that says:

127.0.0.1 localhost

I didn't and it was a real pain in the ass. It has to have the numeric and the localhost part or it WILL NOT WORK. hpssd simply can't bind without it.

Next check /etc/sane.d/dll.conf for the existence of a single line that says:

hpaio

If it doesn't exist add it. If it's there make sure it's uncommented(no # at the begining of the line). Once that's confirmed it's time to start up services:



Code:
service hplip start




This will attempt to start up the hplip and hpssd daemons. If anything fails or doesn't work check /var/log/messages. This can be tricky with hpssd because even if it fails to startup, it acts like it did. Because of this you might want to:



Code:
ps aux | grep hpssd




just to make sure it's running.

To test out the printer type the following:



Code:
/usr/lib/cups/backend/hp




You should get something like:



Code:
direct hp:/usb/PSC_1500_series?serial=MY61JD11NC0498 "HP PSC_1500_series" "hp:/usb/PSC_1500_series?serial=MY61JD11NC0498" "MFG:HP;MDL:PSC 1500 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:
6543;SN:MY61JD11NC0498;S:038000C480001021002c178005ec2880059;J:                 ;Z:0102,0503cbe9015cc9,0600;"




If it doesn't work, make sure the cups service is running:



Code:
ps aux | grep cups




If its not:



Code:
service cups start




To test out the scanner type the following:



Code:
scanimage -L




You should get something like:



Code:
device `hpaio:/usb/PSC_1500_series?serial=MY61JD11NC0498' is a hp PSC_1500_series multi-function peripheral




That's it you should be all set to use your HP PSC device. Have fun and don't forget to scan your ass and email it to all your friends!

Print this item

  linux-noob.com DOWNTIME !
Posted by: anyweb - 2006-04-15, 12:13 PM - Forum: Site News - Replies (2)


hi guys

 

last night (Friday April 14th 2006) the site experienced a meltdown (the filesystem had a major hiccup)

 

 

Quote:because of the file system problems, and because i used a backup of the site from April 9th 2006, some members posts/details are lost from the last week or so, apologies
i first noticed it when i checked on the site this morning, and instead of the normal website, there was mysql errors, which pointed to 'read_only' .... 

Quote:mySQL query error: SELECT id, member_id, running_time, location FROM ibf_sessions WHERE id='331641a6b33c5cec3bf0d4bc6f9bbaa6' AND browser='Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7' AND ip_address='81.229.174.200' 

SQL error: Incorrect key file for table 'ibf_sessions'; try to repair it

SQL error code:

Date: Saturday 15th of April 2006 09:20:30 AM
 

 

 

i ssh'd in and sure enough there were strange things happening, if i tried to create a file (touch test.txt) it would generate an error, read_only filesystem.

 



Code:
touch: cannot touch `test.txt': Read-only file system




 

 

This was bad, so i immediately ftp'd over the latest backup to the backup server, and rebooted the linux-noob.com box, after hundreds of 'inode errrors' the system finally cam back up, but after some quick testing i could see it was borked, mysql wasnt working and files were missing left right and center

 

luckily i had a backup web server ready (well nearly ready), installed with fcr4. So I compiled apache/mysql and php and then restored the last backup from April 9th

 

so, now the site is running on the backup server, please test it and tell me what is/is not working

 

it'll take a few days to iron out the leaks, and i'll get the other webserver reinstalled.

 

and yes, it's probably the last time i'll use LVM as a file system !! when something goes wrong, the whole system takes a nose dive

 

:(

 

sorry for the downtime !

 

cheers

anyweb

Print this item

  Using the console without booting X
Posted by: gobblox - 2006-04-08, 06:45 PM - Forum: Xorg Problems - Replies (1)


In order to install some drivers for my system i need to run a few commands in the terminal.

 

However the program it boots wont do its thing if X is active.

 

Im running Fedora core 5, and it just boots right into x which takes my user information and loads a desktop.

 

I tried using the commandline in X without booting KDE, but it still wouldnt do it, it wants no X at all.

 

How do i get Fedora to boot a Terminal w/ out booting X? Do i need some command line parameters in my GRUB?

Print this item

  Clueless in Grub
Posted by: gobblox - 2006-04-07, 07:17 PM - Forum: Grub and Lilo - Replies (1)


I Installed Fedora Core 1, and when it asked me what other os's i wanted in the GRUB list at start up.

 

For reasons not completely clear to me, i just put Fedora on there, which boots fine. Now how do i get my windows xp on the list?

Print this item