All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralph Blach <chipper19522@gmail.com>
To: selinux@tycho.nsa.gov
Subject: help with a compiled policy and port 443
Date: Mon, 26 Jul 2010 16:48:21 -0400	[thread overview]
Message-ID: <4C4DF495.3000704@gmail.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

good afternoon,
I happen to be a novice at selinux and wish more familiar with it.

This worked before but it does not work now.

I wish to put ssh on port 443

Before I used the commands


semanage port -d -t http_port_t -p tcp 443
semanage port -a -t sshd_port_t -p tcp 443

and these worked perfectly.

Now I get the error

semanage port -d -t http_port_t -p tcp 443
/usr/sbin/semanage: Port tcp/443 is defined in policy, cannot be deleted
[root@chipblach ~]#


How do I get around this and and get semanage to function?


what is a defined policy and how I edit it?

Thanks

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMTfSMAAoJEI46azFTGseheOwP/R8ejDX/ft8ztJAUIPpkV+U1
rNU2LHtRm7h7yIEQpMBBERZs85A9QPPRJSTxilv+YF4a5O9hsEkR2F46Vpo1FWkr
Rxire9jelm0GRbXzm1nU6pQE8vMM0edbJl50iPWN4ju+1fa3gEGYcMLHCMlQYIab
kZWahqk7UuXmuytsjAo8AMq8FOa1ulZZREuB0QLQfOwERHdlwzShMC+kTCOf/O9r
bv62eJyVEdyuqHHKKeZoEnkFQJE8KwisitpOT0/7p90HWDWUkkrr53lGPDNH4ewT
a5c8Wfj5ASOkmkol7M/5zUIH25L1VIuovW0UQd2/37MesfTH+h0Q+7DCoAH3qVYQ
y3tjcB2Umh8aFsBipcsvOy5L6sVocmL4W8bQcXmsLvOV4rbxu5Tg6G941HSEVFoG
tSAdP05tnBSbLGIioY3F+vBsWNU9lIR7yf61FbEuIQSHMUyZdHlMmO8oROxz2zxl
jAl6SvlIY1Gjx5FJSTKG3gD9CW4FFlVtF7/tpmgtLqZz5qPUDtc8tbyJA8gMUSs8
cHlUFM+xGkeQPhwShTYtsgeZUC8zlseUzP4A9fNbVEppylbcb8wCFHvSdu+wj24D
4FJXtpSVit+63jvbA8bDlIzFWd4lXNMb1izsYGW5131O4Hb2lMrSOfSd9ORIycyX
39ZHXFU0jvaSaUObcP2z
=bLwO
-----END PGP SIGNATURE-----


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

             reply	other threads:[~2010-07-27 11:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 20:48 Ralph Blach [this message]
2010-07-27 14:31 ` help with a compiled policy and port 443 David P. Quigley
2010-07-27 16:25   ` Dominick Grift

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C4DF495.3000704@gmail.com \
    --to=chipper19522@gmail.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.