| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 38970 | 2003-10-23 09:32:00 | Linux Mandrake 9.0 | jonduc (4754) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 185937 | 2003-10-23 09:32:00 | Hi, How can I change my Linux System to total user control, to eliminate the hassles of having to change rights on a file just to delete it? I would like to do this without having to reload and set-up the whole system. Thanks Jon | jonduc (4754) | ||
| 185938 | 2003-10-23 10:14:00 | To be honest its not worth it. Usually you dont have rights to remove it because you're supposed to be thinking twice about deleting/changing it. This is the essential reason why you never should Login as root, rather su from the command line and run any apps like that. Files can have permissions changed to 777 (Read, Write, Execute for everybody) by doing: chmod 777 filenamehere or for a folder, say your users folder: chmod -R 777 /home/jonduc But I wouldnt recommend making yourself a "root" user, its just too easy to break things (Speaking from experience). Cheers Chill. |
Chilling_Silently (228) | ||
| 185939 | 2003-10-23 17:49:00 | >Hi, How can I change my Linux System to total user control, to eliminate the hassles of having to change rights on a file just to delete it? I would like to do this without having to reload and set-up the whole system You might as well "root around" |
ilikelinux (1418) | ||
| 185940 | 2003-10-23 17:51:00 | Would that even be possible? I know you can't delete the account your logged in as which prevents you logging in as root and then killing all the accounts and root at the same time. But the problem that appears to me is Linux is built on daemons and generally speaking, each has it's own user to carry out its task and only it's task (eg: if you didn't update something and someone got in your machine through the vulnerability, they're restricted to whatever the daemon can do. However, back to the main task at hand, if you changed each of the daemons to use your account and then set the entire system as read/write/execute for your own account then effectively you have root control and if someone gets into your system, havoc can break out. Also, from memory, some programs don't work at all if the folder they use isn't restricted to root.. So, I suppose the answer to "can I make the entire system read/write/execute to myself" is no unless you use root.. But, what you could do I suppose (assuming you have different users) is assign each user (or yourself) into 2 groups - their own "my group" and a "shared" group then ensure the group has r/w/e privilages on all files made by the others, ensuring that you can r/w/e everything made by others and they (depending on what group setup you chose) can only view their own stuff.. CyberChuck |
cyberchuck (173) | ||
| 185941 | 2003-10-23 21:14:00 | chmod -R 777 / Now that might be intersting... Then again, so would: rm -rf / ;-) |
Chilling_Silently (228) | ||
| 185942 | 2003-10-23 22:36:00 | Thanks, this has given me some ideas to work on | jonduc (4754) | ||
| 185943 | 2003-10-23 22:40:00 | Adding the user as part of the group "sys" might have some influence on what can and cannot be done... See if that helps. | Chilling_Silently (228) | ||
| 185944 | 2003-10-24 00:18:00 | How much of a problem is it? I'd call it a feature. :D In general there are more problems in having it too easy to delete files. The "Are you sure?" "Of course I'm sure, stupid computer" ... "oh, excrement":_| syndrome. How many users? The simplest way would be to put them into a group, then make sure that their directories have "rwe" for that group, and that default protection is the same for any file they create. That's if it's only "you", using different accounts to separate different sorts of work. If the users are in fact different people ... I wouldn't like to be part of that group. I've never had problems with others having read rights to my files. I would never let them have delete rights. It's not that I don't trust people; it's that I know that even I make errors, and I don't believe that others don't. :D |
Graham L (2) | ||
| 1 | |||||