[EMAIL PROTECTED]:~# shadowconfig off
Shadow passwords are now off.
[EMAIL PROTECTED]:~# chage tintin
chageĀ : impossible d'ouvrir le fichier des mots de passe [EMAIL PROTECTED]:~# 
echo $?
1


So, chage fails with an errorlevel set to 1 when there are no active
shadow passwords. Isn't that enough for adduser to detect the failure
and behave appropriately?

Or do you mean you'd prefer having a dedicated error level?



-- 



Reply via email to