- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem creating a new user
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
тАО07-15-2002 08:14 AM
тАО07-15-2002 08:14 AM
Problem creating a new user
I have problems creating a new user through SAM.I tried to create three different users but got same result:
1.SAM can create a new user but does not list it in the user list after creating it.But I can see this new user in the/etc/passwd file.
2.When I login as this new user, I would get message "Your password has expired"
"Login aborted due to no new password"
"Wait for login Exit"
Then the window closes automatically.
3.As root, I can su - newuser. But when I type "whoami", I would get "Intruder Alert".
Anyone can figure out why this happened? Thanks for your response.
Yalin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:18 AM
тАО07-15-2002 08:18 AM
Re: Problem creating a new user
did you try to assign a password to the user as root?
passwd user_name
Try to login as new user after this. (I guess you are working on a trusted system)
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:19 AM
тАО07-15-2002 08:19 AM
Re: Problem creating a new user
Look at the permissions on the /etc/passwd file. It should have read permissions for others.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:20 AM
тАО07-15-2002 08:20 AM
Re: Problem creating a new user
Check the permissions on '/etc/passwd'. They should be 644 or at least 444. The same is true for 'etc/group'. The permissions on the '/etc' directory should be 555. Make sure that both situations are correct.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:20 AM
тАО07-15-2002 08:20 AM
Re: Problem creating a new user
You can change the passwword thro
#passwd username
Check the permissions of the /etc/passwd and /etc/group file. These files should be readable by everybody. Or else it will give you an intruder alert message.
Also run pwck ...which checks your password file.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:24 AM
тАО07-15-2002 08:24 AM
Re: Problem creating a new user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:42 AM
тАО07-15-2002 08:42 AM
Re: Problem creating a new user
These are the 2 reasons :
1. Permission for the /etc/passwd file .
2. There are 2 users with differnt names and the same uid.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:42 AM
тАО07-15-2002 08:42 AM
Re: Problem creating a new user
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 08:43 AM
тАО07-15-2002 08:43 AM
Re: Problem creating a new user
/etc/passwd file is 444
/etc/group file is 444
This is a trusted system
I tried to assign a new password for this user.
I got the message "Password cannot be changed. Reason: Cannot access protected password entry."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 09:00 AM
тАО07-15-2002 09:00 AM
Re: Problem creating a new user
is a shadow file created for your new user in which the password is stored on trusted systems instead of /etc/passwd file? You will find it here:
/etc/tcb/auth/first_letter_of_username/username
seems like no shadow files are created on your system.
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 09:02 AM
тАО07-15-2002 09:02 AM
Re: Problem creating a new user
Try this :
Copy /tcb/files/auth/initial/user_name to /tcb/files/auth/initial/newuser and edit the file and correct the entries:
u_name=
u_pswduser=
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 09:29 AM
тАО07-15-2002 09:29 AM
Re: Problem creating a new user
I found the file on this trusted system at the location /tcb/files/auth. Should I remove the file with letter of that user_name and then recreate it?
Yalin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 11:58 AM
тАО07-15-2002 11:58 AM
Re: Problem creating a new user
Yalin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 12:17 PM
тАО07-15-2002 12:17 PM
Re: Problem creating a new user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 12:32 PM
тАО07-15-2002 12:32 PM
Re: Problem creating a new user
If you are still not able to change it then try doing it by sam , or change the system to untrusted system by tsconvert 0-r change it and then change it to trusted system.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 12:46 PM
тАО07-15-2002 12:46 PM
Re: Problem creating a new user
1.
# more /tcb/files/auth/t/tester
tester:u_name=tester:u_id#105: :u_pwd=ZybX.fDQZQ7JM: :u_auditid#22: :u_auditflag#1: :u_succhg#0:u_suclog#1026765245:u_lock@:chkent:
2.
# authck -p
#
3.
# getprdef -m
sh: getprdef: not found.
4.
# getprpw tester
sh: getprpw: not found.
What is the command to change the system back to trusted system.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 12:52 PM
тАО07-15-2002 12:52 PM
Re: Problem creating a new user
As you tried all the options so far, try unconvert/converting the system to trusted.
1. Run /usr/lbin/tsconvert -r
This will restore the password file.
2. Run /usr/lbin/tsconvert
This will convert the system. But this will expire all the passwords of the users. So, following step is very important so that it will un-expire the passwords and your users will not see any difference.
SAM -> Auditing and Security -> System Security Policies -> Password Aging policies -> password aging
Select "disabled" and select OK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 12:54 PM
тАО07-15-2002 12:54 PM
Re: Problem creating a new user
This way it will not cause any inconvenience to the users.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2002 03:38 PM
тАО07-15-2002 03:38 PM
Re: Problem creating a new user
Is tester the real name of the user you
tried to create?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2002 05:41 AM
тАО07-16-2002 05:41 AM
Re: Problem creating a new user
I created a user through command line. I will do a search on the SAM problem which I guess a bug exists.
Yalin