su stopped working! and so was ping
I need help with this anybody. I was experimenting with my Debian box trying to pass some control to my user account by chgrp /bin/* to the "staff" group. After this the "su" would always say
su: Authentication failure Sorry. And ping would tell me: wongdg@dg-debian:~$ ping 202.188.0.133 ping: icmp open socket: Operation not permitted Changing them back to root group didn't help either. There must be ways to set this right. I couldn't find anything relevant on this subject in this site. So, would really appreciate anyone able to contribute. Many thanks, Wilson |
you change try this whether it help:
chmod +s /bin/* good luck, |
If you change ownership, group, permissions, etc. only on the contents, it does not help---since the new attributes are not applied to the containing folder.
Normally you would use the -R option like so: chgrp -R <newgroup> /bin This changes the folder AND everything inside. Look at the permissions, owner, etc. for /bin and for the contents. Here is how mine are set: (Note that everyone has execute privileges) Code:
mherring@1[bin]$ ls -l|grep su |
Thank you
You guys are great! I have got my su and ping working and learned another new lesson. It won't stop me from exploring more of my debian.
Thanks again. |
Quote:
|
All times are GMT -5. The time now is 07:52 AM. |