Server :: Adding The Expiry Date In Freebsd?

Jun 28, 2011

I have a freebsd server and I want to add the expiry date through the normal user(not through the su).

View 2 Replies


ADVERTISEMENT

Debian :: Adding Freebsd To Grub Bootloader

Feb 21, 2010

Adding freebsd to grub bootloader

[URL]

View 2 Replies View Related

Ubuntu :: Adding Widgets Or At Least The Date To The Top Bar In Unity?

May 8, 2011

In Ubuntu 10.10 one was able to add widgets, such as the full date (not just the time) to the top bar in Gnome. Can you do this in Unity? I like being able to quickly look at the bar and see the date (I'm forgetful) but all that is there is the time. I do miss not having the applications bar where you can look and see just what applications are running and quickly cycle between them. Right now I need to mouse over the dock (and sometimes do a little mouse dance) to open it and then scroll down it to access something that is open and happens to be at the bottom of the list. I felt that having the bar exposed was more efficient, although maybe not as elegant looking.

View 2 Replies View Related

General :: Adding A Files Creation Date To It's File Name?

Sep 17, 2010

I have some basic experiencing creating simple scripts/making directories/changing permissions/etc. but I'm stumped on this one.

I have two linux boxes. I have a script set up on box 'A' to SCP into box 'B', grab a copy of a database backup and store it on box 'A'. It looks like this:

scp root@X.X.X.X:/blah/blah/blah/dump.23.gz /home/blah/DB_Backups/

I have generated a public key on box 'A' and placed it into the authorized_keys file on box 'B', so a password is not required and the file copies over successfully when the script is run. On to my problem...

I need to know what date the 'dump.23.gz' file was originally created when I'm viewing it after it's been copied to box 'A'. If I ls -l on box 'A' it only shows me the date it was created on box 'A' when it was copied.

What would I need to add to my script to append the backup's original creation date on box 'B' to the filename so that when it gets copied to box 'A' I know when the backup was created on box 'B'. I'm sure this is probably confusing. I've done lots of searching and can only find information on how to append the current date and time to a file name. I need to append it's original creation timestamp to the filename when it copies over.

View 10 Replies View Related

SUSE :: Renaming Multiple Files - Adding Date / Time Stamp In Name

Feb 1, 2009

I am trying to rename multiple files in a directory and add the Date/Time stamp to the file name.

Example:
file1.txt
file2.txt
file3.txt

Renamed to
2009_02_01_21.txt
2009_02_02_21.txt
2009_02_03_21.txt

I am able to accomplish this using this command:
mv file1.txt "`date +%Y_%m%d_%H`".txt

But I want to automate this task, I have many files to process and I dont want to do them one by one.

I already tried this but it does not work
mv *.txt "`date +%Y_%m%d_%H`".txt

View 2 Replies View Related

Networking :: Implementing The Spam Filter On Mail Server On FreeBsd?

Feb 8, 2010

I am new comer in this forum and the beginner on freeBsdI have a problem on how to implement the spam filter program on mail server, the problem is i have no idea on how to implement and test the spam filter program on the mail server and where should i put the program? is it in pop3?

View 3 Replies View Related

Ubuntu :: GPG/PGP Keys - Set An Expiry On My Key ?

Mar 25, 2010

I recently generated a GPG key for managing a PPA. While stumbling thought building packages, I realised I had set an expiry on my key. Is setting an expiry dangerous for any services I would use?

View 1 Replies View Related

CentOS 5 :: Password Expiry Notification ?

Jul 31, 2009

I have a small number of CentOS 4 workstations that I am upgrading to CentOS 5 However, I do not appear to be getting notification at login that my password is due to expire. The NIS server running password ageing is running Ubuntu 8.10 and logging in to either a Ubuntu 9.04 or CentOS 4.7 box gives me a visual feedback Warning of expiring password. On the CentOS 5 box it just logs straight in. If, however, I log in to the CentOS 5 box via ssh I do get the expiry message.

View 2 Replies View Related

Programming :: Implement A Timer Expiry Function

Jan 17, 2010

I'm implementing a TCP protocol. TCP implementation requires to send packets continuously and if the receiver doesnt respond after a particular interval of time it should resend the packet again. I need some method to implement a timer expiry function. How can I implement it? Should i implement threads (If yes can you please give a sample)? or is there any better method? I'm implementing it in a Unix system.

View 3 Replies View Related

Ubuntu Multimedia :: Replace Jpg Files Last Modification Date With Timestamp Creation Date?

Sep 22, 2010

I'm looking for a method for modifying some jpg photo files last modification date with the corresponding timestamp creation date of each file.The reason is that shotwell import pictures in folders according to last modification date which is stupid on my opinion.

View 2 Replies View Related

Ubuntu :: Organize Folder With Images By Date Taken Rather Than Date Edited?

Aug 1, 2011

As a photographer I'm constantly taking photos and storing them in folders. Now occasionally I'm using two cameras (either for different settings or an assistant is also taking photos) which means that for one event I can have differently named images.Both cameras have the same time set (which always helps in Windows) but in Ubuntu when trying to sort my folder by date taken I can't.The options I'm given are to sort them: Manually, by Name, by Size, by Type, by Modification date and by Emblem.Now none of those are helpful to me once I've done a few edits to the images.So please if anyone knows, how do you organise a folder with images taken on different cameras by Date Taken rather than Date Edited?

View 3 Replies View Related

General :: Use Date With Touch To Create New File With Date Based Name?

Mar 12, 2010

I am using CRON to create a new, blank file, every minute, in a specific location on my web server. After web searching, and reading man pages, I get the impression that the following command is supposed to work:touch /home/mydomain/var/folder/attachments/`date +%H%M`.txtThis should give me a new file with a file name that is the current hour and minute.However, when executed, the CRON mailer reports:touch /home/mydomain/var/folder/attachments/`date +/bin/sh: -c: line 0: unexpected EOF while looking for matching /bin/sh: -c: line 1: syntax error: unexpected end of fileSo, it looks like shell is seeing the plus (+) sign as an EOFObviously, nothing get created.What would be the easiest, single line command to create an empty file, at a given location, with a time based file name

View 5 Replies View Related

General :: Julian Date Converter To Gregorian Date

Apr 22, 2010

Anyone have a ksh solution to convert julian date to gregorian date?

View 6 Replies View Related

General :: How To Change Server Date

Apr 30, 2011

How to change Linux web server date through SSH?

View 3 Replies View Related

CentOS 5 :: Get File Date On Other Server?

Aug 16, 2011

Is it possible to get the last modified date for one file on a remote server from command line?

View 4 Replies View Related

Debian :: How Do You Multiboot With FreeBSD

Apr 9, 2011

before debian started using grub2 it was very easy to specify a loader from another partition but since grub2 came out it's a lot more complicated, you can no longer edit a text document menu.list, is there an easy way to edit the grub2 boot-loader to boot FreeBSD operating system since it doesn't recognize it from update-grub

View 14 Replies View Related

Server :: Rotating Files That End With A Date Stamp?

Oct 10, 2010

how I should go about rotating files that end with a date stamp. This is the configuration I have to rotate my Apache access files, but it is not working:

/var/log/httpd/access_log.* {
compress
daily
rotate 1
copytruncate
missingok
notifempty
}


The files are created with a date extension like the ones below:

[Code]....

View 6 Replies View Related

CentOS 5 Server :: Sync Time With NTP But NOT The Date Possible?

Apr 11, 2011

I am trying to sync the time on my Centos 5 box, but I do not want to sync the date. All of our servers need to have the clocks synced, but one system needs to have the date set to the previous day.

View 6 Replies View Related

Ubuntu :: Does Apt-get Have Something Similar To Portmaster In FreeBSD?

Feb 26, 2010

Just a quick question as I re-familiarize myself with apt-get again. So far, have had no luck finding what I am trying to do (back to the man page) Basically, after doing a 'apt-get update' command, was it possible to see what packages have newer versions and can be upgraded?

For example, I am working with a system that has BASE 1.4.3 installed, and I know there is a newer version out (1.4.4), but want to make sure that is in the repository. Does apt-get have something similar to portmaster in FreeBSD? Where it tells you what version you have installed, and what version is available to download?

View 1 Replies View Related

Ubuntu :: Install FreeBSD From .iso Using Grub2?

Sep 5, 2010

I want to install FreeBSD (PC-BSD) alongside Ubuntu 10.04 and Windows 7. I do not have a CD or a DVD or a USB key to burn the .iso, so I was thinking instead of using Grub2 to launch it.

I created an empty partition where FreeBSD will be installed (see screnshot below).

Now, where should I locate the .iso file? On my root partition? On my home partition? On the new partition (ZFS formatted)? Does it matter?

How should I set up my Grub2? I was thinking of adding this to /etc/grub.d/40_custom (if the partition where the .iso is located is /Home):

Quote:

menuentry "FreeBSD" {
insmod loopback
insmod iso9660
set isofile="~/iso/PCBSD8.0-x86-DVD.iso"
loopback loop (hd0,1)$isofile
}

Is it correct... and enough info?

View 2 Replies View Related

Ubuntu Installation :: Add FreeBSD To My Laptop ?

Mar 6, 2011

Before I add FreeBSD to my laptop. Right now it's happily dual booting with 10.04 and 7

I used to use this great guide. [url]

Of course because of (the hated) GRUB2 it is now useless.

View 5 Replies View Related

General :: Get It To Kill FreeBSD Install?

Aug 22, 2010

This is a humbling experience for a long time MS admin/tech.I am wanting to build a file server fr my home network. So, I downloaded and installed FreeBSD 8.1 last night.Wanting a more familiar interface, I downloaded and tried to install KDE. It loads and asks for language. Then I select "Install kubuntu".

The kubuntu logo and a progress meter pop up for a while. Eventually the screen goes black and nothing else happens. I have to reboot. If I take the CD out it boots to FreeBSD.Am I missing something? Kubuntu never asks anything regarding partitioning. Is FreeBSD an os like DOS and kubuntu a GUI like Win 3.1 or is kubuntu more like XP with a GUI built in to the os? If it is the latter, how do I get it to kill the FreeBSD install?"Try kubuntu without installing" does the same thing.

View 3 Replies View Related

General :: Booting FreeBSD Iso Grub2?

Jan 20, 2011

wanted to try out FreeBSD but I want to boot it from an ISO. I put my iso file on my first hd 3rd partition in /boot/iso/FreeBSD-8.1-RELEASE-amd64-dvd1.iso. But I can't seem find anything to boot freebsd this way. Is it possible and if so how. This is what I kinda got but its not working.

Code:
menuentry "FreeBSD1" {
insmod loopback

[code]...

View 3 Replies View Related

Software :: Installing Xorg On Freebsd 8.0?

May 3, 2010

i have recently installed freebsd 8.0 after using ubuntu for about a year and a half. I have installed X11 and have tried to configure it as best as i can. when i run startx i just get a black and green screen.i configured the Monitor and Screen section of my xorg.config file as follows

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"

[code]....

View 3 Replies View Related

Software :: Installing MRTG On Freebsd 8.0?

Jun 13, 2011

Its my third week struggling to install mrtg on freebsd 8.0. I will be happy if someone can provide me with a HOW TO documentation on the issue. i would like to monitor my routers(bandwidth utilisation).

View 1 Replies View Related

Fedora :: Make One 14 As Server That Have Date And Time As Normal?

Mar 2, 2011

I want to make one Fedora 14 as server that have Date and Time as normal. Is there any to make other fedora 14 get Date and time from that Fedora 14 server

View 9 Replies View Related

Server :: Adding New User In NIS Server And Client

Apr 27, 2010

I am Amit, working with IGate. I am able to configure NIS server and client,but after configuring server and client,when I add a new user to server and client and when I login througy new user from client, It shows error "user cannot found".I added a new user to NIS server make entry of user to client pc in /etc/auto.master file and restarted the services bind,nfs,autofs,portmap on server also restarted the serveces on client bind,autofs,portmap then alon I cannot login by new user on client matchine. Please tell me what is cause and how to resolve it.I shared server's /home dir and on client pc automounted the server's /home dir by making entries in /etc/auto.misc file on client pc.

View 7 Replies View Related

Server :: Apache Server - Adding Web Pages ?

Oct 14, 2010

I rented a server to run CS 1.6 game servers. I had someone install Apache and configure my server to be able to use control panel for my game servers( i am running 4 gservers and have 5 ips = 1 ip is free). When i type my primary ip in the web browser it displays the Apache test page.

My question is can i add pages to the Apache without messing up anything with the control panel or my game servers. I am familiar with html. My primary ip is used for 1 of th egame servers but i can change that if necessary. And if possible to add pages how to add a site name, sth like [url] instead of entering the primary ip to display the content.

View 4 Replies View Related

Debian :: FreeBSD Destroys Partition Table?

Mar 17, 2010

I had 40 gb of unused space at the beginning of my drive, then a 15gb primary ext3 partition for /, then a 100GB ext4 primary partition for /home, then a 4 gb extended partition that contains two 2 gb swap partitions.

I installed FreeBSD on the empty space at the beginning of the drive. The slice I created did not start on the first block. There were a few MB of free space before and after it.

After the installation finished (with no errors), grub would hang on the "Grub loading/Welcome to Grub screen". I booted a squeeze CD in rescue mode and reinstalled grub to /dev/sda. After rebooting, Grub still hangs at the same place.

I booted a live CD and checked the output of fdisk. For each of my partitions, it says "Partition does not end on cylinder boundary". I am hoping that whatever happened to my disk is not recoverable. Fortunately, I backed up some essential files beforehand, but I still don't really want to lose my old squeeze system.

Right now I am fscking all partitions.

View 4 Replies View Related

Ubuntu :: Configuring Grub2 To Boot Freebsd?

Jan 17, 2011

I'm having trouble configuring grub2 to boot freebsd. I know how to do it in grub, but grub2 is giving me grief.

View 3 Replies View Related







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