- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Users permissions
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
10-30-2000 03:17 AM
10-30-2000 03:17 AM
Users permissions
Is it posible someone else (with the same group with me e.x. users) to change (write) my .profile.
Note : The .profile is -rwx------.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 03:30 AM
10-30-2000 03:30 AM
Re: Users permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 03:31 AM
10-30-2000 03:31 AM
Re: Users permissions
Could it be that you have more than one user with the same id number - check /etc/passwd.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 03:52 AM
10-30-2000 03:52 AM
Re: Users permissions
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 05:26 AM
10-30-2000 05:26 AM
Re: Users permissions
The other thing to note is the permissions of the home directory i.e. if you have 777 permisions , other users will be able to cd into your directory and create files .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 06:58 AM
10-30-2000 06:58 AM
Re: Users permissions
what about if the other account had the (admittedly, highly unlikely) write permission on George's home directory?
Wouldn't that allow the other to at least delete (wonder if you can call this a modification) any file?
Or am I wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 07:08 AM
10-30-2000 07:08 AM
Re: Users permissions
Yes, if the permissions on the directory were something like 77x, then another user could delete the profile and recreate it, and then 'chown' the ownership "away" to the directory's owner.
The way to circumvent this is to set the sticky bit on the directory. A better way is not to allow write access on directories that you don't have to do so!!!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 07:44 PM
10-30-2000 07:44 PM
Re: Users permissions
File permissions control the CONTENT.
Directory permissions control the EXISTENCE.
Try this as an ordinary user:
cd /var/tmp
touch testfile
chmod 000 testfile
cat testfile
cat: Cannot open testfile: Permission denied
rm testfile
In fact, anyone can remove testfile because /var/tmp is 777 permissions (must be). As mentioned, the sticky bit can be set which then prevents the removal of a file when you are not the owner.
SO protection of the contents (not writable, perhaps not readable) has nothing to do with the file's existence. The directory permissions totally control add, remove, and rename actions.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2000 10:41 PM
10-30-2000 10:41 PM
Re: Users permissions
Protect it with sticky bit on the directory which allows to have "w" permission on the directory and still only owner the file can delete the file.