RE: [opensuse] su password problem {solved}
... although I see that the permissions are
incorrect;
-rwxr-xr-x 1 root root 23296 Jan 31 2006 /bin/su
How do I change it back to;
-rwsr-xr-x 1 root root 23296 Jan 31 2006 /bin/su
Off the top of my head, I'd say:
chmod 4755 /bin/su ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
That sorted out that little problem.
Thank you,
Till next time. Q: How did it get that way in the first place? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I want to limit the users who can use su when logging in via ssh. After changing the group ownership to group 'wheel' and adding the appropriate users to the wheel group, I noticed the rw permissions changed on /bin/su. Unfortunately, my tests show that even with certain users in the wheel group, anyone can su to root. (Please, I know all about who should and should not get the root password. In a small company exec's don't always follow best practices. This is my way to fix that.) I do want to restrict who can su to root. Using the 'wheel' group, how can this be accomplished? Many thanks. ~James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, Jun 16, 2008 at 12:28 PM, James D. Parra <Jamesp@musicreports.com> wrote:
... although I see that the permissions are
incorrect;
-rwxr-xr-x 1 root root 23296 Jan 31 2006 /bin/su
How do I change it back to;
-rwsr-xr-x 1 root root 23296 Jan 31 2006 /bin/su
Off the top of my head, I'd say:
chmod 4755 /bin/su ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
That sorted out that little problem.
Thank you,
Till next time.
Q: How did it get that way in the first place? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I want to limit the users who can use su when logging in via ssh. After changing the group ownership to group 'wheel' and adding the appropriate users to the wheel group, I noticed the rw permissions changed on /bin/su.
Unfortunately, my tests show that even with certain users in the wheel group, anyone can su to root. (Please, I know all about who should and should not get the root password. In a small company exec's don't always follow best practices. This is my way to fix that.)
I do want to restrict who can su to root. Using the 'wheel' group, how can this be accomplished?
Many thanks.
~James --
Make the file owned by root, group of Wheel and set permissions accordingly. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2008-06-16 at 12:28 -0700, James D. Parra wrote:
... although I see that the permissions are
incorrect;
-rwxr-xr-x 1 root root 23296 Jan 31 2006 /bin/su
How do I change it back to;
-rwsr-xr-x 1 root root 23296 Jan 31 2006 /bin/su
Off the top of my head, I'd say:
chmod 4755 /bin/su ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
That sorted out that little problem.
Thank you,
Till next time.
Q: How did it get that way in the first place? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I want to limit the users who can use su when logging in via ssh. After changing the group ownership to group 'wheel' and adding the appropriate users to the wheel group, I noticed the rw permissions changed on /bin/su.
Unfortunately, my tests show that even with certain users in the wheel group, anyone can su to root. (Please, I know all about who should and should not get the root password. In a small company exec's don't always follow best practices. This is my way to fix that.)
I do want to restrict who can su to root. Using the 'wheel' group, how can this be accomplished?
chown? chown root:wheel /bin/su? as root.
Many thanks.
~James
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
James D. Parra
-
John Andersen
-
Mike McMullin