- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAM user account
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
12-18-2001 12:37 PM
12-18-2001 12:37 PM
I log on to SAM on "A" server, and clicked on NIS Users to create a new user. I click on Option, and Add, and also create default home directory. Default start up program is /usr/bin/sh, and set the password, and click OK.
The following message appears "One of more changes were made in the Users and Groups area that will result in changes to the NIS maps", and I clicked YES.
Now, when I go to another server "B", and I can log in and move around the operating system without a home directory, and I am able to create a file or something.
Is there any way I can restrict any access to other server except the server "A" where I ran SAM to create this user?
Thanks in advance.
Teck.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 12:42 PM
12-18-2001 12:42 PM
Re: SAM user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 12:52 PM
12-18-2001 12:52 PM
Re: SAM user account
Once you enter the User window in SAM, select "local users" instead of "NIS users". This will create a local user for ur system.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2001 02:16 PM
12-18-2001 02:16 PM
SolutionTry this link,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=c9ceb685031c3cbd5e/screen=ckiDisplayDocument?docId=200000026600846
Alternately you can add a user as local user and not as NIS user. For that the user entry should be available onlt in the /etc/passwd file of that system and not in the password map of NIS.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:25 AM
12-19-2001 07:25 AM
Re: SAM user account
2)I created a test.sh with the work around code:
if [ ! -d $HOME ]
then
echo "Cannot cd to $HOME....exiting"
echo "exit"
fi
but it didn't exit or log out the user.
3)Which .profile should I edit?
Please help.
Thanks.
Teck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:28 AM
12-19-2001 07:28 AM
Re: SAM user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:28 AM
12-19-2001 07:28 AM
Re: SAM user account
U can create local user with 'useradd' command. It will create a local user.
see man useradd
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 07:39 AM
12-19-2001 07:39 AM
Re: SAM user account
This should be done in /etc/profile
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 10:49 AM
12-19-2001 10:49 AM
Re: SAM user account
I have try the work around script, and edited in /etc/profile, and it doesn't not log out users from entering to the server, like the OS level.
Anyone can help?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 03:39 PM
12-20-2001 03:39 PM
Re: SAM user account
echo "exit"
instead of just:
exit
Try putting it in /etc/profile. It should work just fine. I just tested it.
Good luck,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2001 05:13 AM
12-21-2001 05:13 AM
Re: SAM user account
Have a wonderful holiday!