- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Restrict user access to limited directories?
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
06-12-2003 10:22 AM
06-12-2003 10:22 AM
If I create a new group, make it the owner of the filesystem and place the user in only in this group, will this be enough. I'm sure they will still be able to access any directory with 775 permissions. Can I keep an audit of all his commands? This user is an experienced UNIX users and will no how to bypass basic security.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 10:27 AM
06-12-2003 10:27 AM
Re: Restrict user access to limited directories?
/home/users/.sh_history
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 10:35 AM
06-12-2003 10:35 AM
Re: Restrict user access to limited directories?
You can use restriced shell. Check this thread for more info.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4b278f960573d611abdb0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6b165fe8b250d71190080090279cd0f9,00.html
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 10:41 AM
06-12-2003 10:41 AM
Re: Restrict user access to limited directories?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 10:42 AM
06-12-2003 10:42 AM
Re: Restrict user access to limited directories?
If you want to safely log user commands, enable accounting (man 1m acct) and use the command
lastcomm
to see what commands the user has executed. The main drawback is that acct does not store command arguments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 10:47 AM
06-12-2003 10:47 AM
Re: Restrict user access to limited directories?
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb62a06350fe2d61190050090279cd0f9,00.html
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 10:48 AM
06-12-2003 10:48 AM
Re: Restrict user access to limited directories?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 10:48 AM
06-12-2003 10:48 AM
Re: Restrict user access to limited directories?
First, a restricted shell will help, but you may not be able to use it. rsh puts a user in home jail, and restricts which commands the user has access too. I.E. No networking commands, no ftp, etc...
The bigger issue is the audition piece of it. Basically, you need a full time baby sitter ;)
There used to be a couple 3rd party programs that would allow you to monitor everything in a tty. Since you could monitor, it's just as easy to dump to file.
MVS and OS/400 allow you to log so much you can tell if a user farts at the terminal. Beyond those 2 though, no operating system has this much logging capability.
So, do a google search and see what you can find for a terminal monitor and logger. From a brief search, I found a $60.00 program at:
http://keystroke-loggers.staticusers.net/unix.shtml
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 11:04 AM
06-12-2003 11:04 AM
Re: Restrict user access to limited directories?
Bills method will also let you address the logging part relatively easily.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 11:11 AM
06-12-2003 11:11 AM
Re: Restrict user access to limited directories?
Check these posts:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x85538b82cc91d711abdc0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf9428b82cc91d711abdc0090277a778c,00.html
Hope they help.
Regards,
Dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 11:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 11:41 AM
06-12-2003 11:41 AM
Re: Restrict user access to limited directories?
Great idea, what I will do is set up Linux on a PC. Mount the NFS share of the filesystem that he will need full access to and voila!!