HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- specify authorized login times
Operating System - HP-UX
1834961
Members
1678
Online
110071
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
07-31-2003 12:50 AM
07-31-2003 12:50 AM
specify authorized login times
I want to specify authorized login times for my users, is there a quick way to do this or do I have to do this individually thought SAM?
My system is trusted.
Thanks in advance,
Ian
My system is trusted.
Thanks in advance,
Ian
you only live once
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 01:01 AM
07-31-2003 01:01 AM
Re: specify authorized login times
SAM is the best way to do this. You can set times individually. I am not sure if you can at group level or globally. But setting these globally would stop important people logging in like you .... (I'm not near a system so I can't tell for for sure.)
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 01:57 AM
07-31-2003 01:57 AM
Re: specify authorized login times
Hi Ian,
Michael's right about using SAM, additionally you cannot change login times for all users or by group. The data for the login times is stored in the tcb file for each user - if it were in the default file for all users you'd have a problem with root logging in outside those times!
You could consider using getprpw and modprpw to display and edit these values, ensuring that you use the correct format for them. These commands have man pages only at 11i, and I believe are still considered to be tools for SAM rather than general usage.
root@hpwin109 #/usr/lbin/getprpw -m timeod testuser
timeod=Wk0900-1700
root@hpwin109 #/usr/lbin/getprpw -m timeod testuser2
timeod=-1
regards,
Darren
Michael's right about using SAM, additionally you cannot change login times for all users or by group. The data for the login times is stored in the tcb file for each user - if it were in the default file for all users you'd have a problem with root logging in outside those times!
You could consider using getprpw and modprpw to display and edit these values, ensuring that you use the correct format for them. These commands have man pages only at 11i, and I believe are still considered to be tools for SAM rather than general usage.
root@hpwin109 #/usr/lbin/getprpw -m timeod testuser
timeod=Wk0900-1700
root@hpwin109 #/usr/lbin/getprpw -m timeod testuser2
timeod=-1
regards,
Darren
Calm down. It's only ones and zeros...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 03:23 AM
07-31-2003 03:23 AM
Re: specify authorized login times
Note that login time restrictions are only available in a Trusted system. For standard HP-UX system, you would have to use /etc/profile to control access.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
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