* How to set swap?
@ 1999-07-26 11:59 ¹Ú½ÂÈ«
1999-07-26 12:25 ` Phil Carmody
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ¹Ú½ÂÈ« @ 1999-07-26 11:59 UTC (permalink / raw)
To: linux-list, axp-list
Hi?
I am Park.
shell>fdisk
Command (m for help): p
Device Boot Start End Blocks Id System
/dev/hda1 * 1 132 1060258+ 83 Linux
/dev/hda2 511 784 2200905 5 Extended
/dev/hda3 251 510 2088450 83 Linux
/dev/hda4 133 250 947835 83 Linux
/dev/hda5 511 765 2048256 83 Linux
/dev/hda6 779 784 48163+ 82 Linux swap
/dev/hda7 766 778 104391 82 Linux swap
--------------------------------------
I trid like below;
root]# swapon /dev/hda7
but met "swapon: warning: /dev/hda7 has insecure permissions
0660, 0600 suggested"
What can i do
take care,
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to set swap?
1999-07-26 11:59 How to set swap? ¹Ú½ÂÈ«
@ 1999-07-26 12:25 ` Phil Carmody
1999-07-26 13:12 ` Xiaozhou Qiu
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Phil Carmody @ 1999-07-26 12:25 UTC (permalink / raw)
To: EXT ¹Ú½ÂÈ«; +Cc: linux-list, axp-list
On Mon, 26 Jul 1999, EXT ¹Ú½ÂÈ« wrote:
> root]# swapon /dev/hda7
> but met "swapon: warning: /dev/hda7 has insecure permissions
> 0660, 0600 suggested"
I guess when it says that /dev/hda7 has insecure permissions, what it
really means is that file /dev/hda7 has insecure access permissions.
How about
root]# chmod 600 /dev/hda7
Grab your nearest Unix textbook, or tutorial, and look up "file
permissions". The man page for chmod may tell you something useful too
(so you can decypher '660' and '600').
Remember ``chmod'', it's as fundamental a command as ls, cp and mv.
Phil
--
Phil Carmody.
Not speaking for or on behalf of Nokia Telecommunications
Contrary to popular belief, Unix is user friendly. It just happens to
be very selective about who its friends are. -- Kyle Hearn
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to set swap?
1999-07-26 11:59 How to set swap? ¹Ú½ÂÈ«
1999-07-26 12:25 ` Phil Carmody
@ 1999-07-26 13:12 ` Xiaozhou Qiu
1999-07-26 20:19 ` Bart Warmerdam
1999-07-28 2:03 ` Peter Petrakis
3 siblings, 0 replies; 5+ messages in thread
From: Xiaozhou Qiu @ 1999-07-26 13:12 UTC (permalink / raw)
To: =?X-UNKNOWN?B?udq9wsir?=; +Cc: linux-list, axp-list
After using swapon, the device file's access permission is changed. The
kernel finds this problem and send out a warning.
Just use chgmod after using swapon, then everything is fine.
sincerely yours
Xiaozhou Qiu
http://www.iol.unh.edu/linux/alpha
Linux Consorsium
Interoperability Lab
University of New Hampshire
Durham, NH 03824
(603)862-1908
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to set swap?
1999-07-26 11:59 How to set swap? ¹Ú½ÂÈ«
1999-07-26 12:25 ` Phil Carmody
1999-07-26 13:12 ` Xiaozhou Qiu
@ 1999-07-26 20:19 ` Bart Warmerdam
1999-07-28 2:03 ` Peter Petrakis
3 siblings, 0 replies; 5+ messages in thread
From: Bart Warmerdam @ 1999-07-26 20:19 UTC (permalink / raw)
To: ¹Ú½ÂÈ«; +Cc: axp-list
On Mon, Jul 26, 1999 at 08:59:11PM +0900, ¹Ú½ÂÈ« wrote:
> Hi?
> root]# swapon /dev/hda7
> but met "swapon: warning: /dev/hda7 has insecure permissions
> 0660, 0600 suggested"
> What can i do
If you have *just* created the partitions you need to do a
'mkswap /dev/hda7' first. Otherwise swapon won't work...
B.
--
B. Warmerdam GNU/Debian Linux
bartw@xs4all.nl, bartw@debian.org (Keyid: 10A0FDD1) ----------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to set swap?
1999-07-26 11:59 How to set swap? ¹Ú½ÂÈ«
` (2 preceding siblings ...)
1999-07-26 20:19 ` Bart Warmerdam
@ 1999-07-28 2:03 ` Peter Petrakis
3 siblings, 0 replies; 5+ messages in thread
From: Peter Petrakis @ 1999-07-28 2:03 UTC (permalink / raw)
To: ¹Ú½ÂÈ«, axp-list@redhat.com
> I trid like below;
> root]# swapon /dev/hda7
> but met "swapon: warning: /dev/hda7 has insecure permissions
> 0660, 0600 suggested"
You installed the "dev" errata rpm didn't you ;-) It messes up all kinds
of permisions in /dev. the solution is the get you RH 6.0 CD and install
the dev rpm from there like so. rpm -Uvh --force "dev".
Peter
--
www.alphalinux.org
Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org
"Oh my God! They killed Xena! You bastards!!"
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-07-28 20:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-26 11:59 How to set swap? ¹Ú½ÂÈ«
1999-07-26 12:25 ` Phil Carmody
1999-07-26 13:12 ` Xiaozhou Qiu
1999-07-26 20:19 ` Bart Warmerdam
1999-07-28 2:03 ` Peter Petrakis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox