- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: removing exipre set on a 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
08-12-2008 03:19 AM
08-12-2008 03:19 AM
removing exipre set on a user account
Is there any way to remove the expire set on a account using command line . systems are not trusted system.
OS : hpux 11.23 & 11.11
Bibith Dathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 03:23 AM
08-12-2008 03:23 AM
Re: removing exipre set on a user account
usermod -e '''' user_name.
Kenan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 03:30 AM
08-12-2008 03:30 AM
Re: removing exipre set on a user account
it giving error
server1:/# usermod -e "" bb
Could not interpret date:
server1:/# uname -a
HP-UX ignite1F B.11.11 U 9000/800
Dathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 03:34 AM
08-12-2008 03:34 AM
Re: removing exipre set on a user account
Please read the following, may be helpfull for you.
**************
The UIC valued identifier that is created by AUTHORIZE when creating a new username does not get deleted when a date passes the time specified by /expiration
Example:
OMEGA$ uaf s field
Username: FIELD Owner: FIELD SERVICE
Account: FIELD UIC: [1,10] ([FIELD])
CLI: DCL Tables: DCLTABLES
Default: SYS$SYSDEVICE:[FIELD]
LGICMD: LOGIN
Flags: DisUser
Primary days: Mon Tue Wed Thu Fri
Secondary days: Sat Sun
Primary 000000000011111111112222 Secondary 000000000011111111112222
Day Hours 012345678901234567890123 Day Hours 012345678901234567890123
Network: ##### Full access ###### ##### Full access ######
Batch: ##### Full access ###### ##### Full access ######
Local: ##### Full access ###### ##### Full access ######
Dialup: ----- No access ------ ----- No access ------
Remote: ##### Full access ###### ##### Full access ######
Expiration: 12-JUN-1999 00:00 Pwdminimum: 8 Login Fails: 0
Pwdlifetime: 30 00:00 Pwdchange: 11-JUN-1999 19:43
Last Login: 11-JUN-1999 19:44 (interactive), 14-JAN-1997 16:48 (non-interactive)
Maxjobs: 0 Fillm: 200 Bytlm: 150000
Maxacctjobs: 0 Shrfillm: 0 Pbytlm: 0
Maxdetach: 0 BIOlm: 512 JTquota: 8192
Prclm: 2 DIOlm: 512 WSdef: 150
Prio: 4 ASTlm: 24 WSquo: 1024
Queprio: 0 TQElm: 200 WSextent: 0
CPU: (none) Enqlm: 5000 Pgflquo: 100000
Authorized Privileges:
ALLSPOOL DIAGNOSE GROUP GRPNAM LOG_IO NETMBX
OPER PHY_IO PRMCEB PRMMBX SETPRV TMPMBX
Default Privileges:
ALLSPOOL DIAGNOSE GROUP GRPNAM LOG_IO NETMBX
OPER PHY_IO PRMCEB PRMMBX SETPRV TMPMBX
OMEGA$
This account has expiration set to "12-JUN-1999 00:00" but the identifier FIELD is still there (with value UIC:[1,10])
You may have some third party application that is removing accounts, and when a username is removed, the identifier associated with the UIC is removed as well, unless you specify /NOREMOVE_IDENTIFIER
*******************
Username expiration is unrelated to security identifiers, and simple username expiration does not remove identifiers.
Is this a cluster? Are all required files shared, per (V7.2 and later) SYLOGICALS.TEMPLATE file. Without the proper files shared, all manner of weirdnesses can ensue.
I'd expect a configuration issue of some sort here with the files that need be common in a cluster, or the presence of a local or add-on tool or procedure that deletes expired usernames.
Enable security auditing for authorization database changes, set a short expiration on a test account, wait, and watch the show. If that auditing and the above comments do not identify the source, please post up the command(s) used, the username(s) involved, OpenVMS versions and related relevant details.
**********************
Finally I want to say that what is the issue with not trustuted is not properly defind properly. And you have to make policy to User mangement and how to manage. This all is depend upon many aspects. What you have infrastuctue and working enviornment its depend.
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 03:36 AM
08-12-2008 03:36 AM
Re: removing exipre set on a user account
I think i have done a mistake in explaining my problem .
i need to remove the passwd expire set
(using passwd -x yy user ) on accounts by command line
Bibith Dathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 03:41 AM
08-12-2008 03:41 AM
Re: removing exipre set on a user account
not that quotation marks are not double, four single quotation marks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 03:51 AM
08-12-2008 03:51 AM
Re: removing exipre set on a user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 04:24 AM
08-12-2008 04:24 AM
Re: removing exipre set on a user account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2008 05:16 AM
08-12-2008 05:16 AM
Re: removing exipre set on a user account
Try a man on getconf or modprpw. You can see the setting for that user. Also check the /etc/default/security file if you have one.
#getprpw user_id
sp,