Server :: Small Script To Check If What The User Entered Is An Ip Or Not

Nov 28, 2010

how to do a small script that checks if what the users entered is an ip address or not? Also possible to do the same but instead of an ip address is a netmask. For example the user entered: 192.168.0.1 so its true this is an ip address, if it doesn't look like an ip address then is false And second example, the user entered: 255.255.255.0 so the script returns true, and if its not a netmask the script returns false.

View 6 Replies


ADVERTISEMENT

Programming :: Check If A String Entered By User Starts With A Particular Pattern Or Not?

Feb 4, 2010

How do i check if a string entered by a user starts with a particular pattern or not?

View 3 Replies View Related

Installation :: Permission Denied \ Opened Konsole, Entered Su And Entered Root Password?

Aug 19, 2010

I'm running PCLinuxOS with no other OS installed. Thought I'd have a go at chainloading. just for interests sake.So, I opened Konsole, entered su and entered my root password. The command line turned red so, I imagined all was well. But when I then keyed in '/boot/grub/.menu.lst' I was refused access.

View 10 Replies View Related

Server :: Check A User Connected From Server Using Internet Or Where He Visited?

Nov 12, 2010

I'm using a linux server where nat server is running. Local user are connected from this server. So is there in tool that i can check that local user getting internet? or how can i check that a user connected from linux server using internet or where he visited?

View 1 Replies View Related

General :: Check Small Chunks Compared To Original File?

Feb 21, 2011

i want to upload my iso collection to adrive(.)comi have a slow upload and i want to split each iso file in chunks of 100 MB so they upload while every browsing session of mine.i figured i should use split and cat commands to do that.but i cant afford to upload some corrupt archives, so how may i go about checking the small chunks to the original file before uploading

View 7 Replies View Related

OpenSUSE Install :: 11.2 - User Information Entered At The Beginning Of The Install Gets Lost

Jan 2, 2010

When trying to install 11.2 from DVD, the user information I entered at the beginning of the install gets lost. I get to the Automatic Configuration step at the end of the install where the computer needs to reboot, and it asks for my user ID and password (it shouldn't do that). It won't accept the user I created (always says login failed), but it will accept root. That really doesn't matter, because the Automatic Configuration step has done anything, and I have a busted install. I've tried the install 4 or 5 times, but it is always the same problem. I eventually reinstalled 11.1 without any problem (though I did have to click Use Entire Disk on the partition section so it would delete the ext4 partitions created by the 11.2 install and create ext3 partitions).

View 3 Replies View Related

Server :: General Authentication - Significant Delay After Pass Entered / PAM_unix

Feb 23, 2010

My first post here. I've been using Ubuntu Server edition (Hardy) happily for some time now. I use sudo regularly during configuration of new services. It always works/authorises within seconds, however, it recently became very slow, to the point of being nearly unusable. It turns out that ANY authentication request stalls in this way - in in a plain shell, X or Gnome, via VNC (and even FTP seems affected). In /var/log/auth.log I noticed a regular working pattern like this:

[Code].....

Unfortunately now, these records look the same, but the timestamps are much wider apart (minutes). The problem occured after running synaptic and dpkg-reconfigure obm-conf. I was trying to remove 'OBM' [URL] completely as I'd messed up (just OBM) while trying to fix a minor-looking misconfiguration.

I've carefully analysed which files were altered (modified) during my changes (as the problem survives a reboot), but there are no likely-looking candidates in the list (I deleted some blank lock files). I also did a wireshark capture during an authentication session and noticed that it doesn't appear to be looking off the server for information (I had likewise-open installed, but the problem exists whether that is running or not). Research in the forums hinted that this might just be as simple as a bad /etc/hosts file - but /etc/hosts has not been modified. I may have a flawed DNS, but I get fast enough responses to nslookup and can access Internet etc.

View 1 Replies View Related

Ubuntu :: Become Root User And A Small With Banshee?

Mar 18, 2011

I am trying to mount an ISO image. but for that i have to use root user. for that I do

Quote:

it prompts me for password and i give the the password i use for "sudo" commands. It denies authentication. so i was wondering how I can find out my root password or maybe it's still default.

second problem, I tweaked with Banshee a little and now it won't show on the upper panel and when I press the close button it Quits instead of running in background and keep playing my songs. Any idea how to correct it. I re-installed it but that did not work.

View 4 Replies View Related

Fedora Networking :: Sharing And Networking - "public" Folder Did Not Become Open Until I Entered The User Password

Jul 28, 2009

I am an old Ubuntu user and have just strted running F11 on my iBook. I always run system-config-samba on all my machines including my server and even on my work server which shares with windows, Linux and OSX and have found it to be perfect. I installed it straight away on the new Fedora system but It doesn't seem to be functioning the way i expected it to.

I installed system-config-samba and then set up one share folder "Public" with open read write privileges and then turned off the Fedora Firewall all together. But "public" did not become open until I entered the user password for the fedora machine. But, then I could see all folders on the Fedora machine. Even root on the fedora machine became write-able on the network. This was not the desired effect at all. I am assuming fedora is using a non system-config-samba file share system that I am unfamiliar with. what is it? and how does it work?

View 1 Replies View Related

Server :: Server Configuration For Small Office Server, Which Smtp, Pop Imap Server And Backup?

Apr 2, 2010

I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.

I have installed Ubuntu 9.10 server x64 and have got apache running.

I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.

View 4 Replies View Related

General :: Check Whether A User Has Login Permissions?

Jul 12, 2010

I want to make sure that the user www-data cannot be used to login on my system (Ubuntu Lucid). How can I find out? - is there a command I can run against this user? (traditionally run by Apache daemon)

View 3 Replies View Related

Ubuntu :: How To Check That User Have Full Permissions

Mar 1, 2010

How can check that I have full permissions on anything should I set my self as root? There are a lot of files it said your not the owner so you can't change but if I'm not the owner then who is?

View 9 Replies View Related

Ubuntu :: Check User Installed Programs?

Jul 8, 2010

How do check the programs that the actual user of the computer installed. I do not care at all about the default programs that came with your distro of Linux, I only want the user installed programs.

View 3 Replies View Related

Ubuntu :: How Can I Check Status Of User Partition

Nov 20, 2010

Ubuntu server, no GUI installed; two partitions: OS and user.How can I check the status of the user partition? E.g. Free space, directory, etc

View 2 Replies View Related

Ubuntu :: Check Last User On File Open?

Jun 22, 2011

I know there's no direct way to do this. But can someone please suggest how I'm able to check the last user that opened a file?eg; vi test.txtThe last user that accessed test.txtI know last access/mod/change time can be displayed.Also lsof won't do anything as the script I'll be writing won't necessarily be running when the user has already closed the file

View 4 Replies View Related

General :: Check When A User Was Created,but Got No Answer?

Jul 14, 2010

tried a lot to get an answer for howo check when a user was created,but got no answer. know the command or how to check when a user was created?

View 14 Replies View Related

Ubuntu Servers :: Small Server Setup Possible?

Jan 5, 2010

i got an old server with a 64mb flash-disk in.this seems to be the boot-disk.would it be possible to get ubuntu server on this?there is also an ide-disk in.in my opinion it should be good to boot of the flash disk and put the /home or /srv on the ide disk.someone any ideas about this?

View 9 Replies View Related

Ubuntu :: Setup A Small Office Server?

Jun 7, 2010

I am about to set up a small office server. I want to know if it is possible to use ubuntu for file and printer sharing on a network with 9 winXP computers and three printers. The printers are all USB Compatible. There are seven winXP pro computers and two XP home.

Would it be possible to use CUPS and SAMBA for this configuration?

View 3 Replies View Related

General :: Print - File Server - Small

Jan 25, 2009

I love the look of FreeNAS, but it does'nt do print server!

Must Have:

Run off a USB Flash Drive
File share with Windows (I want to backup to it)
Be a print server to a laser printer (USB interface)
Be remotely controlled once it is setup(don't have a spare screen and it's going in a spare room/corner BUT I will need to use a GUI for setup)
Free (thats why I won't use Windows)
Run OK on a P3

Preferred:
Power management
Wireless adapter compatible

View 2 Replies View Related

Server :: How Much Bandwidth Goes To Various Computers In Small Network?

Jun 4, 2010

I'm looking for a program that I can use to keep track of how much bandwidth goes to the various computers in my small network.All of the bandwidth goes through my squid server, so the easiest would be to just have a program that can accurately analyze the squid logs and tell me how much bandwidth is going to the different computers.I've tried both "bandwidthd" and "calamaris" I can't figure out how to get either one to actually do anything in Ubuntu.

View 5 Replies View Related

CentOS 5 :: Setting Up Small VPN Server For 20 Members?

Aug 24, 2009

I need to setup a small VPN server for about 20 people. Will a VPS with 192mb ram be enough to handle this? The only services I need to run is those necessary for VPN.

View 2 Replies View Related

General :: Check The User Command History In Unix?

Aug 19, 2010

I know the 'history' command give me a list of the commands I have typed into the Unix terminal.

How do I see the command history for all of the users currently logged onto the system?

View 1 Replies View Related

Ubuntu :: User File System Check When Mounted?

Sep 1, 2011

A non techie friend has helped an even less techie friend by contacting me by email to discuss an ailing laptop. A few emails were exchanged, with more details, and it was not looking good because it seemed that suddenly the CD drive was not responding, nor any USB devices, the wireless icon was gone, but Ubuntu still seemed to work (for now), with wired ethernet also working. I was struggling to think of what could be done, with the favourite routes of Live CD and Live USB apparently gone.

After a few more hours - another email: 'It's now working! After so many reboots it checked disc for errors and repaired itself! Is there some way of doing that when needed anyway?'I see there is 'Disk Utility', and this would presumably fit the bill, but how does it do checks and repair when the damaged file system is being run, and is currently *mounted*? I thought utilities like fsck(?) could only be run on unmounted file systems? Have I misunderstood the disk utility fs check repair function? And anyway, what might be a good answer to my (nontechie) friend's question 'After so many reboots it checked disc for errors and repaired itself! Is there some way of doing that when needed anyway?'

For the record: (quote) It is a toshiba EA60-155 Model number PSA67E-00300C8J. He put in extra ram to install ubuntu. He thinks he may have deleted something! There is a 'trash' file on his USB drive with loads of stuff in it and he doesn't know how or why but because it won't now read the drive on her laptop we cant replace it! (end quote)

View 3 Replies View Related

General :: Check For Large User Mail Boxes?

Jun 14, 2010

I have searched for at least 1h for this to find but I didn't found anywhere how can I do to check for large email mail boxes. I run qmail as mail service

View 5 Replies View Related

General :: How To Check Quota Of A User In UNIX / Linux?

Aug 1, 2011

How to check quota of a user in UNIX/Linux?

View 2 Replies View Related

Debian Configuration :: Setting Up Small Web Server With PHP And SQLite3

Apr 5, 2010

I'm trying to set up a small web server with php and sqlite support. I installed lighttpd, php5, php-sqlite3 and php5-sqlite3. Then, I enabled sqlite and pdo extensions in php.ini:
extension=pdo.so
extension=sqlite.so
extension=pdo_sqlite.so

However, when I try to open a SQLite3 database from php:
$database = new SQLiteDatabase($myDB, 666, $error);
I get the following exception:
SQLiteDatabase::__construct() [sqlitedatabase.--construct]: file is encrypted or is not a database

Some readings in the net make me think that my php settings are not compatible with SQLite3 databases. Is anyone successfully working with SQLite3 databases from PHP5 under Debian? Have you any recommendations? Should I rebuild php maybe?

View 3 Replies View Related

Fedora Servers :: Configure DNS Server For Small Network

Jul 2, 2010

How to configure DNS server for my small network. In Fedora Linux operating system I want to use Linux as a DNS server for my small office. there are files " /etc/hosts" and "/etc/resolv.conf ".

what is the purpose of these files and in which situation we use these files? For configuring a new DNS server. how can i configure my own DNS server for my small office? Any blog or site in which they show steps to configure DNS server.

View 8 Replies View Related

General :: SSD As Primary Or Secondary Drive On A Small Server?

Jun 6, 2010

I'm pensioning off my 10-years-old home server and replacing it with an Ubuntu 10.04 box. The two storage devices are a Western Digital Caviar Green 2.0TB HD and an Intel X25-M 34nm Gen 2 80GB SATA II 2.5inch SSD (the box has 8GB RAM and an i5 750, if it matters).

I don't care much about boot times (since I don't plan to reboot all that often;-); the main frequent, performance-demanding task will be (re)building large open source C or C++ software packages from sources (as an open source contributor, I do that often).

So, I thought I'd keep the SSD as the secondary drive and the HD as the primary one, using the SSD mostly for the files that can otherwise demand a lot of seeking (esp. in a parallel make).

However, the friendly vendor (perhaps more experienced in Windows systems than in Linux ones) thinks the "normal" way to configure the machine would be with the SSD as the primary drive. I'm pretty rusty on configuring and tuning systems, so, I thought I'd better double check on SuperUser.

View 2 Replies View Related

Ubuntu Servers :: Mail Server For 400 Small Domains - Which One To Use?

Sep 1, 2011

I am going to try and replace our crappy Windows/imail server with a new ubuntu 10.04 LTS based machine. It will end up with about 400 domains on it with around 3000 users total. 96% of the domains have very light use. 4% of the domains have heavy use but do not send any bulk mail.

Can someone here recommend a mail server software package that would be easy to administrate and easy to backup/replicate? All we need is POP with webmail. We do not need IMAP or want any group/collaborative functions.

What do you usually use for anti-spam on a linux mail server? We want to keep it all open source if possible.

For hardware we are looking at an HP DL360 G5 with dual Xeons, 4G of ram, and the P400 controller with 6 SAS 15k drives. Do you think a server like this will be able to handle the mail on linux? Volume is around 400k messages a day inbound with about 10% being legit/90% being spam. The server will be dedicated to mail hosting and will not host websites.

View 1 Replies View Related

Networking :: Connecting Box To Small Business Server Shares?

Jan 6, 2009

I want to connect my linux laptop (Mandriva 2008.1 x86_64) to my windows small business server. My issue is that I am not sure what I can and can't do in terms of any windows config changes. Can linux (I assume using Samba) connect normally?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved