Re: what do the dots mean?

2005-09-05 Thread Stephen Samuel
hould be able to see the second dot for sure, right? But the moment I remove the first dot, the second dot disappears from the output. printf("It's %.24s.\n", ctime(&now)); system ("PAUSE"); -- Stephen Samuel +1(604)876-0426[EMAIL PRO

Re: copy of linux OS

2005-08-07 Thread Stephen Samuel
ecify this path for this copy of kernel in my grub.conf.i have red hat kernel version 2.4.21-4.EL -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel wit

oops Re: Change permissions of files to -xw +r for all other users

2005-07-13 Thread Stephen Samuel
Stephen Samuel wrote: Rhys Hardwick wrote: Hey there, I know this may be a case of RTM, but I am getting confused on it. I want to change the permissions of all the files in my home folder to read only for all users but myself, but to leave directories executable so that they can be opened

Re: Different root passwords

2004-12-13 Thread Stephen Samuel
e password to decrypt it. When you have SSH keys, you can also permit that key to only execute specific commands (which makes life much safer). ( `man sshd` for more info on the authorized_keys file) -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.b

Re: 2 questions: 1. ssh permissions to 777 and 2. recursively change all directories/files to 777

2004-12-13 Thread Stephen Samuel
by others, and only change the permissions on them (I'll leave that as an exercise for the reader). -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel wit

Re: getting a console prog to run on tty2 at bootup

2004-12-13 Thread Stephen Samuel
le on your system). -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel within each person and bringing it to light. - To unsubscribe from this list: sen

Re: mbr dd'd

2004-12-13 Thread Stephen Samuel
get at least some errors), then you can remove the -n to do a real repair attempt. ) -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel within each person and b

Re: Locate Vs Find

2004-12-01 Thread Stephen Samuel
r etc. etc. Most, recent, versions of find can even tar up certain matched files. 'Man find` for nore info on what find is capable of. Ankit Jain wrote: Which is more efficient? /if both perform the same work and are not different then why shoudl we have 2 ? -- Stephen Samuel

Re: framebuffer console problems: not enough video RAM?

2004-10-27 Thread Stephen Samuel
with all kinds of nice colors, fine resolution and little penguin like I usually get when booting with a Knoppix CD. On the kernel: I could provide the config, if that would help. Here's a selection from it that may be relevant: -- Stephen Samuel +1(604)876-0426[EMAIL PROTE

Re: keeping legitimate users out of public_html

2004-09-20 Thread Stephen Samuel
orized"). If assumption (a) is wrong, the general idea I'm suggesting should still work, but you will have to adjust some details, depending on what the userid "bobo" actually is. -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgr

-p option for useradd ( was Re: ssh setup: user 'locked out' daily )

2004-09-07 Thread Stephen Samuel
ser (bad!). This is why I'm still not accepting a commandline password for pwcrypt. somebody might see it and realize what it's likely to be used for. This way it only shows up as a parameter on an echo command (which is usually a shell builtin). This is basically security by obscurity,

Re: How to hide . folders

2004-08-06 Thread Stephen Samuel
search the directory. Any program which knows the name of the file it's looking for will still work fine. I think that this may be close enough to what you want. -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committe

Re: adjusting partitions without a reinstall

2004-04-18 Thread Stephen Samuel
either. The server has two hot swap RAID 1 drives. To add anything else, it will require external storage. Basically I am just looking for a temporary fix until later down the road when I go with more storage. The couple gigs I would be moving into the root partition will suffice for a while.

Re: question on "find"

2004-04-18 Thread Stephen Samuel
of the directories "(Doc - PDF) My Document.pdf" would cause "find *" to display "invalid predicate" . How can I overcome this problem ? Thanks. Thanks Mike and Raju for ur earlier responses. Tony Gogoi - To unsubscribe from this list: send the line "

Re: Remote X

2004-04-15 Thread Stephen Samuel
ajordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching t

Re: Retrieving deleted files

2004-04-10 Thread Stephen Samuel
y wanted to be really fancy, it might be possible to create a bitmap of allocated blocks on the disk, and only search in the unallocated space for your string I'll leave that as an exercise for the reader :-). -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] h

Re: RealPlayer

2004-04-10 Thread Stephen Samuel
peech I am asked to safe a *.ram file like for instance: cat agenda.ram pnm://rmv8.bbc.net.uk/worldservice/interview.ra?title="The Interview" -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful com

Re: start up script

2004-03-09 Thread Stephen Samuel
respond finally. -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching the jewel within each person and bringing it to light. - To unsubscribe from this list: send the li

Re: sending data on a socket followed by a close

2003-08-29 Thread Stephen Samuel
e socket. However, the client sees a TCP RST packet and only receives partial data. What am I doing wrong? I though that the close would actually kill the socket after all the data has been sent Thanks Lee -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED]

Re: su fails

2003-07-16 Thread Stephen Samuel
n enormous >>>leap. >>> >>>>I thought reinstalling shadow had put everything right, but there are >>>>still hiccups. For example, although I can now su again --that is, it >>>>now recognises the password-- if I give the wrong password I still

Re: How can I login with ssh in bash shell ?

2003-06-26 Thread Stephen Samuel
there's a way to use ssh without a password-request: > > On your local machine create a key with "ssh-keygen -t rsa" (use empty > passphrase). After that copy the public part of the key (located in > ~/.ssh/id_rsa.pub) to your remote machine under ~/.ssh/authorized_keys). >

Re: suddenly the "device" identification changed

2003-06-22 Thread Stephen Samuel
e with messages like (The Cdrom Drive at XX has been removed yes?? /// There is a new cdrom drive at Yes??) I'm surprised that mandrake doesn't have something similar. -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen

Re: SCO suit and Linux kernel

2003-06-22 Thread Stephen Samuel
hat SCO's claims > concern only the 2.4.x kernel and later (i.e., the 2.5.x and thus upcoming > 2.6 as well). I just don't quite understand how this represents such a > threat to Linux: Linux already has solid, working kernels in the 2.0.x -- Stephen Samuel +1(604)876-0426

Re: linux appears to be missing calendar program

2003-06-22 Thread Stephen Samuel
out a numeric calendar fr a given month/year cal 8 2003 will print out a calender for this august cal 2004 will print out next year's calender cal 9 1752 will show the month that they cut 10 day out of the calendar to get back in sync with the solar year. -- Stephen Samuel +1(60

Re: RPMs

2003-06-16 Thread Stephen Samuel
Technology Services - Network Security (303) 871-2009 (phone) (303) 871-4135 (fax) [EMAIL PROTECTED] (email) -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication. Transformation touching th

Re: Linux for old PC

2003-06-14 Thread Stephen Samuel
hacks is not so terrible for me. I'm thinking now to run FBSD, but Linux certainly will be preferable. Can no more work with windows... Any experience? -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful com

Re: usleep

2003-06-12 Thread Stephen Samuel
> before the first loop run). Who needs a wristwatch when you're running on unix. time the_command will give you much more accurate timings than you could ever get with a wristwatch. -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.c

Re: usleep

2003-06-12 Thread Stephen Samuel
waits way too long. Replacing the for loop body with a > usleep(100) works great... what am I missing here? > > Thanks > Lee -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication, rea

Re: writing disk image to file

2003-06-10 Thread Stephen Samuel
s and then bit copy the FILES (at the user level) onto the new partition (e.g. with tar), or 2) bit-copy the partition over, and then manipulate the File System data directly to be consistent with the extra available disk space. parted is the tool that I usually use for things l

Re: Sound Lost

2003-06-02 Thread Stephen Samuel
Peter wrote: Hi, I upgraded RH7.3 and the sound is gone. Old kernel-2.4.18-24.7.x.i686; new kernel-2.4.20-13.7.i686 Have you tried running sndconfig again? Have you rebooted since you updated? (I presume so, but I have to ask) -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED

Re: Basic questions on the kernel

2003-05-31 Thread Stephen Samuel
RedHat, that would be the file /etc/sysctl.conf ) -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication, reaching through fear, uncertainty and doubt to touch the jewel within each person and bring it to li

Re: Linux as a router and/or bridge

2003-05-31 Thread Stephen Samuel
a NAT setup, but we can ignore that for now (just presume that our ISP does the NAT work).) -- Stephen Samuel +1(604)876-0426[EMAIL PROTECTED] http://www.bcgreen.com/~samuel/ Powerful committed communication, reaching through fear, uncertainty and doubt to touch