Unix OS
--
Questions
--
Followers
Top Experts
Does Solaris cron job still fail when password expires?
In solaris 8, I recall when root password expires, root cronjobs
would fail. Does this still happen with Solaris 10?
If so, what's the workaround?
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Thanks very much.
So "passwd -x -1 username" or in Linux, I do "usermod -x -1 username".
Is the chage command applicable in Solaris? I read that we can let password
expire without locking an account in Linux (& truly I don't understand what's tne
purpose of expiring an account without locking it): is this feature available in Solaris?
The exact command as given by the EE thread 27250189 :
chage -I 0 username OR
usermod -f -1 username
I heard from an ex-colleague that AIX UNIX's cron jobs will still run
as usual despite an AIX account's password has expired? Is this
true & is this a workaround just like Linux's "chage -I 0 username" ?
it depends on AIX version and TL release, in new releases there is usermod command






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
excellent
Unix OS
--
Questions
--
Followers
Top Experts
Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.