From: chuck gelm net <chuck@gelm.net>
To: linux-newbie@vger.kernel.org
Subject: Re: setgid: Operation not permitted
Date: Mon, 29 Dec 2003 19:40:15 -0500 [thread overview]
Message-ID: <3FF0C96F.21A4DF7A@gelm.net> (raw)
In-Reply-To: 5.1.0.14.1.20031229081228.01f1b6a8@celine
We found it.
Thanks, Ray & caszonyi.
I think I accidentally issued this command
chmod -R 775 *
while in the directory /bin instead of
in the directory /hde3, because 'ls -l su' returned
-rwxrwxr-x root root su on the file server, while I get
-rws--x--x root root su on the web server (kernel-2.2.19).
I then cd'd to /bin and issued
chmod 4711 su
Now 'ls -l su' returns
-rws--x--x root root su
and I can now logon remotely and 'su root'.
:-)
Now, I suppose that I have many files in /bin incorrectly set to
-rwxrwxr-x instead of
-rws--x--x or whatever they should be.
:-|
Regards, Chuck
Ray Olszewski wrote:
>
> At 07:51 AM 12/29/2003 -0500, chuck gelm net wrote:
> >Howdy:
> >
> > I broke something on my file server and now I can no longer
> >'su' (root) remotely. When I try I get this error:
> >
> >setgid: Operation not permitted
> >
> > Often I logged on remotely and issued
> >
> >su
> >cd /hde3
> >chmod -R 775 *
> >chgrp -R users
<snip>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2003-12-30 0:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-27 8:20 C Compiler Peter
2003-12-27 10:18 ` Amin
2003-12-27 11:10 ` John Kelly
2003-12-27 17:46 ` caszonyi
2003-12-28 4:21 ` joy
2003-12-29 12:51 ` setgid: Operation not permitted chuck gelm net
2003-12-29 16:26 ` Ray Olszewski
2003-12-29 18:41 ` chuck gelm net
2003-12-30 18:26 ` Jos Lemmerling
2003-12-30 0:40 ` chuck gelm net [this message]
2003-12-29 20:44 ` caszonyi
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=3FF0C96F.21A4DF7A@gelm.net \
--to=chuck@gelm.net \
--cc=linux-newbie@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox