Click to See Complete Forum and Search --> : 1 question now


seeker22
08-27-2001, 01:28 PM
Ok one of them is.. What is the chmod command to sudo a file? I think it's +s and something else I don't remember.. I had a how to for this but I can't find it anymore since I hosed my system

and also my other question is.. when linux get's hosed and it forces you to manaully fsck what's the mount command to mount the partition in read write mode?

Thanks for your help :)

[ 28 August 2001: Message edited by: seeker22 ]

seeker22
08-27-2001, 01:56 PM
Err make that 3 :)

After connecting to the internet via wvdial how do I disconnect?
and by the way i'm using RedHat 7.1

sym
08-27-2001, 03:57 PM
Originally posted by seeker22:
<STRONG>

After connecting to the internet via wvdial how do I disconnect?
</STRONG>

in the terminal window, hit ctrl+C

seeker22
08-27-2001, 04:29 PM
Yeah, but is there any other way to do it? I know there is. Cause I normally close the term window cause it's just sitting there so I do wvdial & or if im a x-front end for wvdial and it crashes then im stuck with the same thing.. So that's why I was wondering if there was a command to shut it off. So I can make a disconnect button or something like that.

seeker22
08-28-2001, 12:31 AM
Ok I figured out 1 and 3 on my own and wrote some scripts for the wvdial thing. so now my only question is this..

when linux get's hosed and it forces you to manaully fsck what's the mount command to mount the partition in read write mode?

Does anyone know this? This is really important to me cause I ended up reinstalling once because I didn't know this so I could manualy fsck it.

Thanks in advance.

[ 28 August 2001: Message edited by: seeker22 ]

Linuxcool
08-28-2001, 12:41 AM
If the partition isn't mounted use mount -t ext2 /dev/hdxy /your/mount/point. Replace ' xy ' with the correct partition info.

If it's already mounted as read-only, use mount -n -o remount,rw /. If you're trying to remount the root partition as read/write.

[ 28 August 2001: Message edited by: Linuxcool ]

seeker22
08-28-2001, 01:31 AM
ahhh thankyou! that's what it is
mount -n -o remount,rw /

when I had debian installed when it did that it told me to type that and that's where I first seen it. But nooo redhat doesn't tell you to do anything but fsck it. and I couldn't do that so I reinstalled!

but anyway thanks alot!

[ 28 August 2001: Message edited by: seeker22 ]

Linuxcool
08-28-2001, 02:44 AM
You're welcome.