- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restricted Login
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
05-14-2002 01:06 AM
05-14-2002 01:06 AM
Restricted Login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 01:14 AM
05-14-2002 01:14 AM
Re: Restricted Login
Perhaps change the users group id to a uniq one that can't read anything, but their own files.
HTH,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 01:14 AM
05-14-2002 01:14 AM
Re: Restricted Login
this thread expains all.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x59c9c8ecad09d6118ff40090279cd0f9,00.html
cheers
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 01:16 AM
05-14-2002 01:16 AM
Re: Restricted Login
You need to give the user a restricted shell /usr/bin/rsh
via
useradd -m -s /usr/bin/rsh < user >
It gives
1. A user can't change dirs
2. Can't set env variables
3. Can't execute programs
4 I/O redirection is disabled
Have a look at man useradd for more info
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 01:33 AM
05-14-2002 01:33 AM
Re: Restricted Login
I agree with steven
do use rsh as login shell.
-Niraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 01:47 AM
05-14-2002 01:47 AM
Re: Restricted Login
I dont'agree.
Is impossible to use rsh (or rksh) why this shell disable cd.
In my question i need do use $HOME and BELOW directory $HOME/1 $HOME/pppppdd etc.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 01:51 AM
05-14-2002 01:51 AM
Re: Restricted Login
I'm not sure it can be achieved.
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2002 02:48 AM
05-14-2002 02:48 AM
Re: Restricted Login
Of course your user will still be able to access places like /tmp which allow access to "others".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 07:30 AM
05-15-2002 07:30 AM
Re: Restricted Login
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x42647bb04b5cd611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:13 AM
05-15-2002 08:13 AM
Re: Restricted Login
Bill Hassell, sysadmin