- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: User creation
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
02-20-2003 09:38 PM
02-20-2003 09:38 PM
I would like to create a user who should be able to control all others user's home directories should be able to create/delete/modify contents of the other user's files/directories. How can I accomplish this??. But, that user should not have any special privileges on other directories than /home.
Pl. help.
Thanks
Karthik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 09:43 PM
02-20-2003 09:43 PM
SolutionSUDO is ideal for you. It is easy to setup and install. You can get sudo from HP's porting site.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sudo-1.6.6/
More information including FAQ is available at
http://www.courtesan.com
You will have to manipulate sudoers configuration file to achieve what you need.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 09:46 PM
02-20-2003 09:46 PM
Re: User creation
With this you can give waht commands a user can run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 09:49 PM
02-20-2003 09:49 PM
Re: User creation
then he can delete, add and modify users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 09:50 PM
02-20-2003 09:50 PM
Re: User creation
having a restricted SAM account.
Do a sam -r from root
#sam -r
Give the requied file access permissions to the user you are planning to.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 09:51 PM
02-20-2003 09:51 PM
Re: User creation
sudo is the best suit for this operation as said by Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 11:37 PM
02-20-2003 11:37 PM
Re: User creation
you can't really use a restricted 'sam' as it is captive. You won't be able to modify directory/file conetents from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 11:44 PM
02-20-2003 11:44 PM
Re: User creation
If you have JFS3.3 version then you can use them.
MOst prefer sudo,then that should be the right choice.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 12:23 AM
02-21-2003 12:23 AM
Re: User creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 03:53 AM
02-21-2003 03:53 AM
Re: User creation
Thanks
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 03:59 AM
02-21-2003 03:59 AM
Re: User creation
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 04:19 AM
02-21-2003 04:19 AM
Re: User creation
But even if I create a group with 775 permissions for /home/* if a user creates a file with 077 permission then that group owner cant do anything about it right??. I am more confused now :-(
Pl. help
Thanks
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 04:22 AM
02-21-2003 04:22 AM
Re: User creation
I'm as confused as you now.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:17 AM
02-21-2003 05:17 AM
Re: User creation
I found some workaround for this task. i.e giving a particular user the "su" access to login as other user save root.
Host_Alias SERVERS=host1
suhome SERVERS=/bin/su ?*,!/bin/su root,!/bin/su - root
The user suhome will be able to login as any other user in the system but not as root. But this still may have some security risk. Could anyone suggest me if there are some other ways to do it??
Thanks
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2003 05:27 AM
02-21-2003 05:27 AM
Re: User creation
1. write scripts for every functionality u want to give tot the admin : create dir, rempove dir, ... (no vi plz). Then let him execute the scripts via sudo.
2. use samba : create a service for /home and allow you admin to map it on his windoz. He'll be able to mess around with the files at will. 1 thing : do a "force user=root" (i hope that's a good idea, but at first sight it is).