- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: about permission (rws r-x r-x )
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
Discussions
Discussions
Discussions
Forums
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
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
тАО01-27-2005 01:39 AM
тАО01-27-2005 01:39 AM
about permission (rws r-x r-x )
i have hp-ux version 10.20
when i search for a specified files
i found this files with this permissions
***************************************
-rwsr-xr-x 1 delta delta 765364 Jan 27 1999 jeu_red
-rwsr-xr-x 1 delta delta 41194 Nov 20 1998 kermit
-rwsr-xr-x 1 delta delta 358006 Nov 20 1998 la
***************************************
i don't understand what is the meaning of "rws" i didn't saw it before.?
and the second question.
************************
when i try to open this file
i found the it executable.
i need to know is there any way to obtain the content of this file?
it is very important to us.
please help
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 01:45 AM
тАО01-27-2005 01:45 AM
Re: about permission (rws r-x r-x )
The only way to look at a binary executable is with the strings command.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 01:47 AM
тАО01-27-2005 01:47 AM
Re: about permission (rws r-x r-x )
Kermit is a terminal emulator/file transfer program.
If you want to know the contents of these files then several methods are available.
strings filename, nm filename, od filename, vi filename, adb filename
but unless you have a strong programming background little of this will be meaningful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 01:47 AM
тАО01-27-2005 01:47 AM
Re: about permission (rws r-x r-x )
The setuid bit means that whoever runs that command gains the effective access rights of the owner of the file - in this case, the delta ID.
For more details, check out the "chmod" man page.
As the files are compiled binaries, you can't get the full contents of them. The nearest you can get is to run
strings
this will give you all the plain text information in the file (but this is no where near the entire contents).
Alternatively, you can run
what
to get version information (if the file was compiled with that sort of detail).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2005 05:57 AM
тАО01-27-2005 05:57 AM
Re: about permission (rws r-x r-x )
Run these commands to see the contents:
file jeu_red
file kermit
file la
what jeu_red
what kermit
what la
strings jeu_red
strings kermit
strings la
Now if these are executable programs, they contain computer instructions which are not readable so just listing the program is meaningless (and will mess up your terminal settings because of the random binary codes). Similarly, what and strings will just produce character strings that are inside the programs--they may or may not tell you anything about the programs at all.
If these programs are in a user's HOME directory, they may not be appropriate, but you can disable the setuid feature (and should) for the entire HOME directory (and also /cdrom, /stand, /tmp, and /var). There is no reason to ever have setuid programs on these directories.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2005 03:19 AM
тАО01-30-2005 03:19 AM