View previous topic :: View next topic |
Author |
Message |
edge87 n00b
Joined: 10 Aug 2005 Posts: 36 Location: Wisconsin
|
Posted: Mon Nov 26, 2007 10:02 pm Post subject: Chown 'd too much |
|
|
I recently gave an account to a friend who works with ruby on rails, and i kinda wanted to lock it so that he could only view things in his folder so i went around the whole system removing the groups from a lot of stuff. And now i realize that was a poor mistake. As i can't use the su feature any more from a user, and idk if its related but vmware tells me my root password is wrong, when i know it isn't because im logged in via ssh as root already. I'm not sure how much damage I've done but a starting point would be much appreciated. Thanks _________________ When it doubt, fdisk it. |
|
Back to top |
|
|
jexxie Tux's lil' helper
Joined: 12 Oct 2007 Posts: 82 Location: Vancouver, BC
|
Posted: Mon Nov 26, 2007 10:04 pm Post subject: |
|
|
The easiest method would be:
_________________ Rambling sysadmin
My personal site and blog: Phil Dufault |
|
Back to top |
|
|
Dagger Retired Dev
Joined: 11 Jun 2003 Posts: 765 Location: UK
|
Posted: Mon Nov 26, 2007 10:26 pm Post subject: |
|
|
if you want to restrict him just to his home dir, chroot'ed ssh access would suffice. _________________ 95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license. |
|
Back to top |
|
|
|