On Sun, Sep 16, 2001 at 09:32:23PM +0000, Nasirudheen K wrote:
> 
> After entering the login name and password the system  got hung 
> up. In the boot message everything was OK except with the 
> following line
>      
> "Activating swap: swap on: /SWAP has insecure permission 0755; 
> 066 suggested "
> 
> Pleaz let me know your analysis of the problem as early as 
> possible. 
> 

Your swap permissions are incorrect. Swap partitions normally
have a permission of 600,  (at best 660, not  more).  Swap is
turned on and off by the boot/ shutdown sequence by root. 

a) Boot from a rescue floppy (not boot floppy). If you do not
   have a boot floppy tomsrtbt, or alfalinux will do.

b) Do NOT mount the swap partition of the HDD.

c) As root do:

   chmod 600 /dev/hdxN  (where x is a, b etc & N is 1,2 etc)

d) In your /etc/fstab the entry should have nothing beyond:

   /dev/hdxN    swap     swap    defaults   1   2

e) Log out of the emergency boot disk session.

f) Boot into the system through your hard disk as normal, and
   this should work, (do not give an access more than 660).  

Bish.


:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : PGP sign out in mutt                           LOST #026

To sign out outgoing mail with PGP/ GNU-PGP in Mutt, add the
following in  ~/.muttrc:

set pgp_default_version=gpg
set pgp_autosign
set pgp_sign_as=<your key id>
set pgp_timeout=7200

####<[EMAIL PROTECTED]>###################################
:

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to