gordonr or someone else
> sudo /sbin/e-smith/db accounts show
Re the use of
/sbin/e-smith/db accounts
usage:
/sbin/e-smith/db dbfile get key
/sbin/e-smith/db dbfile printtype [key]
/sbin/e-smith/db dbfile gettype key
/sbin/e-smith/db dbfile printprop key [prop1] [prop2] [prop3] ...
/sbin/e-smith/db dbfile getprop key prop
Is there a way to specify this even further, ie
list the user name and the ForwardAddress entry only, perhaps using the "for" statement (I don't know how though) ?
eg
using the command
/sbin/e-smith/db accounts printprop username ForwardAddress
gives
ForwardAddress=joebloggs
Can the command be tailored to show that entry for all users with the username ?
eg
username1
ForwardAddress=joebloggs
username2
ForwardAddress=marybrown
etc etc
Thanks