HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: create user
Operating System - HP-UX
1833044
Members
2771
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-06-2000 11:18 PM
09-06-2000 11:18 PM
create user
Good Day,
1 - I would like to create user with:
user name: eng
passwd: eng
This user should have read/write/execute access on the /stm directory only.
2 - Why when I do restore from tape that was backed up using SAM changes the users permission? for example:
drwxr-xr-x 4 oracle dba 1024 Sep 5 14:33 oracle
after restore changes to
drwxr-xr-x 4 root root 1024 Sep 5 14:33 root
How to avoid this thing?
Help on this.
Thanks,
Augusto
1 - I would like to create user with:
user name: eng
passwd: eng
This user should have read/write/execute access on the /stm directory only.
2 - Why when I do restore from tape that was backed up using SAM changes the users permission? for example:
drwxr-xr-x 4 oracle dba 1024 Sep 5 14:33 oracle
after restore changes to
drwxr-xr-x 4 root root 1024 Sep 5 14:33 root
How to avoid this thing?
Help on this.
Thanks,
Augusto
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 11:29 PM
09-06-2000 11:29 PM
Re: create user
For adding a user, use sam and then ensure that the permissions for the /stm directory allow this user to access it. As for not allowing them anywhere else, you'll need to give them the restricted shell, in which case they can't use the 'cd' command.
As for restoring the tape, it sounds like you typing in frecover manually?
Did you use the correct options? Did the directory exist before you recovered it with different ownerships?
As for restoring the tape, it sounds like you typing in frecover manually?
Did you use the correct options? Did the directory exist before you recovered it with different ownerships?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2000 11:31 PM
09-06-2000 11:31 PM
Re: create user
1. To create the new user simply use the command;
useradd -g eng -d /stm eng
The group eng must already exist in the /etc/group file, if not add it in manually.
I take it /stm will be their home directory ? if not change the -d to say /home/eng
and to set the permissions on /stm for this user do>
chown eng:eng /stm
chmod 700 /stm
But these permissions (700) mean no-one else can access the /stm directory, only eng or superuser.
2. There has already been a question about restoring oracle files and the permissions dont come back correctly, see the following link for answers;
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x8f5e68c57f64d4118fee0090279cd0f9,00.html
Im from Palmerston North, New Zealand, but somehow ended up in London...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP