- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user file permissions
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:31 AM
12-18-2003 03:31 AM
user file permissions
Does anyone know of a way to proactively keep users from creating files with open permissions (like 777)? Currently alarming on them - but management is asking if there is way to enforce this by not allowing it in the first place. My initial response was no - but I thought I would let the experts weigh in. I am aware of umask - don't think that completely fixes the problem though...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:34 AM
12-18-2003 03:34 AM
Re: user file permissions
If I were you, instaed of alarming on these situations, I'd run a cron job that just changed them. Only those owned by the users mind!!!
If things start to break, your users will stop doing it fairly quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:36 AM
12-18-2003 03:36 AM
Re: user file permissions
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:37 AM
12-18-2003 03:37 AM
Re: user file permissions
The dafult perms ar edecided by umask setting.
But a knowledable user can always override that setting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:38 AM
12-18-2003 03:38 AM
Re: user file permissions
If you realy want to stop them doing it them run a cron to changew any 777 file they create to 000 and email them the results with a big security warning embedded in the email as to why 777 files are dangerous. They will soon get fed up and stop doing it.
;^)
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:41 AM
12-18-2003 03:41 AM
Re: user file permissions
Cron job =
If file with 777 found
Log them off.
Disable their login
Email them that until they stop doing it this will happen.
I can be nasty at times to users.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:41 AM
12-18-2003 03:41 AM
Re: user file permissions
They should not be able to *create* them with 777 perms as the default umask should be 022. The could only create them with 644 because files can only be granted 666 at creation. They have to be running chmod 777 filename after creation.
This is really a user education issue unless you want to set up a cron job that will hunt 777 files down & chmod them to a sane value.
You could also try setting up the users with a 122 umask effectively taking away their write privilege after creation, but that could inhibit their work.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:42 AM
12-18-2003 03:42 AM
Re: user file permissions
UNIX assumes that the user knows what he is doing -- there is really no answer except education. The good news is that ignorance is treatable; stupidity, on the other hand, ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:44 AM
12-18-2003 03:44 AM
Re: user file permissions
Do you have a script that would set fire to their terminal as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:48 AM
12-18-2003 03:48 AM
Re: user file permissions
Cheers,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 03:58 AM
12-18-2003 03:58 AM
Re: user file permissions
Very funny guys ROTFLMFAO.
Normally I am very tolerant of users, but after being told Donâ t do it several times then it is time for the fun and games.
I once had a users that used to send me daft emails - a spare D class server, a small script and he was sent approx 50 â GO AWAYâ emails / second for 10 mins, Drastic but it worked. (I did prewarn the network guys).