- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Users requesting access to ID www or group other f...
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
тАО09-14-2004 08:36 AM
тАО09-14-2004 08:36 AM
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2004 08:49 AM
тАО09-14-2004 08:49 AM
Re: Users requesting access to ID www or group other for Tomcat
A user can su to other accounts only if the user knows the password for the account.
If I understand your question correctly, as long as the user has the password for only user "www", the user cannot su to any other account.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2004 08:51 AM
тАО09-14-2004 08:51 AM
Re: Users requesting access to ID www or group other for Tomcat
Never allow a generic/appication id to login directly.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2004 08:54 AM
тАО09-14-2004 08:54 AM
Re: Users requesting access to ID www or group other for Tomcat
If faced with this request I would find out what the customization they want to do is, exactly what it was and see if systems adminitration could do it.
I don't think the profile on user www is set up to allow for interactive use. Check the shell in /etc/passwd .
I'd think you need to create a special user for this with the normal shell and make it part of group other.
I would not want to do this as su - www.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2004 09:10 AM
тАО09-14-2004 09:10 AM
SolutionThis is a classic example of the need for and best use of sudo.
Find out the exact commands they need to run - full path - full syntax & configure sudo to run those commands *only*. You can give them either www user or other group permissions. But *all* they'll be able to run is those commands listed in the sudoers file.
If you don't have it you can get it here:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.7p5/
And if even that makes you nervous - you can just remove the ability when they're done be removing the config from the sudoers file.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2004 10:50 AM
тАО09-14-2004 10:50 AM
Re: Users requesting access to ID www or group other for Tomcat
If the users are going to be editing files using some kind of a editor (say vi), it would be impractical to list all the files they are going to edit in the allowed list of SUDO commands.