Displaying 2 results from an estimated 2 matches for "unpriv'd".
2008 Aug 05
1
RPM Uninstall
I am wanting to uninstall an rpm off my CentOS 4.6 box. Namely
caching-nameserver. Is there anywhere I can look at the uninstall
script to see what it all does on its way out?
Matt
2003 Jul 30
1
[PATCH] Password expiry merge (AIX parts)
...pnam(pw->pw_name)) != NULL) {
today = time(NULL) / DAY;
debug3("allowed_user: today %d sp_expire %d sp_lstchg %d"
@@ -221,6 +223,65 @@
stat(_PATH_NOLOGIN, &st) == 0))
return 0;
}
+ }
+
+ /*
+ * Check AIX password expiry. Only check when running as root.
+ * Unpriv'ed users can't access /etc/security/passwd or
+ * /etc/security/user so passwdexpired will always fail.
+ */
+ if (geteuid() == 0) {
+ char *msg, *user = pw->pw_name;
+ int result, maxage, result2, maxexpired;
+ struct userpw *upw;
+
+ /*
+ * Check if password has been expired to...