- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User account restriction
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
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
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-22-2006 03:07 PM
тАО06-22-2006 03:07 PM
User account restriction
Do any experts know how to setup a user account which can restrict the user to use the particular command (eg. ftp, cd)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 04:07 PM
тАО06-22-2006 04:07 PM
Re: User account restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 05:20 PM
тАО06-22-2006 05:20 PM
Re: User account restriction
Any way you can setup an ordinary users , and they cannot acces the root equivallent commands. like ioscan , vgcreate , lvcreate , shutdown etc. Also you can use sudo.
If you use rsh you cannot do 'cd' etc..
You can check This thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1005655&admit=-682735245+1151039976246+28353475
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 07:48 PM
тАО06-22-2006 07:48 PM
Re: User account restriction
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 08:14 PM
тАО06-22-2006 08:14 PM
Re: User account restriction
I suppose your best bet would be a chroot with in it a /usr/bin with the commands your users can use (do a man chroot)...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 09:19 PM
тАО06-22-2006 09:19 PM
Re: User account restriction
First thanks your help, can you explain detatil how to setup chroot user environment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2006 12:55 AM
тАО06-23-2006 12:55 AM
Re: User account restriction
Since we dont know what are your true needs its difficult to answer...
http://www.tjw.org/chroot-login-HOWTO/
http://www.kegel.com/crosstool/current/doc/chroot-login-howto.html
These two docs should help you understand how to create and what is to be done to meet your expectations.
I did one 2 years ago on solaris systems where the goal was to be able to see almost everything as if you were actually on the hosts...
The reason was the whole bunch of stations for conference purpose were connected directly to the internet...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2006 01:06 AM
тАО06-23-2006 01:06 AM
Re: User account restriction
Based on your requirements if you want to restrict cd up towards root, you must chroot the user and provide the binary commands it needs inside the chroot jail.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com